summaryrefslogtreecommitdiff
path: root/graphics/sprites/npcs/xml/flag-small-r.xml
blob: 15a5f7ee22fe23f27b76310c30727c9099385899 (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="12" end="23" delay="150"/>
            <goto label="blowing"/>
            <!-- blowing -->
            <label name="blowing"/>
                <sequence start="18" end="23" delay="150" repeat="10"/>
            <goto label="blowdown" rand="10"/>
            <goto label="blowing-strong" rand="40"/>
            <!-- blowing strong-->
            <label name="blowing-strong"/>
                <sequence start="18" end="23" delay="90" repeat="10"/>
            <goto label="blowing" rand="75"/>
            <!-- go from blowing to blowdown -->
            <label name="blowdown"/>
                <frame index="17" delay="150"/>
                <frame index="16" delay="150"/>
                <frame index="15" delay="150"/>
                <frame index="14" delay="500"/>
            <goto label="static" rand="95"/>
            <goto label="blowup" rand="100"/>
            <!-- Static Animation - flag semi-start blowing-->
            <label name="semistatic"/>
                <frame index="12" delay="1500"/>
                <frame index="13" delay="150"/>
                <frame index="14" delay="150"/>
                <frame index="15" delay="150"/>
                <frame index="14" delay="150"/>
                <frame index="13" delay="150"/>
                <frame index="14" delay="150"/>
                <frame index="15" delay="150"/>
                <frame index="16" delay="150"/>
                <frame index="15" delay="150"/>
                <frame index="14" delay="150"/>
                <frame index="13" 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="12" delay="2500"/>
                <frame index="13" delay="150"/>
                <frame index="14" delay="150"/>
                <frame index="13" delay="150"/>
            <goto label="blowup" rand="20"/>
            <goto label="semistatic" rand="50"/>
            <goto label="start" rand="50"/>
        </animation>
    </action>
</sprite>