Skip to content

Commit

Permalink
[UtBS] Quenoth elf animations (#2679)
Browse files Browse the repository at this point in the history
* sun-shyde standing animations, draft

* additions to sun-shyde floating animation

* singer defense animation

* defense animations for sun-singer and sun-shyde

* try to make scout less leaning backwards

* champion defense animation

* fixing and rounding out basic animations (esp. wrt to floating/standing) for sun_shyde

(cherry-picked from commit 816dd07)
  • Loading branch information
doofus-01 authored and ln-zookeeper committed Oct 7, 2018
1 parent dcf2767 commit 23ba088
Show file tree
Hide file tree
Showing 25 changed files with 65 additions and 42 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Expand Up @@ -41,7 +41,7 @@
number=4
icon=attacks/glaive.png
[/attack]
{DEFENSE_ANIM "units/quenoth/champion.png" "units/quenoth/champion.png" {SOUND_LIST:ELF_HIT}}
{DEFENSE_ANIM "units/quenoth/champion-defend2.png" "units/quenoth/champion-defend1.png" {SOUND_LIST:ELF_HIT}}
[attack_anim]
[filter_attack]
name=glaive
Expand Down
76 changes: 61 additions & 15 deletions data/campaigns/Under_the_Burning_Suns/units/quenoth/Sun_Shyde.cfg
Expand Up @@ -46,18 +46,39 @@
{WEAPON_SPECIAL_MAGICAL}
[/specials]
[/attack]
{DEFENSE_ANIM "units/quenoth/sun_shyde/sun-shyde.png" "units/quenoth/sun_shyde/sun-shyde.png" {SOUND_LIST:ELF_FEMALE_HIT} }
{QE_SUN_FLYING_ANIM sun_shyde/sun-shyde}
# filtering whether she is floating or standing
{DEFENSE_ANIM_FILTERED "units/quenoth/sun_shyde/sun-shyde-fly-defend2.png" "units/quenoth/sun_shyde/sun-shyde-fly-defend1.png" {SOUND_LIST:ELF_FEMALE_HIT} (
terrain_type={QUENOTH_UNWALKABLE_TERRAINS}
)}
{DEFENSE_ANIM_FILTERED "units/quenoth/sun_shyde/sun-shyde-defend2.png" "units/quenoth/sun_shyde/sun-shyde-defend1.png" {SOUND_LIST:ELF_FEMALE_HIT} (
terrain_type=!,{QUENOTH_UNWALKABLE_TERRAINS}
)}

[movement_anim]
# flame frames are absent because they do some weird lagging thing
start_time=0
[frame]
image="units/quenoth/sun_shyde/sun-shyde-fly1.png:150"
[/frame]
[/movement_anim]
[standing_anim]
start_time=0
flame_start_time=0
backglow_start_time=0
[frame]
image="units/quenoth/sun_shyde/sun-shyde-stand.png"
[/frame]
[if]
terrain_type={QUENOTH_UNWALKABLE_TERRAINS}
[frame]
image="units/quenoth/sun_shyde/sun-shyde-fly[1~6].png:150"
[/frame]
[/if]
[else]
[frame]
image="units/quenoth/sun_shyde/sun-shyde-stand.png"
[/frame]
[/else]
[flame_frame]
image="{QUENOTH_FLAME_POS 44 0}"
halo="{QUENOTH_FLAME_POS 6 7}"
halo="{QUENOTH_FLAME_POS 4 4}"
layer=42
auto_vflip=no
auto_hflip=yes
Expand All @@ -72,38 +93,63 @@
[healing_anim]
start_time=-250
[frame]
image="units/quenoth/sun_shyde/sun-shyde.png:50"
image="units/quenoth/sun_shyde/sun-shyde-fly1.png:50"
[/frame]
[frame]
image="units/quenoth/sun_shyde/sun-shyde.png:350"
image="units/quenoth/sun_shyde/sun-shyde-fly[2~5].png:[80*4]"
halo=halo/elven/shaman-heal-halo-[1~7].png
[/frame]
[frame]
image="units/quenoth/sun_shyde/sun-shyde.png:50"
image="units/quenoth/sun_shyde/sun-shyde-fly6.png:50"
[/frame]
[/healing_anim]
[attack_anim]
[filter_attack]
name=touch
[/filter_attack]
start_time=-250
[frame]
image="units/quenoth/sun_shyde/sun-shyde.png:400"
[/frame]
offset="0~0.6:200,0.6~0:200"
[if]
terrain_type={QUENOTH_UNWALKABLE_TERRAINS}
[frame]
image="units/quenoth/sun_shyde/sun-shyde-fly1.png:400"
[/frame]
[/if]
[else]
[frame]
image="units/quenoth/sun_shyde/sun-shyde.png:400"
[/frame]
[/else]
missile_start_time=0
[if]
hits=yes
{FIRE_BURST_SMALL}
[/if]
{SOUND:HIT_AND_MISS flame-big.ogg flame-big-miss.ogg -250}
[/attack_anim]
[attack_anim]
[filter_attack]
name=faerie fire
[/filter_attack]
start_time=-350
elfhalo_start_time=-350
{MISSILE_FRAME_FAERIE_FIRE}
[frame]
image="units/quenoth/sun_shyde/sun-shyde.png"
[if]
terrain_type={QUENOTH_UNWALKABLE_TERRAINS}
[frame]
image="units/quenoth/sun_shyde/sun-shyde-fly1.png"
[/frame]
[/if]
[else]
[frame]
image="units/quenoth/sun_shyde/sun-shyde.png"
[/frame]
[/else]
[elfhalo_frame]
duration=500
halo=halo/elven/faerie-fire-halo[1~7].png
halo_x,halo_y=14,0
[/frame]
[/elfhalo_frame]
{SOUND:HIT_AND_MISS magic-faeriefire.ogg magic-faeriefire-miss.ogg -350}
[/attack_anim]
[/unit_type]
Expand Up @@ -43,8 +43,7 @@
{WEAPON_SPECIAL_MAGICAL}
[/specials]
[/attack]
{DEFENSE_ANIM "units/quenoth/sun_singer/sun-singer.png" "units/quenoth/sun_singer/sun-singer.png" {SOUND_LIST:ELF_FEMALE_HIT} }
{QE_SUN_FLYING_ANIM sun_singer/sun-singer}
{DEFENSE_ANIM "units/quenoth/sun_singer/sun-singer-defend2.png" "units/quenoth/sun_singer/sun-singer-defend1.png" {SOUND_LIST:ELF_FEMALE_HIT} }
[standing_anim]
start_time=0
flame_start_time=0
Expand Down
26 changes: 2 additions & 24 deletions data/campaigns/Under_the_Burning_Suns/utils/animation_macros.cfg
Expand Up @@ -21,29 +21,7 @@ misc/blank-hex.png~BLIT(units/quenoth/fire/flame-color.png,{X},{Y2})~MASK(units/
{QUENOTH_FLAME_INTERNAL {X} {Y} 4}#enddef


# not all unwalkable, but still supposed to provide some visual cue that movement is different. may need revision.
#define QUENOTH_UNWALKABLE_TERRAINS
!,Wwf*^*,Kme*^*,*^B*,!,W*^*,S*^*,Chs*^*,Chw*^*,Cm*^*,Km*^*,Q*^*,Mv*^*,*^Qov,*^Vm#enddef
!,Wwf*^*,Kme*^*,*^B*,!,A*^*,Uu*^*,Uh*^*,*^Uf*,W*^*,S*^*,Chs*^*,Chw*^*,Cm*^*,Km*^*,Q*^*,Mv*^*,*^Qov,*^Vm#enddef

# adapted (and simplified) from drake animations, may need more adjustments

#define QE_SUN_FLYING_ANIM SUN_NAME
[standing_anim]
start_time=0
terrain_type={QUENOTH_UNWALKABLE_TERRAINS}
# wmlscope: start ignoring
[frame]
image="units/quenoth/{SUN_NAME}.png:100"
# image="units/quenoth/{SUN_NAME}-fly-[1~3,2].png:100"
[/frame]
# wmlscope: stop ignoring
[/standing_anim]
[movement_anim]
start_time=0
# wmlscope: start ignoring
[frame]
image="units/quenoth/{SUN_NAME}.png:100"
# image="units/drakes/{SUN_NAME}-fly-[1~3,2].png:100"
[/frame]
# wmlscope: stop ignoring
[/movement_anim]
#enddef

0 comments on commit 23ba088

Please sign in to comment.