summaryrefslogtreecommitdiff
path: root/monsters.xml
blob: 3be9b9b788853c3ed72f5f103a9730c25a27d565 (plain) (blame)
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
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2010-2011  Evol Online
Author : Reid

monsters.xml parameters explanation:

<monsters>					Parent of the monster strings. 
	<monster>				Monster tag, every new tag contain some specific attribute of the monster, here the list of them :
		id=""					ID of the monster, it's different for every monsters, it starts from 0.
		name=""     		Name of the monster which will be displayed in game, it's 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 show the path to the xml of the monster.
	<sound>					Sound tag, contain an event which display the sound effects for the corresponding action, here the list of them :
 		event=""				Link the sfx to an action, like die, hit, hurt, miss, move and spawn.
</monsters>					Close monster configuration.

exemple :
    <monster id="0" name="Reid" targetCursor="big" 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="hit">monsters/ratto/die1.ogg</sound>
        <sound event="hit">monsters/ratto/hit1.ogg</sound>
        <sound event="hit">monsters/ratto/hit2.ogg</sound>
        <sound event="hit">monsters/ratto/hurt1.ogg</sound>
        <sound event="hit">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/coconut.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="Coco Tree" targetCursor="large">
        <sprite>monsters/coconut.xml</sprite>
        <sound event="hurt">monsters/coconut/hurt1.ogg</sound>
        <sound event="die">monsters/coconut/die1.ogg</sound> 
    </monster>
</monsters>