Slight animation/graphical niggle - walking on water
Moderator: Forum Moderators
Forum rules
Before posting a new idea, you must read the following:
Before posting a new idea, you must read the following:
- thespaceinvader
- Retired Art Director
- Posts: 8414
- Joined: August 25th, 2007, 10:12 am
- Location: Oxford, UK
- Contact:
Slight animation/graphical niggle - walking on water
Firstly, let me mention: i'm new to the game and forum, so sorry if this is in the wrong place or anything of that nature (if it is, please move it to the appropriate place, thanks =)). I did a quick search and couldn't find anything that seemed to match this, so also sorry if it's been posted before...
It concerns those flying units (the only ones i've noticed so far are Drakes and Gryphons) which land at the end of their movement (as opposed to bats etc which don't). When they land on water, they appear to walk/stand/float on the surface, which looks decidedly odd to me.
It seems to me that two possible solutions to this problem exist - one would be to have the units use their flying animation/frame when stopped over water - as i understand it, this ought to be possible for (most of) the drakes, as i think they fit into the hex when they're moving, but not for gryphons, which do not. The second would be to have them use the same half-submerged look as the other units when they land in water.
Can anybody shed some light on whether this is possible for me? Thanks.
It concerns those flying units (the only ones i've noticed so far are Drakes and Gryphons) which land at the end of their movement (as opposed to bats etc which don't). When they land on water, they appear to walk/stand/float on the surface, which looks decidedly odd to me.
It seems to me that two possible solutions to this problem exist - one would be to have the units use their flying animation/frame when stopped over water - as i understand it, this ought to be possible for (most of) the drakes, as i think they fit into the hex when they're moving, but not for gryphons, which do not. The second would be to have them use the same half-submerged look as the other units when they land in water.
Can anybody shed some light on whether this is possible for me? Thanks.
Animations can be filtered by terrain so it should be possible I'd guess. Just some special casing to have them use an alternate frame for standing while over water. Of course, the required art needs to be present as well.
WesCamp-i18n - Translations for User Campaigns:
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!
http://www.wesnoth.org/wiki/WesCamp
Translators for all languages required: contact me. No geek skills required!
Actually, it'd be really ackward to do it in WML.torangan wrote:Animations can be filtered by terrain so it should be possible I'd guess. Just some special casing to have them use an alternate frame for standing while over water. Of course, the required art needs to be present as well.
I'm not quite sure how this one could be solved. It doesn't indeed make any sense for a drake or gryphon to stand on the water, as they're not flying in their base frames (unlike bats and ghosts for example). Movement animations for these units would still need to be "floated", but the standing animations/frames not.
IIRC Drakes don't fly, they kind of glide and jump along the ground, and when they're in water they kind of swim along the top... so the drakes-on-water could actually show them submerged. I really don't know what I'm talking about though.
For I am Turin Turambar - Master of Doom, by doom mastered. On permanent Wesbreak. Will not respond to private messages. Sorry!
And I hate stupid people.
The World of Orbivm
And I hate stupid people.
The World of Orbivm
- thespaceinvader
- Retired Art Director
- Posts: 8414
- Joined: August 25th, 2007, 10:12 am
- Location: Oxford, UK
- Contact:
it can't be done right now... (the is_flying flag is the one deciding if a unit can be submerged in water)
there are all sort of special cases in the animation code, and flying is one of them... it would be great to get rid of it, but it's not trivial.
I plan to do it when the rest of the anim engine is ready to have it, but the time has not yet come...
there are all sort of special cases in the animation code, and flying is one of them... it would be great to get rid of it, but it's not trivial.
I plan to do it when the rest of the anim engine is ready to have it, but the time has not yet come...
Fight key loggers: write some perl using vim
- thespaceinvader
- Retired Art Director
- Posts: 8414
- Joined: August 25th, 2007, 10:12 am
- Location: Oxford, UK
- Contact:
- thespaceinvader
- Retired Art Director
- Posts: 8414
- Joined: August 25th, 2007, 10:12 am
- Location: Oxford, UK
- Contact:
That was one of the workarounds i thought of myself (particularly for the Gryphons, which it strikes me, would be unlikely to be able to swim/be submerged and then actually take off again...) but i was under the impression that a basic standing (or in this case, flying) still frame had to fit inside the hex, which the gryphons' flying animations (and some of the Drakes' too i think) do not. Or am i wrong about that?
- thespaceinvader
- Retired Art Director
- Posts: 8414
- Joined: August 25th, 2007, 10:12 am
- Location: Oxford, UK
- Contact:
Try stopping one on top of chasm.turin wrote:IIRC Drakes don't fly, they kind of glide and jump along the ground, and when they're in water they kind of swim along the top... so the drakes-on-water could actually show them submerged. I really don't know what I'm talking about though.
CHKDSK has repaired bad sectors in CHKDSK.EXE
- thespaceinvader
- Retired Art Director
- Posts: 8414
- Joined: August 25th, 2007, 10:12 am
- Location: Oxford, UK
- Contact:
Dagnabit i knew i'd forgotten to mention something >.<
http://thespaceinvader.co.uk | http://thespaceinvader.deviantart.com
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
Back to work. Current projects: Catching up on commits. Picking Meridia back up. Sprite animations, many and varied.
true...thespaceinvader wrote:That was one of the workarounds i thought of myself (particularly for the Gryphons, which it strikes me, would be unlikely to be able to swim/be submerged and then actually take off again...) but i was under the impression that a basic standing (or in this case, flying) still frame had to fit inside the hex, which the gryphons' flying animations (and some of the Drakes' too i think) do not. Or am i wrong about that?
my way of diong won't work either...
well, you'll have to wait, then, I'm afraid..
Fight key loggers: write some perl using vim