Sprite work (#5417)
* units - north facing bowman and troll whelp * units - north facing standing and defense frames for dunefolk skirmisher * units - defense and (half-hearted) dagger attack anims (SE) for poacher * units - update footpad sprite (SE-only) * ran wmlindent
After Width: | Height: | Size: 924 B |
After Width: | Height: | Size: 894 B |
BIN
data/core/images/units/dunefolk/skirmisher/skirmisher-ne.png
Normal file
After Width: | Height: | Size: 909 B |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.6 KiB |
BIN
data/core/images/units/human-loyalists/bowman-ne-bow-defend.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
data/core/images/units/human-loyalists/bowman-ne-bow.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.1 KiB |
BIN
data/core/images/units/human-loyalists/bowman-ne.png
Normal file
After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1,023 B After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 987 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 951 B After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 957 B After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1,019 B After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 995 B After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 955 B After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 956 B After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1,001 B After Width: | Height: | Size: 794 B |
BIN
data/core/images/units/human-outlaws/poacher-dagger-defend1.png
Normal file
After Width: | Height: | Size: 776 B |
BIN
data/core/images/units/human-outlaws/poacher-dagger-defend2.png
Normal file
After Width: | Height: | Size: 746 B |
BIN
data/core/images/units/trolls/whelp-ne-defend-2.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/core/images/units/trolls/whelp-ne-defend-3.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/core/images/units/trolls/whelp-ne-defend.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/core/images/units/trolls/whelp-ne-idle-1.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
data/core/images/units/trolls/whelp-ne-idle-2.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
data/core/images/units/trolls/whelp-ne-idle-3.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/core/images/units/trolls/whelp-ne-idle-4.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/core/images/units/trolls/whelp-ne-idle-5.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
data/core/images/units/trolls/whelp-ne-idle-6.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
data/core/images/units/trolls/whelp-ne.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
start_time=-300
|
||||
offset=0.0:150,0.0~0.6:150,0.6~0.0:200
|
||||
[frame]
|
||||
image="units/human-outlaws/footpad.png:50"
|
||||
[/frame]
|
||||
[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]
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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]
|
||||
|
|