Skip to content

Instantly share code, notes, and snippets.

@Canop
Created April 1, 2023 13:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Canop/617e2ecd86c2710833974c6b824f034c to your computer and use it in GitHub Desktop.
Save Canop/617e2ecd86c2710833974c6b824f034c to your computer and use it in GitHub Desktop.
#textdomain wesnoth-units
[unit_type]
id=Galo 0
name= _ "Apprenti coureur des bois"
race=elf
gender=male
image="units/elves-wood/archer.png"
small_profile="portraits/elves/archer.webp~CROP(0,40,360,360)"
profile="portraits/elves/archer.webp"
hitpoints=20
movement_type=woodland
movement=6
experience=40
level=0
alignment=neutral
advances_to=null
cost=17
usage=archer
description= _ "C'est Galo!"
die_sound={SOUND_LIST:ELF_HIT}
[attack]
name=sword
description=_"sword"
icon=attacks/sword-elven.png
type=blade
range=melee
damage=4
number=2
[/attack]
[attack]
name=bow
description=_"bow"
icon=attacks/bow-elven.png
type=pierce
range=ranged
damage=4
number=3
[/attack]
{DEFENSE_ANIM_RANGE "units/elves-wood/archer-sword-defend.png" "units/elves-wood/archer-sword.png" {SOUND_LIST:ELF_HIT} melee }
{DEFENSE_ANIM_RANGE "units/elves-wood/archer-bow-defend.png" "units/elves-wood/archer-bow.png" {SOUND_LIST:ELF_HIT} ranged }
[attack_anim]
[filter_attack]
name=bow
[/filter_attack]
missile_start_time=-150
[missile_frame]
duration=150
image="projectiles/missile-n.png"
image_diagonal="projectiles/missile-ne.png"
[/missile_frame]
start_time=-445
[frame]
image="units/elves-wood/archer-bow.png:65"
[/frame]
{SOUND:HIT_AND_MISS bow.ogg bow-miss.ogg -380}
[frame]
image="units/elves-wood/archer-bow-attack[1~4].png:[75*2,100,130]"
[/frame]
[frame]
image="units/elves-wood/archer-bow.png:65"
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=sword
[/filter_attack]
start_time=-200
[frame]
image="units/elves-wood/archer-sword.png:25"
[/frame]
[frame]
image="units/elves-wood/archer-sword-[1~4].png:[100,150,50*2]"
[/frame]
{SOUND:HIT_AND_MISS {SOUND_LIST:SWORD_SWISH} {SOUND_LIST:MISS} -75}
[frame]
image="units/elves-wood/archer-sword.png:25"
[/frame]
[/attack_anim]
[idle_anim]
{STANDARD_IDLE_FILTER}
start_time=0
[frame]
image="units/elves-wood/archer-idle-[1~6,3~6,3~6,2,1].png:100"
[/frame]
[/idle_anim]
[/unit_type]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment