Wire WC bat graphics to Soulless and WC bat variations,

...including boucman's suggested workaround to bug #11416
This commit is contained in:
Ignacio R. Morelle 2008-04-02 18:38:17 +00:00
parent 076a2ed54b
commit bcaf410036
2 changed files with 660 additions and 30 deletions

View file

@ -121,21 +121,6 @@
[movement_costs]
deep_water=4
[/movement_costs]
[variation]
variation_name=bat
{UNIT_BODY_SOULLESS soulless-drake fly 5 24}
[movement_costs]
cave=1
fungus=1
[/movement_costs]
[defense]
cave=50
fungus=50
[/defense]
[resistance]
cold=70
[/resistance]
[/variation]
[variation]
variation_name=drake
{UNIT_BODY_SOULLESS soulless-drake drakefoot 4 36}
@ -193,5 +178,335 @@
deep_water=3
[/movement_costs]
[/variation]
# FIXME: I know this is not clean, but it is less prone to human mistakes
# on unit stats
[variation]
variation_name=bat
id=Soulless
name= _ "Soulless"
race=undead
image="units/undead/zombie-bat-se-3.png"
{MAGENTA_IS_THE_TEAM_COLOR}
ellipse="misc/ellipse"
{TRAIT_FEARLESS_MUSTHAVE}
hitpoints=24
movement_type=fly
movement=5
experience=150
level=1
alignment=chaotic
advanceto=null
{AMLA_DEFAULT}
cost=11
usage=fighter
unit_description= _ "The technique of animating a dead body is unfortunately well-known to the dark arts; practitioners often use it to raise servants and soldiers from unwilling corpses. These shamblers are often numerous, but fragile; a touch of combat can waken them, though, making them far more formidable."+{SPECIAL_NOTES}+{SPECIAL_NOTES_PLAGUE}
[movement_costs]
cave=1
fungus=1
[/movement_costs]
[defense]
cave=50
fungus=50
[/defense]
[resistance]
cold=70
arcane=140
[/resistance]
[attack]
name=touch
description=_"touch"
icon=attacks/touch-zombie.png
type=impact
range=melee
damage=7
number=3
[specials]
{WEAPON_SPECIAL_PLAGUE}
[/specials]
[/attack]
die_sound="bat-flapping.wav"
[defend]
direction=s,sw,se
[if]
hits=miss
offset=0.0~-0.15,-0.15~0.0
[/if]
start_time=-126
[frame]
duration=1
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=100
image="units/undead/zombie-bat-se-4.png"
[/frame]
[if]
hits=hit
[frame]
duration=150
image="units/undead/zombie-bat-se-4.png"
sound={SOUND_LIST:ZOMBIE_WEAK_HIT}
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
duration=150
image="units/undead/zombie-bat-se-4.png"
[/frame]
[/else]
[frame]
duration=1
image="units/undead/zombie-bat-se-3.png"
[/frame]
[/defend]
[defend]
direction=n,nw,ne
[if]
hits=miss
offset=0.0~-0.15,-0.15~0.0
[/if]
start_time=-126
[frame]
duration=1
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=100
image="units/undead/zombie-bat-ne-4.png"
[/frame]
[if]
hits=hit
[frame]
duration=150
image="units/undead/zombie-bat-ne-4.png"
sound={SOUND_LIST:ZOMBIE_WEAK_HIT}
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
duration=150
image="units/undead/zombie-bat-ne-4.png"
[/frame]
[/else]
[frame]
duration=1
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[/defend]
[standing_anim]
direction=s,se,sw
start_time=0
[frame]
duration=50
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=80
image="units/undead/zombie-bat-se-1.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-se-4.png"
[/frame]
[frame]
duration=80
image="units/undead/zombie-bat-se-5.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-se-4.png"
[/frame]
[/standing_anim]
[standing_anim]
direction=n,ne,nw
start_time=0
[frame]
duration=50
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=80
image="units/undead/zombie-bat-ne-1.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-ne-4.png"
[/frame]
[frame]
duration=80
image="units/undead/zombie-bat-ne-5.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-ne-4.png"
[/frame]
[/standing_anim]
[attack_anim]
[attack_filter]
name=touch
[/attack_filter]
direction=s,se,sw
offset=0.0~0.9:200,0.9~0.0:160
start_time=-200
[frame]
duration=30
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-se-1.png"
sound=bat-flapping.wav
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=70
image="units/undead/zombie-bat-se-4.png"
sound=zombie-attack.wav
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=40
image="units/undead/zombie-bat-se-3.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=touch
[/attack_filter]
direction=n,ne,nw
offset=0.0~0.9:200,0.9~0.0:160
start_time=-200
[frame]
duration=30
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-ne-1.png"
sound=bat-flapping.wav
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=70
image="units/undead/zombie-bat-ne-4.png"
sound=zombie-attack.wav
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=40
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=engine_bug_workaround_that_disables_the_default_3rd_zombie_attack_animation_for_some_reason
[/attack_filter]
[/attack_anim]
[death]
start_time=0
[frame]
duration=150
image="units/undead/zombie-bat-die-1.png"
[/frame]
[frame]
duration=150
image="units/undead/zombie-bat-die-2.png"
[/frame]
[frame]
duration=150
image="units/undead/zombie-bat-die-3.png"
[/frame]
[frame]
duration=150
image="units/undead/zombie-bat-die-4.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-5.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-6.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-7.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-8.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-9.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-10.png"
[/frame]
[/death]
[/variation]
[/unit]
#undef UNIT_BODY_SOULLESS

View file

@ -120,21 +120,6 @@
[movement_costs]
deep_water=4
[/movement_costs]
[variation]
variation_name=bat
{UNIT_BODY_WALKING_CORPSE zombie-drake fly 5 15}
[movement_costs]
cave=1
fungus=1
[/movement_costs]
[defense]
cave=50
fungus=50
[/defense]
[resistance]
cold=70
[/resistance]
[/variation]
[variation]
variation_name=drake
{UNIT_BODY_WALKING_CORPSE zombie-drake drakefoot 4 23}
@ -192,5 +177,335 @@
deep_water=3
[/movement_costs]
[/variation]
# FIXME: I know this is not clean, but it is less prone to human mistakes
# on unit stats
[variation]
variation_name=bat
id=Walking Corpse
name= _ "Walking Corpse"
race=undead
image="units/undead/zombie-bat-se-3.png"
{MAGENTA_IS_THE_TEAM_COLOR}
ellipse="misc/ellipse-nozoc"
{TRAIT_FEARLESS_MUSTHAVE}
hitpoints=15
movement_type=fly
movement=5
level=0
experience=24
alignment=chaotic
advanceto=Soulless
cost=7
usage=fighter
[movement_costs]
cave=1
fungus=1
[/movement_costs]
[defense]
cave=50
fungus=50
[/defense]
[resistance]
cold=70
arcane=140
[/resistance]
unit_description= _ "Walking Corpses are the bodies of the dead, re-animated by dark magic. Though not especially dangerous to a trained soldier, the sight of one's former comrades amongst their number is frightening to say the least."+{SPECIAL_NOTES}+{SPECIAL_NOTES_PLAGUE}
[attack]
name=touch
description=_"touch"
icon=attacks/touch-zombie.png
type=impact
range=melee
damage=6
number=2
[specials]
{WEAPON_SPECIAL_PLAGUE}
[/specials]
[/attack]
die_sound="bat-flapping.wav"
[defend]
direction=s,sw,se
[if]
hits=miss
offset=0.0~-0.15,-0.15~0.0
[/if]
start_time=-126
[frame]
duration=1
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=100
image="units/undead/zombie-bat-se-4.png"
[/frame]
[if]
hits=hit
[frame]
duration=150
image="units/undead/zombie-bat-se-4.png"
sound={SOUND_LIST:ZOMBIE_WEAK_HIT}
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
duration=150
image="units/undead/zombie-bat-se-4.png"
[/frame]
[/else]
[frame]
duration=1
image="units/undead/zombie-bat-se-3.png"
[/frame]
[/defend]
[defend]
direction=n,nw,ne
[if]
hits=miss
offset=0.0~-0.15,-0.15~0.0
[/if]
start_time=-126
[frame]
duration=1
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=100
image="units/undead/zombie-bat-ne-4.png"
[/frame]
[if]
hits=hit
[frame]
duration=150
image="units/undead/zombie-bat-ne-4.png"
sound={SOUND_LIST:ZOMBIE_WEAK_HIT}
[/frame]
[/if]
[else]
hits=miss,kill
[frame]
duration=150
image="units/undead/zombie-bat-ne-4.png"
[/frame]
[/else]
[frame]
duration=1
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[/defend]
[standing_anim]
direction=s,se,sw
start_time=0
[frame]
duration=50
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=80
image="units/undead/zombie-bat-se-1.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-se-4.png"
[/frame]
[frame]
duration=80
image="units/undead/zombie-bat-se-5.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-se-4.png"
[/frame]
[/standing_anim]
[standing_anim]
direction=n,ne,nw
start_time=0
[frame]
duration=50
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=80
image="units/undead/zombie-bat-ne-1.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-ne-4.png"
[/frame]
[frame]
duration=80
image="units/undead/zombie-bat-ne-5.png"
[/frame]
[frame]
duration=60
image="units/undead/zombie-bat-ne-4.png"
[/frame]
[/standing_anim]
[attack_anim]
[attack_filter]
name=touch
[/attack_filter]
direction=s,se,sw
offset=0.0~0.9:200,0.9~0.0:160
start_time=-200
[frame]
duration=30
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-se-1.png"
sound=bat-flapping.wav
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=70
image="units/undead/zombie-bat-se-4.png"
sound=zombie-attack.wav
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-se-3.png"
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-se-2.png"
[/frame]
[frame]
duration=40
image="units/undead/zombie-bat-se-3.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=touch
[/attack_filter]
direction=n,ne,nw
offset=0.0~0.9:200,0.9~0.0:160
start_time=-200
[frame]
duration=30
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-ne-1.png"
sound=bat-flapping.wav
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=30
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=70
image="units/undead/zombie-bat-ne-4.png"
sound=zombie-attack.wav
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[frame]
duration=50
image="units/undead/zombie-bat-ne-2.png"
[/frame]
[frame]
duration=40
image="units/undead/zombie-bat-ne-3.png"
[/frame]
[/attack_anim]
[attack_anim]
[attack_filter]
name=engine_bug_workaround_that_disables_the_default_3rd_zombie_attack_animation_for_some_reason
[/attack_filter]
[/attack_anim]
[death]
start_time=0
[frame]
duration=150
image="units/undead/zombie-bat-die-1.png"
[/frame]
[frame]
duration=150
image="units/undead/zombie-bat-die-2.png"
[/frame]
[frame]
duration=150
image="units/undead/zombie-bat-die-3.png"
[/frame]
[frame]
duration=150
image="units/undead/zombie-bat-die-4.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-5.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-6.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-7.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-8.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-9.png"
[/frame]
[frame]
duration=150
image="units/undead/soulless-die-10.png"
[/frame]
[/death]
[/variation]
[/unit]
#undef UNIT_BODY_WALKING_CORPSE