Made Drake Flying Animations working on more terrains.

E.g. they weren't working on water with water lilies before.
The terrain codes are now more generic too, for the case somebody wants to make an UMC variation.

Also had a look on other places where terrain codes get used.
This commit is contained in:
Severin Glöckner 2016-10-12 15:15:09 +02:00
parent 0b98a78d7e
commit 1606bb72ce
4 changed files with 4 additions and 10 deletions

View file

@ -775,7 +775,7 @@
#enddef
#define DRAKE_UNWALKABLE_TERRAINS
!,Wwf,*^B*,!,W*,W*^V*,Chs,Chw,S*,S*^V*,Q*,Mv#enddef
!,Wwf*^*,Kme*^*,*^B*,!,W*^*,S*^*,Chs*^*,Chw*^*,Cm*^*,Km*^*,Q*^*,Mv*^*,*^Qov,*^Vm,*^Vhs#enddef
#define DRAKE_STANDING_ANIM DRAKE_NAME
[standing_anim]

View file

@ -13,7 +13,7 @@
[/standing_anim]
[standing_anim]
start_time=-50
terrain_type=!,*^B*,!,Chs^*,Chw^*,W*^*,S*^*,*^Vm
terrain_type=!,*^B*,!,Chs*^*,Chw*^*,W*^*,S*^*,*^Vm,*^Vhs
[frame]
image="units/goblins/wolf-rider-water.png:50"
[/frame]

View file

@ -14,7 +14,7 @@
[/standing_anim]
[standing_anim]
start_time=-50
terrain_type=!,*^B*,!,Chs^*,Chw^*,W*^*,S*^*,*^Vm
terrain_type=!,*^B*,!,Chs*^*,Chw*^*,W*^*,S*^*,*^Vm,*^Vhs
[frame]
image="units/monsters/wolf-water.png"
duration=50

View file

@ -23,13 +23,7 @@ Spears are their preferred weapon, as their powerful hind legs can drive a spear
[/abilities]
[idle_anim]
{STANDARD_IDLE_FILTER}
[filter]
[filter_location]
[not]
terrain=C*,K*,*^V*
[/not]
[/filter_location]
[/filter]
terrain_type=!,C*^*,K*^*,*^V*
start_time=0
[frame]
image="units/saurians/skirmisher/skirmisher-idle-[1~7,6,5,6,8~13].png:200,units/saurians/skirmisher/skirmisher-idle-[12,13,12,13].png:[225*2,250*2]"