Quantcast
Channel: The Battle for Wesnoth Forums
Viewing all articles
Browse latest Browse all 1990

Art Contributions • Re: New saurian units

$
0
0
Don't know how I missed this before, but undead saurians lack a lot of the animations. I can't imagine how death could stop saurians from bobbing.
zombie-saurian-standing.gif
I did a basic standing animation for the Lv0 zombie saurian. To match the mounted zombie and cat, I made 7 frames with the second frame repeating at the end (i.e. [1~7,2] in WML). I tried to do some subtle robe animation as well, but it's difficult to make it smooth without it looking off or barely noticeable. Let me know if it needs any adjustments or if you have any comments regarding the robe movement, doofus-01.

EDIT: Max pointed out that the elbow on the left of the sprite seems to be disappearing in some of the frames, this is because the current base image that I used for animation has this large straight line as the arm outline. I added an outstretched elbow in some of the frames to make the forearm movement seem more natural. I could look into changing the base arm slightly on the frames where the forearm is not raised if you think it's necessary.

---

If I'm understanding WML correctly, my only worry is that the frame length is hardcoded in the standing animation definition:

Code:

    [standing_anim]        [filter]            #included are the base unit and variation="mounted" and "cat"            [not]                variation="ant,bat,beast_rider,boar,bug,drake,dwarf,falcon,fish,goblin,gryphon,horse,rat,sand_scorpion,saurian,scorpion,serpent,spider,swimmer,troll,wolf,wose"            [/not]        [/filter]        start_time=0        [frame]            image="units/undead/{BASE_NAME}-standing-[1~7,2].png~{IPF}({ARG}):[580,980,600,430,350*2,420,720]"        [/frame]    [/standing_anim]
Seems like a large delay between each frame that doesn't really fit more dynamic movement like saurians' bobbing. For comparison, saurian idle macro (and the gif I attached) has a delay of 200ms between frames. Should I attempt to parametrize the UNIT_BODY_WALKING_CORPSE_GRAPHICS macro with customizable animation length, or do an override specific to the saurian variant?

EDIT: Also removed custom stats from here, turns out they already have modified defenses/resistances in game and I missed it.
zombie-saurian-standing.zip

Statistics: Posted by Talentless — Yesterday, 7:25 pm



Viewing all articles
Browse latest Browse all 1990

Trending Articles