Skip to content

Commit

Permalink
THoT: add masked berserker and ulfserker sprites
Browse files Browse the repository at this point in the history
  • Loading branch information
nemaara committed Mar 9, 2019
1 parent 5c93985 commit e23e352
Show file tree
Hide file tree
Showing 32 changed files with 212 additions and 0 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.
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.
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.
@@ -0,0 +1,107 @@
#textdomain wesnoth-thot
[unit_type]
id=Dwarvish Masked Berserker
name= _ "Dwarvish Masked Berserker"
race=dwarf
image="units/masked_berserker.png"
hitpoints=48
movement_type=dwarvishfoot
movement=5
experience=100
level=2
alignment=neutral
advances_to=null
{AMLA_DEFAULT}
cost=33
usage=fighter
#textdomain wesnoth-units
description= _ "Berserkers are a rare caste of Dwarves, who work themselves into a towering rage before combat. These warriors disdain all notion of defense, thinking only of the unrelenting assaults for which they are legendary."+{SPECIAL_NOTES}+{SPECIAL_NOTES_BERSERK}
die_sound={SOUND_LIST:DWARF_DIE}
[standing_anim]
start_time=0
[frame]
image="units/masked_berserker-bob[1~6].png:200"
[/frame]
[/standing_anim]
{DEFENSE_ANIM "units/masked_berserker.png" "units/masked_berserker.png" {SOUND_LIST:DWARF_HIT} }
[defense]
hills=60
mountains=50
village=60
cave=60
castle=60
[/defense]
[attack]
name=berserker frenzy
description=_"berserker frenzy"
icon=attacks/frenzy.png
type=blade
[specials]
{WEAPON_SPECIAL_BERSERK}
[/specials]
range=melee
damage=7
number=4
[/attack]

# this animation isn't implemented
#[idle_anim]
# {STANDARD_IDLE_FILTER}
# start_time=0
# [frame]
# image="units/masked_berserker-idle-[1~10,9~12,11,13,15,14,16,2,1].png:[100*8,200,100,300,100*2,400,100*2,500,100*4]"
# [/frame]
#[/idle_anim]
[attack_anim]
[filter_attack]
name=berserker frenzy
[/filter_attack]
[if]
[filter_second_attack]
[/filter_second_attack]
value_second=1
### all units with any melee attack (because the dwarf's attack is melee) will pass the above filter, and execute this block instead of the following block

start_time=-240
offset=0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30
[/if]

[else]
# right now the masked berserker's laugh animation isn't implemented, so just use the typical attack animation
value_second=1
start_time=-240
offset=0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30

### when a unit with no melee attack is attacked by a berzerk unit, they are highly likely to die. We play an easter egg when this happens - the zerk looks at the victim for a moment, and then lets out a diabolical laugh.
#start_time=-3640
#offset=0.0~0.0:3400,0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30

#value_second=1
#[frame]
# image="units/masked_berserker.png:200"
#[/frame]
#[frame]
# image="units/masked_berserker-laugh-1.png:400"
#[/frame]
#[frame]
# image="units/masked_berserker-laugh-[2,1,2,1,2,1,2,1,2,1,2,1,2,1].png:200"
# sound=dwarf-laugh.wav
#[/frame]
[/else]
[else]
start_time=-241
[frame]
image="units/masked_berserker.png:1"
[/frame]
[/else]

[frame]
image="units/masked_berserker-attack-[1~8,1].png:[40,50*4,60,40,30*2]"
[/frame]
[frame]
image="units/masked_berserker.png:30"
[/frame]

{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[/unit_type]
@@ -0,0 +1,105 @@
#textdomain wesnoth-thot
[unit_type]
id=Dwarvish Masked Ulfserker
name= _ "Dwarvish Masked Ulfserker"
# wmllint: general spelling ulfserker
race=dwarf
image="units/masked_ulfserker.png"
hitpoints=34
movement_type=dwarvishfoot
movement=5
experience=42
level=1
alignment=neutral
advances_to=Dwarvish Berserker
cost=19
usage=fighter
#textdomain wesnoth-units
description= _ "Dwarves are an ancient race of powerful fighters. Ulfserkers are the most ferocious of these; in battle, they will work themselves into a blind rage wherein they feel neither fear nor pain, and will pay no heed to any wounds they receive."+{SPECIAL_NOTES}+{SPECIAL_NOTES_BERSERK}
die_sound={SOUND_LIST:DWARF_DIE}
{DEFENSE_ANIM "units/masked_ulfserker.png" "units/masked_ulfserker.png" {SOUND_LIST:DWARF_HIT} }
[defense]
hills=60
mountains=50
village=60
cave=60
castle=60
[/defense]
[attack]
name=berserker frenzy
description=_"berserker frenzy"
icon=attacks/frenzy.png
type=blade
[specials]
{WEAPON_SPECIAL_BERSERK}
[/specials]
range=melee
damage=4
number=4
[/attack]
[standing_anim]
start_time=0
[frame]
image="units/masked_ulfserker-bob-[1~6].png:200"
[/frame]
[/standing_anim]
# this animation isn't implemented yet
#[idle_anim]
# {STANDARD_IDLE_FILTER}
# start_time=0
# [frame]
# image="units/masked_ulfserker-idle-[1~6,3,5,6,3~1].png:[100*2,200,100*2,300,200*2,300,200,100*2]"
# [/frame]
#[/idle_anim]
[attack_anim]
[filter_attack]
name=berserker frenzy
[/filter_attack]

[if]
[filter_second_attack]
[/filter_second_attack]
value_second=1
### all units with any melee attack (because the dwarf's attack is melee) will pass the above filter, and execute this block instead of the following block

start_time=-240
offset=0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30
[/if]
[else]
value_second=1

start_time=-240
offset=0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30

# this animation isn't implemented yet
### when a unit with no melee attack is attacked by a berzerk unit, they are highly likely to die. We play an easter egg when this happens - the zerk looks at the victim for a moment, and then lets out a diabolical laugh.

#start_time=-3640
#offset=0.0~0.0:3400,0.0~-0.15:20,-0.15~0.1:30,0.1~0.5:190,0.5~0.6:30,0.6~0.6:30,0.6~0.15:100,0.15~0.0:30

#value_second=1
#[frame]
# image="units/masked_ulfserker.png:200"
#[/frame]
#[frame]
# image="units/masked_ulfserker-laugh-1.png:400"
#[/frame]
#[frame]
# image="units/masked_ulfserker-laugh-[2,1,2,1,2,1,2,1,2,1,2,1,2,1].png:200"
# sound=dwarf-laugh.wav
#[/frame]
[/else]
[else]
start_time=-241
[frame]
image="units/masked_ulfserker.png:1"
[/frame]
[/else]

[frame]
image="units/masked_ulfserker-attack-[1~8,1].png:[40,50*4,60,40,30*2]"
[/frame]

{SOUND:HIT_AND_MISS axe.ogg {SOUND_LIST:MISS} -50}
[/attack_anim]
[/unit_type]

0 comments on commit e23e352

Please sign in to comment.