Movement Cost and animation complain

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
ced_ne
Posts: 46
Joined: September 18th, 2006, 2:38 am
Location: France

Movement Cost and animation complain

Post by ced_ne »

Hi !

I've some problem with movement cost / movement animation speed...

Movement Cost must be an integer, so I couldn't set it to 1.5 in my campaign (for forest)...
So I've multiply by 2, both movement cost and movement point for each units... but in game, the movement animation is *very* slow and bored me...

How to deal with animation speed in WML ?

Thanks.

(Sorry about my bad english spoken)
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Re: Movement Cost and animation complain

Post by zookeeper »

ced_ne wrote:How to deal with animation speed in WML ?
You can't. The movement animation speed always correlates directly with the movement costs.

However, I find it a bit surprising that you find the speed that slow. Would using accelerated mode be an option (of course, it then also accelerates all other animations too, but you can still toggle it on and off temporarily by holding shift)?
ced_ne
Posts: 46
Joined: September 18th, 2006, 2:38 am
Location: France

Post by ced_ne »

Ah... too bad...

Thank you for answer me zookeeper. :)
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

Post by Boucman »

this will probably change in 1.3 timeframe...
Fight key loggers: write some perl using vim
User avatar
Elvish_Pillager
Posts: 8129
Joined: May 28th, 2004, 10:21 am
Location: Everywhere you think, nowhere you can possibly imagine.
Contact:

Post by Elvish_Pillager »

Simple solution - Multiply the animation speed by the number of moves that the unit has, and divide it by 5 (to keep it the same for normal units.)
It's all fun and games until someone loses a lawsuit. Oh, and by the way, sending me private messages won't work. :/ If you must contact me, there's an e-mail address listed on the website in my profile.
ced_ne
Posts: 46
Joined: September 18th, 2006, 2:38 am
Location: France

Post by ced_ne »

Hello Elvish Pillager,
I don't understand, where can we multiply the animation speed ?
In the [movement_anim] tag ? (there is nothing about this in the wiki)
Or is there a general setup for movement speed ? ...
Last edited by ced_ne on September 19th, 2006, 10:05 am, edited 1 time in total.
User avatar
zookeeper
WML Wizard
Posts: 9742
Joined: September 11th, 2004, 10:40 pm
Location: Finland

Post by zookeeper »

ced_ne wrote:Hello Elvish Pillager,
I don't understand, where can we multiply the animation speed ?
In the [movement_anim] tag ?
Or is there a general setup for movement speed ? ...
He was talking about how the game engine might calculate the movement speed for units.
Post Reply