Better graphics for the dwarvish miner.

This commit is contained in:
Lari Nieminen 2009-01-28 20:56:56 +00:00
parent 20c52979b8
commit 9e8053c9d6
12 changed files with 80 additions and 9 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View file

@ -4,6 +4,7 @@
name= _ "Dwarvish Miner"
race=dwarf
image=units/dwarves/miner.png
{MAGENTA_IS_THE_TEAM_COLOR}
hitpoints=25
movement_type=dwarvishfoot
movement=5
@ -15,7 +16,26 @@
cost=19
usage=fighter
description= _ "Dwarvish miners are the grunt workers of Dwarvish society. They take the precious ores out of the ground, but do not ever take part in the crafting of weapons or artifacts."
{DEFENSE_ANIM "units/dwarves/miner.png" "units/dwarves/miner.png" {SOUND_LIST:DWARF_HIT} }
{DEFENSE_ANIM_FILTERED "units/dwarves/miner-defend.png" "units/dwarves/miner.png" {SOUND_LIST:DWARF_HIT} (
[not]
role=loaded
[or]
role=has_coal
[/or]
[or]
role=has_gold
[/or]
[/not]
)}
{DEFENSE_ANIM_FILTERED "units/dwarves/miner-laden-defend.png" "units/dwarves/miner-laden.png" {SOUND_LIST:DWARF_HIT} (
role=loaded
[or]
role=has_coal
[/or]
[or]
role=has_gold
[/or]
)}
die_sound={SOUND_LIST:DWARF_DIE}
[attack]
name=pick
@ -29,7 +49,6 @@
[standing_anim]
[filter]
role=loaded
# These roles are associated with Scepter of Fire
[or]
role=has_coal
[/or]
@ -40,7 +59,7 @@
start_time=0
[frame]
duration=1000
image=units/dwarves/miner-withstuff.png
image=units/dwarves/miner-laden.png
[/frame]
[/standing_anim]
@ -50,7 +69,6 @@
[filter]
[not]
role=loaded
[or]
role=has_coal
[/or]
@ -69,17 +87,28 @@
[filter_attack]
name=pick
[/filter_attack]
[filter]
[not]
role=loaded
[or]
role=has_coal
[/or]
[or]
role=has_gold
[/or]
[/not]
[/filter]
[frame]
begin=-200
end=-100
image=units/dwarves/miner-attack.png
image=units/dwarves/miner-attack-1.png
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image=units/dwarves/miner-attack2.png
image=units/dwarves/miner-attack-2.png
sound=axe.ogg
[/frame]
[/if]
@ -87,15 +116,57 @@
hits=no
[frame]
begin=-100
end=100
image=units/dwarves/miner-attack2.png
end=150
image=units/dwarves/miner-attack-2.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=100
begin=150
end=175
image=units/dwarves/miner.png
[/frame]
[/attack_anim]
[attack_anim]
[filter_attack]
name=pick
[/filter_attack]
[filter]
role=loaded
[or]
role=has_coal
[/or]
[or]
role=has_gold
[/or]
[/filter]
[frame]
begin=-200
end=-100
image=units/dwarves/miner-laden-attack-1.png
[/frame]
[if]
hits=yes
[frame]
begin=-100
end=100
image=units/dwarves/miner-laden-attack-2.png
sound=axe.ogg
[/frame]
[/if]
[else]
hits=no
[frame]
begin=-100
end=150
image=units/dwarves/miner-laden-attack-2.png
sound={SOUND_LIST:MISS}
[/frame]
[/else]
[frame]
begin=150
end=175
image=units/dwarves/miner-laden.png
[/frame]
[/attack_anim]
[/unit_type]