maxslope (moveinfo.tdf), angular, relative, or percent?

maxslope (moveinfo.tdf), angular, relative, or percent?

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
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

maxslope (moveinfo.tdf), angular, relative, or percent?

Post by Caydr »

The maxslope tag in moveinfo, does it refer to:

-maximum tolerable slope angle (90 being straight up)
-maximum tolerable slope grade (100 being straight up)
-maximum tolerable relative height difference from one side of the unit to the other (potentially infinite)

Won't be testing it because I'm not getting caught holding a protractor up to my screen.
User avatar
Evil4Zerggin
Posts: 557
Joined: 16 May 2007, 06:34

Re: maxslope (moveinfo.tdf), angular, relative, or percent?

Post by Evil4Zerggin »

The number of degrees a unit can climb is maxSlope * 1.5. Don't ask me why it's times 1.5, it's just the way it is.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6242
Joined: 29 Apr 2005, 01:14

Re: maxslope (moveinfo.tdf), angular, relative, or percent?

Post by FLOZi »

Zerg knows all.
Zerg sees all.

Also, Caydr, learn to post these threads in Mod Dev where they belong?
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: maxslope (moveinfo.tdf), angular, relative, or percent?

Post by Caydr »

Just to be safe, I should ask: is the same system used in unit definitions?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: maxslope (moveinfo.tdf), angular, relative, or percent?

Post by Forboding Angel »

yes
Post Reply

Return to “Game Development”