Skip to content

Commit

Permalink
Made Drake Flying Animations working on more terrains.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sevu committed Oct 26, 2016
1 parent 0b98a78 commit 1606bb7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion data/core/macros/animation-utils.cfg
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion data/core/units/goblins/Wolf_Rider.cfg
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion data/core/units/monsters/Wolf.cfg
Expand Up @@ -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
Expand Down
8 changes: 1 addition & 7 deletions data/core/units/saurians/Skirmisher.cfg
Expand Up @@ -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]"
Expand Down

0 comments on commit 1606bb7

Please sign in to comment.