summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml/flag-small-l.xml
blob: 20326f1c566ba4a0fcb18c94b17899bbc14ee85d (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
<?xml version="1.0" encoding="utf-8"?>
<!-- Author: Micksha
Copyright (C) 2019 Evol Online -->

<sprite>
    <imageset name="npc"
              src="graphics/sprites/npcs/sprite/flag-small.png"
              width="32"
              height="64"/>
    <action name="stand" imageset="npc">    
        <animation direction="default">
            <label name="start"/>
            <goto label="static" rand="80"/>
            <goto label="semistatic" rand="50"/>
            <goto label="blowup" rand="100"/>
            <!-- go from static to blowing -->
            <label name="blowup"/>
                <sequence start="0" end="11" delay="150"/>
            <goto label="blowing"/>
            <!-- blowing -->
            <label name="blowing"/>
                <sequence start="6" end="11" delay="150" repeat="10"/>
            <goto label="blowdown" rand="10"/>
            <goto label="blowing-strong" rand="40"/>
            <!-- blowing strong-->
            <label name="blowing-strong"/>
                <sequence start="6" end="11" delay="90" repeat="10"/>
            <goto label="blowing" rand="75"/>
            <!-- go from blowing to blowdown -->
            <label name="blowdown"/>
                <frame index="5" delay="150"/>
                <frame index="4" delay="150"/>
                <frame index="3" delay="150"/>
                <frame index="0" delay="500"/>
            <goto label="static" rand="95"/>
            <goto label="blowup" rand="100"/>
            <!-- Static Animation - flag semi-start blowing-->
            <label name="semistatic"/>
                <frame index="0" delay="1500"/>
                <frame index="1" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="3" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="1" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="3" delay="150"/>
                <frame index="4" delay="150"/>
                <frame index="3" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="1" delay="150"/>
            <goto label="blowup" rand="50"/>
            <goto label="static" rand="10"/>
            <goto label="start" rand="50"/>
            <!-- Static Animation - flag hanging-->
            <label name="static"/>
                <frame index="0" delay="2500"/>
                <frame index="1" delay="150"/>
                <frame index="2" delay="150"/>
                <frame index="1" delay="150"/>
            <goto label="blowup" rand="20"/>
            <goto label="semistatic" rand="50"/>
            <goto label="start" rand="50"/>
        </animation>
    </action>
</sprite>