UtBS small mudcrawler update
* Giving the melee attack a separate animation * cleaning up lines which are duplicates from the [base_unit]
This commit is contained in:
parent
aeac3fad89
commit
7954281a59
1 changed files with 9 additions and 47 deletions
|
@ -7,8 +7,9 @@
|
|||
id=Small Mudcrawler
|
||||
name= _ "Small Mudcrawler"
|
||||
|
||||
# NOTE: Both attacks are given here, since there didn't seem to be a way to
|
||||
# insert the extra attack before the existing ranged attack.
|
||||
# The first [attack] and [attack_anim] block assure the ranged attack animation of the base unit is kept
|
||||
[attack]
|
||||
[/attack]
|
||||
[attack]
|
||||
name=fist
|
||||
description= _"fist"
|
||||
|
@ -18,64 +19,25 @@
|
|||
damage=6
|
||||
number=1
|
||||
[/attack]
|
||||
[attack]
|
||||
name=mud glob
|
||||
description=_"mud glob"
|
||||
icon=attacks/mud-glob.png
|
||||
type=impact
|
||||
range=ranged
|
||||
damage=4
|
||||
number=3
|
||||
[/attack]
|
||||
|
||||
# The first [attack_anim] is needed to prevent the second one from
|
||||
# overwriting the base unit's ranged attack anim.
|
||||
[attack_anim]
|
||||
[/attack_anim]
|
||||
[attack_anim]
|
||||
[filter_attack]
|
||||
name=fist
|
||||
[/filter_attack]
|
||||
start_time=-400
|
||||
start_time=-250
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/monsters/mudcrawler-attack-1.png"
|
||||
image="units/monsters/mudcrawler.png:125"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/monsters/mudcrawler-attack-2.png"
|
||||
image="units/monsters/mudcrawler-attack-[1,2,1].png:[75*2,50]"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/monsters/mudcrawler-attack-3.png"
|
||||
[/frame]
|
||||
[if]
|
||||
hits=yes
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/monsters/mudcrawler-attack-4.png"
|
||||
sound=fist.ogg
|
||||
[/frame]
|
||||
[/if]
|
||||
[else]
|
||||
hits=no
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/monsters/mudcrawler-attack-4.png"
|
||||
sound={SOUND_LIST:MISS}
|
||||
[/frame]
|
||||
[/else]
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/monsters/mudcrawler-attack-5.png"
|
||||
image="units/monsters/mudcrawler-defend-1.png:125"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/monsters/mudcrawler-attack-2.png"
|
||||
[/frame]
|
||||
[frame]
|
||||
duration=100
|
||||
image="units/monsters/mudcrawler-attack-1.png"
|
||||
image="units/monsters/mudcrawler.png:25"
|
||||
[/frame]
|
||||
{SOUND:HIT_AND_MISS fist.ogg {SOUND_LIST:MISS} -100}
|
||||
[/attack_anim]
|
||||
[/unit_type]
|
||||
|
|
Loading…
Add table
Reference in a new issue