From bae200d575758727d7a423067ce64bbdc13e6798 Mon Sep 17 00:00:00 2001 From: Richard Kettering Date: Mon, 7 Jan 2008 06:10:29 +0000 Subject: [PATCH] Touched up orcish grunt and warrior animations, added offset tweaks. --- data/core/units/orcs/Grunt.cfg | 121 +++++++------------------------ data/core/units/orcs/Warrior.cfg | 58 +++++++++------ 2 files changed, 62 insertions(+), 117 deletions(-) diff --git a/data/core/units/orcs/Grunt.cfg b/data/core/units/orcs/Grunt.cfg index 4df0a4e2466..05d2cb19189 100644 --- a/data/core/units/orcs/Grunt.cfg +++ b/data/core/units/orcs/Grunt.cfg @@ -18,7 +18,7 @@ usage=fighter unit_description= _ "Orcish Grunts form the core of the orcish forces. Although slower than human or elven fighters, Grunts can deliver much more powerful blows, and take more hits before falling." die_sound={SOUND_LIST:ORC_DIE} - {DEFENSE_ANIM "units/orcs/grunt-defend.png" "units/orcs/grunt.png" {SOUND_LIST:ORC_HIT} } + {DEFENSE_ANIM "units/orcs/grunt-defend-2.png" "units/orcs/grunt-defend-1.png" {SOUND_LIST:ORC_HIT} } [death] start_time=0 [frame] @@ -67,122 +67,55 @@ [attack_filter] name=sword [/attack_filter] - direction=s + offset=0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75 + start_time=-300 [frame] - begin=-300 - end=-150 - image="units/orcs/grunt-attack-w1.png" + duration=50 + image="units/orcs/grunt.png" + [/frame] + [frame] + duration=50 + image="units/orcs/grunt-defend-1.png" + [/frame] + [frame] + duration=100 + image="units/orcs/grunt-attack-1.png" [/frame] [if] hits=yes [frame] - begin=-150 - end=0 - image="units/orcs/grunt-attack-w2.png" + duration=75 + image="units/orcs/grunt-attack-2.png" sound={SOUND_LIST:SWORD_SWISH} [/frame] [/if] [else] hits=no [frame] - begin=-150 - end=0 - image="units/orcs/grunt-attack-w2.png" + duration=75 + image="units/orcs/grunt-attack-2.png" sound={SOUND_LIST:MISS} [/frame] [/else] [frame] - begin=0 - end=100 - image="units/orcs/grunt-attack-w4.png" + duration=100 + image="units/orcs/grunt-attack-3.png" [/frame] [frame] - begin=100 - end=200 - image="units/orcs/grunt-attack-w5.png" - [/frame] - [/attack_anim] - [attack_anim] - [attack_filter] - name=sword - [/attack_filter] - direction=n - [frame] - begin=-300 - end=-150 - image="units/orcs/grunt-attack.png" - [/frame] - [if] - hits=yes - [frame] - begin=-150 - end=0 - image="units/orcs/grunt-attack-w3.png" - sound={SOUND_LIST:SWORD_SWISH} - [/frame] - [/if] - [else] - hits=no - [frame] - begin=-150 - end=0 - image="units/orcs/grunt-attack-w3.png" - sound={SOUND_LIST:MISS} - [/frame] - [/else] - [frame] - begin=0 - end=100 - image="units/orcs/grunt-attack-w4.png" + duration=20 + image="units/orcs/grunt-attack-4.png" [/frame] [frame] - begin=100 - end=200 - image="units/orcs/grunt-attack-w5.png" - [/frame] - [/attack_anim] - [attack_anim] - [attack_filter] - name=sword - [/attack_filter] - direction=ne,se,nw,sw - [frame] - begin=-300 - end=-200 - image="units/orcs/grunt-attack-w1.png" + duration=30 + image="units/orcs/grunt-attack-4.png" [/frame] [frame] - begin=-200 - end=-100 - image="units/orcs/grunt-attack-w2.png" - [/frame] - [if] - hits=yes - [frame] - begin=-100 - end=0 - image="units/orcs/grunt-attack-w3.png" - sound={SOUND_LIST:SWORD_SWISH} - [/frame] - [/if] - [else] - hits=no - [frame] - begin=-100 - end=0 - image="units/orcs/grunt-attack-w3.png" - sound={SOUND_LIST:MISS} - [/frame] - [/else] - [frame] - begin=0 - end=100 - image="units/orcs/grunt-attack-w4.png" + duration=75 + image="units/orcs/grunt-attack-5.png" [/frame] [frame] - begin=100 - end=200 - image="units/orcs/grunt-attack-w5.png" + duration=75 + image="units/orcs/grunt.png" [/frame] [/attack_anim] [/unit] diff --git a/data/core/units/orcs/Warrior.cfg b/data/core/units/orcs/Warrior.cfg index 16a125c56d2..92f14ad12f4 100644 --- a/data/core/units/orcs/Warrior.cfg +++ b/data/core/units/orcs/Warrior.cfg @@ -17,7 +17,7 @@ usage=fighter unit_description= _ "Having mastered the art of dual-sword fighting, Orcish Warriors are highly respected among the Orcs, and highly feared by their foes. Their only weakness is their inability to wield the bow." die_sound={SOUND_LIST:ORC_DIE} - {DEFENSE_ANIM "units/orcs/warrior-defend.png" "units/orcs/warrior.png" {SOUND_LIST:ORC_HIT} } + {DEFENSE_ANIM "units/orcs/warrior-defend-2.png" "units/orcs/warrior-defend-1.png" {SOUND_LIST:ORC_HIT} } [attack] name=greatsword description=_"greatsword" @@ -31,43 +31,55 @@ [attack_filter] name=greatsword [/attack_filter] + offset=0.0~0.15:100,0.15~0.35:100,0.35~0.45:75,0.45~0.5:100,0.5:20,0.5~0.4:30,0.4~0.2:75,0.2~0.0:75 + start_time=-300 [frame] - begin=-225 - end=-150 - image="units/orcs/warrior-attack-w1.png" + duration=50 + image="units/orcs/warrior.png" [/frame] [frame] - begin=-150 - end=-50 - image="units/orcs/warrior-attack-w2.png" + duration=50 + image="units/orcs/warrior-defend-1.png" + [/frame] + [frame] + duration=100 + image="units/orcs/warrior-attack-1.png" [/frame] [if] - hits=no + hits=yes [frame] - begin=-50 - end=50 - image="units/orcs/warrior-attack-w3.png" - sound={SOUND_LIST:MISS} + duration=75 + image="units/orcs/warrior-attack-2.png" + sound={SOUND_LIST:SWORD_SWISH} [/frame] [/if] [else] - hits=yes + hits=no [frame] - begin=-50 - end=50 - image="units/orcs/warrior-attack-w3.png" - sound={SOUND_LIST:SWORD_SWISH} + duration=75 + image="units/orcs/warrior-attack-2.png" + sound={SOUND_LIST:MISS} [/frame] [/else] [frame] - begin=50 - end=150 - image="units/orcs/warrior-attack-w4.png" + duration=100 + image="units/orcs/warrior-attack-3.png" [/frame] [frame] - begin=150 - end=200 - image="units/orcs/warrior-attack-w5.png" + duration=20 + image="units/orcs/warrior-attack-4.png" + [/frame] + [frame] + duration=30 + image="units/orcs/warrior-attack-4.png" + [/frame] + [frame] + duration=75 + image="units/orcs/warrior-attack-5.png" + [/frame] + [frame] + duration=75 + image="units/orcs/warrior.png" [/frame] [/attack_anim] [/unit]