Difference between revisions of "Campaign/Forgotten Legacy/Saurian Warrior"

From The Battle for Wesnoth Wiki
 
(Updated unit with recent changes)
Line 1: Line 1:
 
<pre>
 
<pre>
 +
#textdomain wesnoth-Forgotten_Legacy
 +
 
[unit]
 
[unit]
id=Saurian Warrior alt
+
 
name= _ "Saurian Warrior"
+
    id=Saurian Warrior alt
race=lizard
+
 
image="Saurian_Warrior/saurian-warrior.png"
+
    name= _ "Saurian Warrior"
image_defensive="Saurian_Warrior/saurian-warrior-defend.png"
+
 
profile=portraits/saurian-ambusher.png
+
    race=lizard
hitpoints=32
+
 
movement_type=lizard
+
    image="units/saurians/ambusher.png"
movement=7
+
 
experience=60
+
    profile=portraits/saurian-ambusher.png
level=2
+
 
alignment=chaotic
+
    hitpoints=32
advanceto=Saurian Stalker
+
 
undead_variation=saurian
+
    movement_type=lizard
cost=28
+
 
usage=scout
+
    movement=7
unit_description= _ "The warriors of the saurians are not what most opponents are used to fight, but they are effective nonetheless. Many an tired opponent has thought to retreat from the battlefield only to find a saurian waiting for him to let his guard down. A Warrior who has seen many battles has the knowledge to become a stalker."
+
 
get_hit_sound=hiss.wav
+
    experience=60
ability=skirmisher
+
 
[attack]
+
    level=2
name=Spear
+
 
range=melee
+
    alignment=chaotic
type=pierce
+
 
damage=6
+
    advanceto=Saurian Stalker
number=4
+
 
icon=attacks/spear.png
+
    undead_variation=saurian
[animation]
+
 
[frame]
+
    cost=28
begin=-150
+
 
end=-50
+
    usage=scout
image="Saurian_Warrior/saurian-warrior-attack1.png"
+
 
[/frame]
+
    unit_description= _ "The warriors of the saurians are not what most opponents are used to fight, but they are effective nonetheless. Many an tired opponent has thought to retreat from the battlefield only to find a saurian waiting for him to let his guard down. A Warrior who has seen many battles has the knowledge to become a stalker.
[frame]
+
 
begin=-50
+
 
end=100
+
 
image="Saurian_Warrior/saurian-warrior-attack2.png"
+
"+{SPECIAL_NOTES_SKIRMISHER}
[/frame]
+
 
[/animation]
+
 
[/attack]
+
 
[attack]
+
    die_sound=hiss-die.wav
name=Spear
+
 
range=ranged
+
    {DEFENSE_ANIM "units/saurians/ambusher-defend.png" "units/saurians/ambusher.png" hiss-hit.wav }
type=pierce
+
 
damage=6
+
    [abilities]
number=2
+
 
icon=attacks/spear.png
+
        {ABILITY_SKIRMISHER}
[animation]
+
 
[sound]
+
    [/abilities]
time=-50
+
 
sound=spear.wav
+
    [attack]
[/sound]
+
 
[frame]
+
        name=spear
begin=-150
+
 
end=-50
+
        description=_"spear"
image="Saurian_Warrior/saurian-warrior-attack2.png"
+
 
[/frame]
+
        range=melee
[frame]
+
 
begin=-50
+
        type=pierce
end=100
+
 
image="Saurian_Warrior/saurian-warrior-ranged.png"
+
        damage=6
[/frame]
+
 
[missile_frame]
+
        number=4
begin=-100
+
 
end=0
+
        icon=attacks/spear.png
image="projectiles/spear-n.png"
+
 
image_diagonal="projectiles/spear-ne.png"
+
    [/attack]
[/missile_frame]
+
 
[/animation]
+
    [attack]
[/attack]
+
 
 +
        name=spear
 +
 
 +
        description=_"spear throw"
 +
 
 +
        range=ranged
 +
 
 +
        type=pierce
 +
 
 +
        damage=6
 +
 
 +
        number=2
 +
 
 +
        icon=attacks/spear.png
 +
 
 +
    [/attack]
 +
 
 +
    [attack_anim]
 +
        [attack_filter]
 +
            name=spear
 +
            range=ranged
 +
        [/attack_filter]
 +
        [missile_frame]
 +
            begin=-150
 +
            end=0
 +
            image="projectiles/spear-n.png"
 +
            image_diagonal="projectiles/spear-ne.png"
 +
        [/missile_frame]
 +
        [frame]
 +
            begin=-225
 +
            end=-175
 +
            image="units/saurians/ambusher-ranged-1.png"
 +
        [/frame]
 +
        [frame]
 +
            begin=-175
 +
            end=-100
 +
            image="units/saurians/ambusher-ranged-2.png"
 +
            sound={SOUND_LIST:THROW}
 +
        [/frame]
 +
        [if]
 +
            hits=yes
 +
            [frame]
 +
                sound=spear.ogg
 +
                begin=-100
 +
                end=0
 +
                image="units/saurians/ambusher-ranged-3.png"
 +
            [/frame]
 +
        [/if]
 +
        [else]
 +
            hits=no
 +
            [frame]
 +
                begin=-100
 +
                end=0
 +
                image="units/saurians/ambusher-ranged-3.png"
 +
            [/frame]
 +
        [/else]
 +
        [frame]
 +
            begin=0
 +
            end=50
 +
            image="units/saurians/ambusher-attack1.png"
 +
        [/frame]
 +
    [/attack_anim]
 +
    [attack_anim]
 +
        [attack_filter]
 +
            name=spear
 +
            range=melee
 +
        [/attack_filter]
 +
        [frame]
 +
            begin=-150
 +
            end=-100
 +
            image="units/saurians/ambusher-attack1.png"
 +
        [/frame]
 +
        [if]
 +
            hits=yes
 +
            [frame]
 +
                begin=-100
 +
                end=50
 +
                image="units/saurians/ambusher-attack2.png"
 +
                sound=spear.ogg
 +
            [/frame]
 +
        [/if]
 +
        [else]
 +
            hits=no
 +
            [frame]
 +
                begin=-100
 +
                end=50
 +
                image="units/saurians/ambusher-attack2.png"
 +
                sound=spear-miss.ogg
 +
            [/frame]
 +
        [/else]
 +
        [frame]
 +
            begin=50
 +
            end=150
 +
            image="units/saurians/ambusher-attack1.png"
 +
        [/frame]
 +
        [frame]
 +
            begin=150
 +
            end=200
 +
            image="units/saurians/ambusher.png"
 +
        [/frame]
 +
    [/attack_anim]
 +
 
 
[/unit]
 
[/unit]
 +
 
</pre>
 
</pre>

Revision as of 17:24, 29 January 2008

#textdomain wesnoth-Forgotten_Legacy

[unit]

    id=Saurian Warrior alt

    name= _ "Saurian Warrior"

    race=lizard

    image="units/saurians/ambusher.png"

    profile=portraits/saurian-ambusher.png

    hitpoints=32

    movement_type=lizard

    movement=7

    experience=60

    level=2

    alignment=chaotic

    advanceto=Saurian Stalker

    undead_variation=saurian

    cost=28

    usage=scout

    unit_description= _ "The warriors of the saurians are not what most opponents are used to fight, but they are effective nonetheless. Many an tired opponent has thought to retreat from the battlefield only to find a saurian waiting for him to let his guard down. A Warrior who has seen many battles has the knowledge to become a stalker.



"+{SPECIAL_NOTES_SKIRMISHER}



    die_sound=hiss-die.wav

    {DEFENSE_ANIM "units/saurians/ambusher-defend.png" "units/saurians/ambusher.png" hiss-hit.wav }

    [abilities]

        {ABILITY_SKIRMISHER}

    [/abilities]

    [attack]

        name=spear

        description=_"spear"

        range=melee

        type=pierce

        damage=6

        number=4

        icon=attacks/spear.png

    [/attack]

    [attack]

        name=spear

        description=_"spear throw"

        range=ranged

        type=pierce

        damage=6

        number=2

        icon=attacks/spear.png

    [/attack]

    [attack_anim]
        [attack_filter]
            name=spear
            range=ranged
        [/attack_filter]
        [missile_frame]
            begin=-150
            end=0
            image="projectiles/spear-n.png"
            image_diagonal="projectiles/spear-ne.png"
        [/missile_frame]
        [frame]
            begin=-225
            end=-175
            image="units/saurians/ambusher-ranged-1.png"
        [/frame]
        [frame]
            begin=-175
            end=-100
            image="units/saurians/ambusher-ranged-2.png"
            sound={SOUND_LIST:THROW}
        [/frame]
        [if]
            hits=yes
            [frame]
                sound=spear.ogg
                begin=-100
                end=0
                image="units/saurians/ambusher-ranged-3.png"
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=0
                image="units/saurians/ambusher-ranged-3.png"
            [/frame]
        [/else]
        [frame]
            begin=0
            end=50
            image="units/saurians/ambusher-attack1.png"
        [/frame]
    [/attack_anim]
    [attack_anim]
        [attack_filter]
            name=spear
            range=melee
        [/attack_filter]
        [frame]
            begin=-150
            end=-100
            image="units/saurians/ambusher-attack1.png"
        [/frame]
        [if]
            hits=yes
            [frame]
                begin=-100
                end=50
                image="units/saurians/ambusher-attack2.png"
                sound=spear.ogg
            [/frame]
        [/if]
        [else]
            hits=no
            [frame]
                begin=-100
                end=50
                image="units/saurians/ambusher-attack2.png"
                sound=spear-miss.ogg
            [/frame]
        [/else]
        [frame]
            begin=50
            end=150
            image="units/saurians/ambusher-attack1.png"
        [/frame]
        [frame]
            begin=150
            end=200
            image="units/saurians/ambusher.png"
        [/frame]
    [/attack_anim]

[/unit]