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?
Per unit ability to ingore slow speed reduction.
Moderator: Moderators
Re: Per unit ability to ingore slow speed reduction.
This doesn't apply to which units exactly?
Re: Per unit ability to ingore slow speed reduction.
Snails.JAZCASH wrote:This doesn't apply to which units exactly?
- Evil4Zerggin
- Posts: 557
- Joined: 16 May 2007, 06:34
Re: Per unit ability to ingore slow speed reduction.
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.
Re: Per unit ability to ingore slow speed reduction.
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.
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.
Re: Per unit ability to ingore slow speed reduction.
Cool thank you for the info evil, I was unaware of it!
Caydr, we are all human we are not omniscient, it is ok.
Caydr, we are all human we are not omniscient, it is ok.
Re: Per unit ability to ingore slow speed reduction.
Is this horizontal speed? If so you'll still want a small bit of slopemod to keep them from speeding up on hills.