diff --git a/data/core/images/units/dunefolk/skirmisher/skirmisher-ne-defend1.png b/data/core/images/units/dunefolk/skirmisher/skirmisher-ne-defend1.png new file mode 100644 index 000000000000..1e9811a7ac32 Binary files /dev/null and b/data/core/images/units/dunefolk/skirmisher/skirmisher-ne-defend1.png differ diff --git a/data/core/images/units/dunefolk/skirmisher/skirmisher-ne-defend2.png b/data/core/images/units/dunefolk/skirmisher/skirmisher-ne-defend2.png new file mode 100644 index 000000000000..f0dc71fae682 Binary files /dev/null and b/data/core/images/units/dunefolk/skirmisher/skirmisher-ne-defend2.png differ diff --git a/data/core/images/units/dunefolk/skirmisher/skirmisher-ne.png b/data/core/images/units/dunefolk/skirmisher/skirmisher-ne.png new file mode 100644 index 000000000000..f1be9a1b99dc Binary files /dev/null and b/data/core/images/units/dunefolk/skirmisher/skirmisher-ne.png differ diff --git a/data/core/images/units/human-loyalists/bowman-ne-bow-attack-1.png b/data/core/images/units/human-loyalists/bowman-ne-bow-attack-1.png new file mode 100644 index 000000000000..bb9f35185c7b Binary files /dev/null and b/data/core/images/units/human-loyalists/bowman-ne-bow-attack-1.png differ diff --git a/data/core/images/units/human-loyalists/bowman-ne-bow-attack-2.png b/data/core/images/units/human-loyalists/bowman-ne-bow-attack-2.png new file mode 100644 index 000000000000..17ba35ea33e7 Binary files /dev/null and b/data/core/images/units/human-loyalists/bowman-ne-bow-attack-2.png differ diff --git a/data/core/images/units/human-loyalists/bowman-ne-bow-attack-3.png b/data/core/images/units/human-loyalists/bowman-ne-bow-attack-3.png new file mode 100644 index 000000000000..394fc4fc0ed3 Binary files /dev/null and b/data/core/images/units/human-loyalists/bowman-ne-bow-attack-3.png differ diff --git a/data/core/images/units/human-loyalists/bowman-ne-bow-attack-4.png b/data/core/images/units/human-loyalists/bowman-ne-bow-attack-4.png new file mode 100644 index 000000000000..a2a3d5314548 Binary files /dev/null and b/data/core/images/units/human-loyalists/bowman-ne-bow-attack-4.png differ diff --git a/data/core/images/units/human-loyalists/bowman-ne-bow-defend.png b/data/core/images/units/human-loyalists/bowman-ne-bow-defend.png new file mode 100644 index 000000000000..a31abca2335d Binary files /dev/null and b/data/core/images/units/human-loyalists/bowman-ne-bow-defend.png differ diff --git a/data/core/images/units/human-loyalists/bowman-ne-bow.png b/data/core/images/units/human-loyalists/bowman-ne-bow.png new file mode 100644 index 000000000000..0ea7259e7961 Binary files /dev/null and b/data/core/images/units/human-loyalists/bowman-ne-bow.png differ diff --git a/data/core/images/units/human-loyalists/bowman-ne-melee-defend-1.png b/data/core/images/units/human-loyalists/bowman-ne-melee-defend-1.png new file mode 100644 index 000000000000..c066b5763b89 Binary files /dev/null and b/data/core/images/units/human-loyalists/bowman-ne-melee-defend-1.png differ diff --git a/data/core/images/units/human-loyalists/bowman-ne-melee-defend-2.png b/data/core/images/units/human-loyalists/bowman-ne-melee-defend-2.png new file mode 100644 index 000000000000..a2c99dd778c9 Binary files /dev/null and b/data/core/images/units/human-loyalists/bowman-ne-melee-defend-2.png differ diff --git a/data/core/images/units/human-loyalists/bowman-ne.png b/data/core/images/units/human-loyalists/bowman-ne.png new file mode 100644 index 000000000000..719b3ee4aa3a Binary files /dev/null and b/data/core/images/units/human-loyalists/bowman-ne.png differ diff --git a/data/core/images/units/human-loyalists/bowman.png b/data/core/images/units/human-loyalists/bowman.png index 6e6f7094c7c4..e3649c1e7ad4 100644 Binary files a/data/core/images/units/human-loyalists/bowman.png and b/data/core/images/units/human-loyalists/bowman.png differ diff --git a/data/core/images/units/human-outlaws/footpad+female-attack1.png b/data/core/images/units/human-outlaws/footpad+female-attack1.png index ed4dafc51b45..1cd6acd25cbe 100644 Binary files a/data/core/images/units/human-outlaws/footpad+female-attack1.png and b/data/core/images/units/human-outlaws/footpad+female-attack1.png differ diff --git a/data/core/images/units/human-outlaws/footpad+female-attack2.png b/data/core/images/units/human-outlaws/footpad+female-attack2.png index 239e0a585e33..6f1beb77e62c 100644 Binary files a/data/core/images/units/human-outlaws/footpad+female-attack2.png and b/data/core/images/units/human-outlaws/footpad+female-attack2.png differ diff --git a/data/core/images/units/human-outlaws/footpad+female-defend.png b/data/core/images/units/human-outlaws/footpad+female-defend.png index e50c09a076cc..9a689a08861c 100644 Binary files a/data/core/images/units/human-outlaws/footpad+female-defend.png and b/data/core/images/units/human-outlaws/footpad+female-defend.png differ diff --git a/data/core/images/units/human-outlaws/footpad+female-melee-1.png b/data/core/images/units/human-outlaws/footpad+female-melee-1.png index 467e1272faa1..23c55fbfcd90 100644 Binary files a/data/core/images/units/human-outlaws/footpad+female-melee-1.png and b/data/core/images/units/human-outlaws/footpad+female-melee-1.png differ diff --git a/data/core/images/units/human-outlaws/footpad+female-melee-2.png b/data/core/images/units/human-outlaws/footpad+female-melee-2.png index d7a7fccbbcfc..d2a8c0ad13a3 100644 Binary files a/data/core/images/units/human-outlaws/footpad+female-melee-2.png and b/data/core/images/units/human-outlaws/footpad+female-melee-2.png differ diff --git a/data/core/images/units/human-outlaws/footpad+female-melee-3.png b/data/core/images/units/human-outlaws/footpad+female-melee-3.png index abbcba7063eb..1ee99fad6613 100644 Binary files a/data/core/images/units/human-outlaws/footpad+female-melee-3.png and b/data/core/images/units/human-outlaws/footpad+female-melee-3.png differ diff --git a/data/core/images/units/human-outlaws/footpad+female-melee-4.png b/data/core/images/units/human-outlaws/footpad+female-melee-4.png index f9290377d94f..850f3c60b216 100644 Binary files a/data/core/images/units/human-outlaws/footpad+female-melee-4.png and b/data/core/images/units/human-outlaws/footpad+female-melee-4.png differ diff --git a/data/core/images/units/human-outlaws/footpad+female.png b/data/core/images/units/human-outlaws/footpad+female.png index cb5695c7b714..be924939f2d5 100644 Binary files a/data/core/images/units/human-outlaws/footpad+female.png and b/data/core/images/units/human-outlaws/footpad+female.png differ diff --git a/data/core/images/units/human-outlaws/footpad-attack1.png b/data/core/images/units/human-outlaws/footpad-attack1.png index 08354f5ac8a3..3c35be67832c 100644 Binary files a/data/core/images/units/human-outlaws/footpad-attack1.png and b/data/core/images/units/human-outlaws/footpad-attack1.png differ diff --git a/data/core/images/units/human-outlaws/footpad-attack2.png b/data/core/images/units/human-outlaws/footpad-attack2.png index 81b309dda960..ddda16ded1bb 100644 Binary files a/data/core/images/units/human-outlaws/footpad-attack2.png and b/data/core/images/units/human-outlaws/footpad-attack2.png differ diff --git a/data/core/images/units/human-outlaws/footpad-defend.png b/data/core/images/units/human-outlaws/footpad-defend.png index 47aef8a49723..cd4057b64f9f 100644 Binary files a/data/core/images/units/human-outlaws/footpad-defend.png and b/data/core/images/units/human-outlaws/footpad-defend.png differ diff --git a/data/core/images/units/human-outlaws/footpad-melee-1.png b/data/core/images/units/human-outlaws/footpad-melee-1.png index a28c1005fba1..4abebd077931 100644 Binary files a/data/core/images/units/human-outlaws/footpad-melee-1.png and b/data/core/images/units/human-outlaws/footpad-melee-1.png differ diff --git a/data/core/images/units/human-outlaws/footpad-melee-2.png b/data/core/images/units/human-outlaws/footpad-melee-2.png index cf7c148be694..30faad515558 100644 Binary files a/data/core/images/units/human-outlaws/footpad-melee-2.png and b/data/core/images/units/human-outlaws/footpad-melee-2.png differ diff --git a/data/core/images/units/human-outlaws/footpad-melee-3.png b/data/core/images/units/human-outlaws/footpad-melee-3.png index fb32a8e50aa3..f60bb41f32fe 100644 Binary files a/data/core/images/units/human-outlaws/footpad-melee-3.png and b/data/core/images/units/human-outlaws/footpad-melee-3.png differ diff --git a/data/core/images/units/human-outlaws/footpad-melee-4.png b/data/core/images/units/human-outlaws/footpad-melee-4.png index 1fdfd12bc2a2..fc07e983283d 100644 Binary files a/data/core/images/units/human-outlaws/footpad-melee-4.png and b/data/core/images/units/human-outlaws/footpad-melee-4.png differ diff --git a/data/core/images/units/human-outlaws/footpad.png b/data/core/images/units/human-outlaws/footpad.png index 630b82fde1a6..d8bd8286b9c2 100644 Binary files a/data/core/images/units/human-outlaws/footpad.png and b/data/core/images/units/human-outlaws/footpad.png differ diff --git a/data/core/images/units/human-outlaws/poacher-attack.png b/data/core/images/units/human-outlaws/poacher-attack.png index 2a17a455ff8c..2f50a8bdb44f 100644 Binary files a/data/core/images/units/human-outlaws/poacher-attack.png and b/data/core/images/units/human-outlaws/poacher-attack.png differ diff --git a/data/core/images/units/human-outlaws/poacher-dagger-defend1.png b/data/core/images/units/human-outlaws/poacher-dagger-defend1.png new file mode 100644 index 000000000000..ae78af9d044b Binary files /dev/null and b/data/core/images/units/human-outlaws/poacher-dagger-defend1.png differ diff --git a/data/core/images/units/human-outlaws/poacher-dagger-defend2.png b/data/core/images/units/human-outlaws/poacher-dagger-defend2.png new file mode 100644 index 000000000000..005f8179dbd4 Binary files /dev/null and b/data/core/images/units/human-outlaws/poacher-dagger-defend2.png differ diff --git a/data/core/images/units/trolls/whelp-ne-defend-2.png b/data/core/images/units/trolls/whelp-ne-defend-2.png new file mode 100644 index 000000000000..ef50b195d79e Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne-defend-2.png differ diff --git a/data/core/images/units/trolls/whelp-ne-defend-3.png b/data/core/images/units/trolls/whelp-ne-defend-3.png new file mode 100644 index 000000000000..c8b742e4e20c Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne-defend-3.png differ diff --git a/data/core/images/units/trolls/whelp-ne-defend.png b/data/core/images/units/trolls/whelp-ne-defend.png new file mode 100644 index 000000000000..b2cd1ba08447 Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne-defend.png differ diff --git a/data/core/images/units/trolls/whelp-ne-idle-1.png b/data/core/images/units/trolls/whelp-ne-idle-1.png new file mode 100644 index 000000000000..c7629fef42dc Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne-idle-1.png differ diff --git a/data/core/images/units/trolls/whelp-ne-idle-2.png b/data/core/images/units/trolls/whelp-ne-idle-2.png new file mode 100644 index 000000000000..f4382c611eed Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne-idle-2.png differ diff --git a/data/core/images/units/trolls/whelp-ne-idle-3.png b/data/core/images/units/trolls/whelp-ne-idle-3.png new file mode 100644 index 000000000000..74cf09f75b5f Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne-idle-3.png differ diff --git a/data/core/images/units/trolls/whelp-ne-idle-4.png b/data/core/images/units/trolls/whelp-ne-idle-4.png new file mode 100644 index 000000000000..abb9a1e9cf1a Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne-idle-4.png differ diff --git a/data/core/images/units/trolls/whelp-ne-idle-5.png b/data/core/images/units/trolls/whelp-ne-idle-5.png new file mode 100644 index 000000000000..871c8bb79347 Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne-idle-5.png differ diff --git a/data/core/images/units/trolls/whelp-ne-idle-6.png b/data/core/images/units/trolls/whelp-ne-idle-6.png new file mode 100644 index 000000000000..fce9593fc8eb Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne-idle-6.png differ diff --git a/data/core/images/units/trolls/whelp-ne.png b/data/core/images/units/trolls/whelp-ne.png new file mode 100644 index 000000000000..b7b7e1c6ef80 Binary files /dev/null and b/data/core/images/units/trolls/whelp-ne.png differ diff --git a/data/core/units/dunefolk/Skirmisher.cfg b/data/core/units/dunefolk/Skirmisher.cfg index 400fc7c09fcd..67a0987bf81d 100644 --- a/data/core/units/dunefolk/Skirmisher.cfg +++ b/data/core/units/dunefolk/Skirmisher.cfg @@ -25,7 +25,9 @@ units/dunefolk/skirmisher/#enddef {ABILITY_SKIRMISHER} [/abilities] die_sound={SOUND_LIST:HUMAN_FEMALE_DIE} - {DEFENSE_ANIM "{PATH_TEMP}skirmisher-defend2.png" "{PATH_TEMP}skirmisher-defend1.png" {SOUND_LIST:HUMAN_FEMALE_HIT} } + {STANDING_ANIM_DIRECTIONAL "{PATH_TEMP}skirmisher.png" "{PATH_TEMP}skirmisher-ne.png"} + {DEFENSE_ANIM_DIRECTIONAL_FILTERED "{PATH_TEMP}skirmisher-defend2.png" "{PATH_TEMP}skirmisher-defend1.png" "{PATH_TEMP}skirmisher-ne-defend2.png" "{PATH_TEMP}skirmisher-ne-defend1.png" {SOUND_LIST:HUMAN_FEMALE_HIT} ()} + # {DEFENSE_ANIM "{PATH_TEMP}skirmisher-defend2.png" "{PATH_TEMP}skirmisher-defend1.png" {SOUND_LIST:HUMAN_FEMALE_HIT} } [attack] name=spear @@ -48,15 +50,23 @@ units/dunefolk/skirmisher/#enddef number=1 icon=attacks/sling.png [/attack] - [attack_anim] [filter_attack] name=spear [/filter_attack] start_time=-250 - [frame] - image="{PATH_TEMP}skirmisher.png:300" - [/frame] + [if] + direction=s,se,sw + [frame] + image="{PATH_TEMP}skirmisher.png:300" + [/frame] + [/if] + [else] + direction=n,ne,nw + [frame] + image="{PATH_TEMP}skirmisher-ne.png:300" + [/frame] + [/else] {SOUND:HIT_AND_MISS spear.ogg spear-miss.ogg -100} [/attack_anim] [attack_anim] @@ -73,10 +83,6 @@ units/dunefolk/skirmisher/#enddef image_diagonal="projectiles/bolas-ne.png" offset=0~0.8 [/missile_frame] - [frame] - image="{PATH_TEMP}skirmisher.png:300" - sound=sling.ogg - [/frame] [/if] [else] hits=no @@ -85,9 +91,18 @@ units/dunefolk/skirmisher/#enddef image="projectiles/bolas-n.png" image_diagonal="projectiles/bolas-ne.png" [/missile_frame] + [/else] + {SOUND:HIT_AND_MISS sling.ogg sling-miss.ogg -100} + [if] + direction=s,se,sw [frame] image="{PATH_TEMP}skirmisher.png:300" - sound=sling-miss.ogg + [/frame] + [/if] + [else] + direction=n,ne,nw + [frame] + image="{PATH_TEMP}skirmisher-ne.png:300" [/frame] [/else] [/attack_anim] diff --git a/data/core/units/humans/Loyalist_Bowman.cfg b/data/core/units/humans/Loyalist_Bowman.cfg index 3c9ac731aac7..9f4d6ba56fe1 100644 --- a/data/core/units/humans/Loyalist_Bowman.cfg +++ b/data/core/units/humans/Loyalist_Bowman.cfg @@ -17,6 +17,7 @@ usage=archer description= _ "The use of archery in shooting something other than game was seen from its inception, and archers have been indispensable in warfare since time immemorial. Usually of humble origins, hailing from the peasantry or woodsmen, military bowmen are trained to competence with both a bow and a short sword, and are very common on the battlefield." die_sound={SOUND_LIST:HUMAN_DIE} + {STANDING_ANIM_DIRECTIONAL "units/human-loyalists/bowman.png" "units/human-loyalists/bowman-ne.png"} [attack] name=short sword description=_"short sword" @@ -34,8 +35,8 @@ damage=6 number=3 [/attack] - {DEFENSE_ANIM_RANGE "units/human-loyalists/bowman-melee-defend-2.png" "units/human-loyalists/bowman-melee-defend-1.png" {SOUND_LIST:HUMAN_HIT} melee} - {DEFENSE_ANIM_RANGE "units/human-loyalists/bowman-bow-defend.png" "units/human-loyalists/bowman-bow.png" {SOUND_LIST:HUMAN_HIT} ranged} + {DEFENSE_ANIM_DIRECTIONAL_RANGE "units/human-loyalists/bowman-melee-defend-2.png" "units/human-loyalists/bowman-melee-defend-1.png" "units/human-loyalists/bowman-ne-melee-defend-2.png" "units/human-loyalists/bowman-ne-melee-defend-1.png" {SOUND_LIST:HUMAN_HIT} melee} + {DEFENSE_ANIM_DIRECTIONAL_RANGE "units/human-loyalists/bowman-bow-defend.png" "units/human-loyalists/bowman-bow.png" "units/human-loyalists/bowman-ne-bow-defend.png" "units/human-loyalists/bowman-ne-bow.png" {SOUND_LIST:HUMAN_HIT} ranged} [attack_anim] [filter_attack] name=bow @@ -47,12 +48,27 @@ image="projectiles/missile-n.png" image_diagonal="projectiles/missile-ne.png" [/missile_frame] - [frame] - image="units/human-loyalists/bowman-bow.png:65" - [/frame] - [frame] - image="units/human-loyalists/bowman-bow-attack-[1~4,1].png:[75*2,100,130,65]" - [/frame] + [if] + direction=s,se,sw + [frame] + image="units/human-loyalists/bowman-bow.png:65" + [/frame] + [frame] + image="units/human-loyalists/bowman-bow-attack-[1~4,1].png:[75*2,100,130,65]" + [/frame] + [/if] + [else] + direction=n,ne,nw + [frame] + image="units/human-loyalists/bowman-ne-bow.png:65" + [/frame] + [frame] + image="units/human-loyalists/bowman-ne-bow-attack-[1~4,1].png:[75*2,100,130,65]" + [/frame] + [frame] + image="units/human-loyalists/bowman-ne-bow.png:35" + [/frame] + [/else] {SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -230} [/attack_anim] [attack_anim] diff --git a/data/core/units/humans/Outlaw_Footpad.cfg b/data/core/units/humans/Outlaw_Footpad.cfg index 816056d07212..2c1683f28d73 100644 --- a/data/core/units/humans/Outlaw_Footpad.cfg +++ b/data/core/units/humans/Outlaw_Footpad.cfg @@ -59,30 +59,32 @@ [/frame] [/else] [frame] - image="units/human-outlaws/footpad-attack2.png:200" + image="units/human-outlaws/footpad-attack2.png:100" + [/frame] + [frame] + image="units/human-outlaws/footpad.png:100" [/frame] [/attack_anim] [attack_anim] [filter_attack] name=club [/filter_attack] - start_time=-250 - [frame] - image="units/human-outlaws/footpad.png:50" - [/frame] + start_time=-300 + offset=0.0:150,0.0~0.6:150,0.6~0.0:200 [frame] - image="units/human-outlaws/footpad-melee-[1~4].png:100" + image="units/human-outlaws/footpad-melee-[1~4].png:[80,90,130,200]" [/frame] {SOUND:HIT_AND_MISS staff.ogg staff-miss.ogg -125} [/attack_anim] - [idle_anim] - {STANDARD_IDLE_FILTER} - start_time=0 - [frame] - duration=100 - image="units/human-outlaws/footpad-idle-[1~4,3,2,3,4~1].png:[100*3,200,100*3,200,100*3]" - [/frame] - [/idle_anim] + # need to update the sprite frames for this + # [idle_anim] + # {STANDARD_IDLE_FILTER} + # start_time=0 + # [frame] + # duration=100 # this had broken the animation anyway + # image="units/human-outlaws/footpad-idle-[1~4,3,2,3,4~1].png:[100*3,200,100*3,200,100*3]" + # [/frame] + # [/idle_anim] [female] name= _ "female^Footpad" gender=female @@ -107,7 +109,10 @@ [/frame] [/else] [frame] - image="units/human-outlaws/footpad+female-attack2.png:200" + image="units/human-outlaws/footpad+female-attack2.png:100" + [/frame] + [frame] + image="units/human-outlaws/footpad+female.png:100" [/frame] [/attack_anim] [attack_anim] @@ -115,16 +120,13 @@ name=club [/filter_attack] [frame] - image="units/human-outlaws/footpad+female.png:50" - [/frame] - [frame] - image="units/human-outlaws/footpad+female-melee-[1~4].png:100" + image="units/human-outlaws/footpad+female-melee-[1~4].png:[80,90,130,200]" [/frame] [/attack_anim] - [idle_anim] - [frame] - image="units/human-outlaws/footpad+female-idle-[1~4,3,2,3,4~1].png:[100*3,200,100*3,200,100*3]" - [/frame] - [/idle_anim] + # [idle_anim] + # [frame] + # image="units/human-outlaws/footpad+female-idle-[1~4,3,2,3,4~1].png:[100*3,200,100*3,200,100*3]" + # [/frame] + # [/idle_anim] [/female] [/unit_type] diff --git a/data/core/units/humans/Woodsman_Poacher.cfg b/data/core/units/humans/Woodsman_Poacher.cfg index 6500b88a3ff4..721ac229b4bf 100644 --- a/data/core/units/humans/Woodsman_Poacher.cfg +++ b/data/core/units/humans/Woodsman_Poacher.cfg @@ -19,7 +19,7 @@ Because of their experience, these hunters are unusually capable at night, and in forests and swamps." #Poachers are better than normal units at woods and swamps die_sound={SOUND_LIST:HUMAN_DIE} - {DEFENSE_ANIM_RANGE "units/human-outlaws/poacher-dagger.png" "units/human-outlaws/poacher-dagger.png" {SOUND_LIST:HUMAN_HIT} melee } + {DEFENSE_ANIM_RANGE "units/human-outlaws/poacher-dagger-defend2.png" "units/human-outlaws/poacher-dagger-defend1.png" {SOUND_LIST:HUMAN_HIT} melee } {DEFENSE_ANIM_RANGE "units/human-outlaws/poacher-bow-defend.png" "units/human-outlaws/poacher-bow-attack1.png" {SOUND_LIST:HUMAN_HIT} ranged } [movement_costs] swamp_water=2 @@ -68,16 +68,16 @@ Because of their experience, these hunters are unusually capable at night, and i [filter_attack] name=dagger [/filter_attack] - start_time=-250 + start_time=-220 [frame] - image="units/human-outlaws/poacher-dagger.png:100" + image="units/human-outlaws/poacher-dagger-defend1.png:70" [/frame] - {SOUND:HIT_AND_MISS dagger-swish.wav {SOUND_LIST:MISS} -150} + {SOUND:HIT_AND_MISS dagger-swish.wav {SOUND_LIST:MISS} -100} [frame] - image="units/human-outlaws/poacher-dagger.png:200" + image="units/human-outlaws/poacher-attack.png:180" [/frame] [frame] - image="units/human-outlaws/poacher-dagger.png:100" + image="units/human-outlaws/poacher-dagger.png:250" [/frame] [/attack_anim] [/unit_type] diff --git a/data/core/units/trolls/Whelp.cfg b/data/core/units/trolls/Whelp.cfg index 78572ac69593..0d8490935a1d 100644 --- a/data/core/units/trolls/Whelp.cfg +++ b/data/core/units/trolls/Whelp.cfg @@ -29,7 +29,8 @@ damage=7 number=2 [/attack] - {DEFENSE_ANIM "units/trolls/whelp-defend.png" "units/trolls/whelp-defend-2.png" {SOUND_LIST:TROLL_HIT} } + {DEFENSE_ANIM_DIRECTIONAL "units/trolls/whelp-defend.png" "units/trolls/whelp-defend-2.png" "units/trolls/whelp-ne-defend-2.png:50,units/trolls/whelp-ne-defend-3.png" "units/trolls/whelp-ne-defend.png" {SOUND_LIST:TROLL_HIT} } + {STANDING_ANIM_DIRECTIONAL "units/trolls/whelp.png" "units/trolls/whelp-ne.png"} # images for death are still based on the old, green baseframe # commenting out till the images are updated # [death] @@ -47,9 +48,18 @@ [idle_anim] {STANDARD_IDLE_FILTER} start_time=0 - [frame] - image="units/trolls/whelp-idle-[1~7,6,7~1].png:[100*6,150,175,150,100*6]" - [/frame] + [if] + direction=s,se,sw + [frame] + image="units/trolls/whelp-idle-[1~7,6,7~1].png:[100*6,150,175,150,100*6]" + [/frame] + [/if] + [else] + direction=n,ne,nw + [frame] + image="units/trolls/whelp-ne-idle-[1~6,5,6~1].png:[100*5,150,175,150,100*5]" + [/frame] + [/else] [/idle_anim] [attack_anim] [filter_attack]