1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
<?xml version="1.0" encoding="utf-8"?>
<!-- Author: Reid
Copyright (C) 2010-2012 Evol Online -->
<!--
monsters.xml parameters explanation:
<monsters> Parent of the monster strings.
<monster> Monster tag. Every new tag contain some specific attribute of the monster. The following paramaters is a list of them:
id="" ID of the monster. It is different for each monster and starts from 0.
name="" Name of the monster which will be displayed in game, it is also used by the server.
targetCursor="" Cursor size used by the client, different size are: small, medium and large.
walkType="" The walk type is used to manage which monster can fly over collision tiles or swim under the sea, or fly over it. Different walktype are: walk, walkswim and fly. By default, walk option is used and if the monster is static, this tag can be removed.
<sprite> This tag shows the path to the xml of the monster.
<sound> Sound tag. Contains an event which displays the sound effects to the corresponding action. The next paramaters lists them:
event="" Links the sfx to an action, like die, hit, hurt, miss, move or spawn.
Example:
<monster id="0" name="Reid" targetCursor="large" walkType="fly">
<sprite>monsters/reid.xml</sprite>
<sound event="die">monsters/reid/reid-die-1.ogg</sound>
</monster>
-->
<monsters>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:translateRule selector="//monster/@name" translate="yes"/>
<its:translateRule selector="//*" translate="no"/>
</its:rules>
<monster id="0" name="Piou" targetCursor="small" walkType="walk">
<sprite>monsters/piou.xml</sprite>
<sound event="die">monsters/piou/die1.ogg</sound>
<sound event="hit">monsters/piou/hit1.ogg</sound>
<sound event="hurt">monsters/piou/hurt1.ogg</sound>
<sound event="hurt">monsters/piou/hurt2.ogg</sound>
<sound event="miss">monsters/piou/miss1.ogg</sound>
<sound event="spawn">monsters/piou/spawn1.ogg</sound>
</monster>
<monster id="1" name="Piousse" targetCursor="small" walkType="walk">
<sprite>monsters/piou.xml</sprite>
<sprite>accessories/piousse-egg.xml</sprite>
<sound event="die">monsters/piou/die1.ogg</sound>
<sound event="hit">monsters/piou/hit1.ogg</sound>
<sound event="hurt">monsters/piou/hurt1.ogg</sound>
<sound event="hurt">monsters/piou/hurt2.ogg</sound>
<sound event="miss">monsters/piou/miss1.ogg</sound>
<sound event="spawn">monsters/piou/spawn1.ogg</sound>
</monster>
<monster id="2" name="Tortuga" targetCursor="small" walkType="walkswim">
<sound event="die">monsters/tortuga/die1.ogg</sound>
<sound event="hit">monsters/tortuga/hit1.ogg</sound>
<sound event="hit">monsters/tortuga/hit2.ogg</sound>
<sound event="hurt">monsters/tortuga/hurt1.ogg</sound>
<sound event="miss">monsters/tortuga/miss1.ogg</sound>
<sound event="spawn">monsters/tortuga/spawn1.ogg</sound>
<sprite>monsters/tortuga.xml</sprite>
</monster>
<monster id="3" name="Ratto" targetCursor="small" walkType="walk">
<sprite>monsters/ratto.xml</sprite>
<sprite>accessories/ratto-tail.xml</sprite>
<sound event="die">monsters/ratto/die1.ogg</sound>
<sound event="hit">monsters/ratto/hit1.ogg</sound>
<sound event="hit">monsters/ratto/hit2.ogg</sound>
<sound event="hurt">monsters/ratto/hurt1.ogg</sound>
<sound event="spawn">monsters/ratto/spawn1.ogg</sound>
</monster>
<monster id="4" name="Croc" targetCursor="small" walkType="walk">
<sound event="hit">monsters/croc/hit1.ogg</sound>
<sound event="hit">monsters/croc/hit2.ogg</sound>
<sound event="hurt">monsters/croc/hurt1.ogg</sound>
<sound event="hurt">monsters/croc/hurt2.ogg</sound>
<sound event="hurt">monsters/croc/hurt3.ogg</sound>
<sound event="miss">monsters/croc/miss1.ogg</sound>
<sound event="spawn">monsters/croc/spawn1.ogg</sound>
<sprite>monsters/croc.xml</sprite>
</monster>
<monster id="5" name="Little Blub" targetCursor="small" walkType="walkswim">
<sprite>monsters/blub-little.xml</sprite>
<sprite>accessories/littleblub-tentacle.xml</sprite>
<sound event="hit">monsters/blub/hit1.ogg</sound>
</monster>
<!--<monster id="6" name="Blub" targetCursor="medium" walkType="walkswim">
<sprite>monsters/blub.xml</sprite>
<sprite>accessories/blub-tentacle.xml</sprite>
</monster>
<monster id="7" name="Top Blub" targetCursor="medium" walkType="walkswim">
<sprite>monsters/blub.xml</sprite>
<sprite>accessories/blub-tentacle.xml</sprite>
<sprite>accessories/blub-tophat.xml</sprite>
</monster>-->
<monster id="8" name="Croco Tree" targetCursor="large">
<sprite>monsters/croconut.xml</sprite>
<sound event="die">monsters/croconut/die1.ogg</sound>
<sound event="hurt">monsters/croconut/hurt1.ogg</sound>
<sound event="hurt">monsters/croconut/hurt2.ogg</sound>
<sound event="hurt">monsters/croconut/hurt3.ogg</sound>
</monster>
<monster id="9" name="Plushroom Field" targetCursor="large" sortOffsetY="31">
<sprite>monsters/plushroom.xml</sprite>
<sound event="spawn">monsters/plushroom/spawn1.ogg</sound>
<sound event="die">monsters/plushroom/die1.ogg</sound>
</monster>
</monsters>
|