summaryrefslogtreecommitdiff
path: root/monsters.xml
blob: ff8830d4b3e352d2fa370dd1c0cc3b58f203d5d7 (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/piou-die-1.ogg</sound>
        <sound event="hit">monsters/piou/piou-hit-1.ogg</sound>
        <sound event="hurt">monsters/piou/piou-hurt-1.ogg</sound>
        <sound event="hurt">monsters/piou/piou-hurt-2.ogg</sound>
        <sound event="miss">monsters/piou/piou-miss-1.ogg</sound>
        <sound event="spawn">monsters/piou/piou-spawn-1.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/piou-die-1.ogg</sound>
        <sound event="hit">monsters/piou/piou-hit-1.ogg</sound>
        <sound event="hurt">monsters/piou/piou-hurt-1.ogg</sound>
        <sound event="hurt">monsters/piou/piou-hurt-2.ogg</sound>
        <sound event="miss">monsters/piou/piou-miss-1.ogg</sound>
        <sound event="spawn">monsters/piou/piou-spawn-1.ogg</sound>
    </monster>
    <monster id="2" name="Tortugas" targetCursor="small" walkType="walkswim">
        <sound event="die">monsters/tortugas/tortugas-die1.ogg</sound> 
        <sound event="hit">monsters/tortugas/tortugas-hit1.ogg</sound>
        <sound event="hit">monsters/tortugas/tortugas-hit2.ogg</sound>
        <sound event="hurt">monsters/tortugas/tortugas-hurt1.ogg</sound>
        <sound event="miss">monsters/tortugas/tortugas-miss1.ogg</sound>
        <sound event="spawn">monsters/tortugas/tortugas-spawn1.ogg</sound>
        <sprite>monsters/turtle.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/ratto-die1.ogg</sound>
        <sound event="hit">monsters/ratto/ratto-hit1.ogg</sound>
        <sound event="hit">monsters/ratto/ratto-hit2.ogg</sound>
        <sound event="hit">monsters/ratto/ratto-hurt1.ogg</sound>
        <sound event="hit">monsters/ratto/ratto-spawn1.ogg</sound>
    </monster>
    <monster id="4" name="Croc" targetCursor="small" walkType="walk">
        <sound event="hit">monsters/croc/croc-hit1.ogg</sound>
        <sound event="hit">monsters/croc/croc-hit2.ogg</sound>
        <sound event="hurt">monsters/croc/croc-hurt1.ogg</sound>
        <sound event="hurt">monsters/croc/croc-hurt2.ogg</sound>
        <sound event="hurt">monsters/croc/croc-hurt3.ogg</sound>
        <sound event="miss">monsters/croc/croc-miss1.ogg</sound>
        <sound event="spawn">monsters/croc/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/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/coconut-hurt1.ogg</sound>
        <sound event="die">monsters/coconut/coconut-die1.ogg</sound> 
    </monster>
</monsters>