Scripting and CMD_SET_MAX_WANTED_SPEED

Scripting and CMD_SET_MAX_WANTED_SPEED

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
ILMTitan
Spring Developer
Posts: 410
Joined: 13 Nov 2004, 08:35

Scripting and CMD_SET_MAX_WANTED_SPEED

Post by ILMTitan »

I described what I wanted to do to CMD_SET_MAX_WANTED_SPEED here. I'm not sure how many scripters read the dev forum, and I would like to know how big of a pain it would be if CMD_SET_MAX_WANTED_SPEED only affected movement that came after it in the command queue.
(Disclaimer: I know next to nothing about scripting)
User avatar
Snipawolf
Posts: 4357
Joined: 12 Dec 2005, 01:49

Post by Snipawolf »

Well, thats what I wouldn't want.. When my infantry take so much damage, they lose speed.. So I hope the change in instantaneous..
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

If this is about MAX_SPEED (75), it would be good if it changed on the spot. Also an idea is to use a percentage value, i.e. set 75 1.0 = 100%, 0.5 = 50% etc. Just an idea though, can be done with scripting either (if get 75 gets properly implemented as well).
Post Reply

Return to “Game Development”