Per unit ability to ingore slow speed reduction.

Per unit ability to ingore slow speed reduction.

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Per unit ability to ingore slow speed reduction.

Post by smoth »

Units going up hills slow down.

This does not make sense on all units, can we have a tag to make it so a unit does not slow down traversing a hill? or at least adjust how much they are slowed down going up a hill?
User avatar
Jazcash
Posts: 5309
Joined: 08 Dec 2007, 17:39

Re: Per unit ability to ingore slow speed reduction.

Post by Jazcash »

This doesn't apply to which units exactly?
Regret
Posts: 2086
Joined: 18 Aug 2007, 19:04

Re: Per unit ability to ingore slow speed reduction.

Post by Regret »

JAZCASH wrote:This doesn't apply to which units exactly?
Snails.
User avatar
Evil4Zerggin
Posts: 557
Joined: 16 May 2007, 06:34

Re: Per unit ability to ingore slow speed reduction.

Post by Evil4Zerggin »

Already exists, if you don't mind making additional movetypes; use the slopemod tag in the movetype to control it. The higher the slopemod, the more the unit is slowed down by slopes. The default value is 4 / (1 - cos(maxSlope * 1.5)), which I believe makes the unit move at 1/4 speed at its maximum slope. Example (see HOVER3); here we have hovers with the maxSlope of walkers, but they are slowed down as vehicles.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: Per unit ability to ingore slow speed reduction.

Post by Caydr »

Neato, I didn't know about that. Careful Smoth, you'll get grouped in with people like me.

Odd isn't it, that slopemod is a large value rather than a multiplier? I would expect something like 0.5 to slow the unit down to half its normal but instead it would probably make it climb hills like chuck norris climbing the food chain.
Last edited by Caydr on 18 Aug 2009, 03:10, edited 1 time in total.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Per unit ability to ingore slow speed reduction.

Post by smoth »

Cool thank you for the info evil, I was unaware of it!

Caydr, we are all human we are not omniscient, it is ok.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Per unit ability to ingore slow speed reduction.

Post by lurker »

Is this horizontal speed? If so you'll still want a small bit of slopemod to keep them from speeding up on hills.
Post Reply

Return to “Feature Requests”