Page 1 of 1

How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 20:56
by smoth
This is a video showing 82.6 compared to 91

Image
click for video

Note how the old engine, I had curving arcs and graceful movement.

The unit defs have not changed but the engine has. What do I need to do in order to get my old behavior BACK?

Re: How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 20:57
by FLOZi
turnInPlace = false?

Or more drastic: http://springrts.com/wiki/Modrules.lua# ... ndMoveType

edit: herp didn't watch it

Re: How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 21:02
by smoth
FLOZi wrote:turnInPlace = false?

Or more drastic: http://springrts.com/wiki/Modrules.lua# ... ndMoveType
flozi..
bool useClassicGroundMoveType Default: false New in version 89.0
A ticket back to unit movement circa 2009: no reversing, no turninplace = false, no smooth collision handling, no nothing. For comparison of pathfinding code.

Re: How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 21:05
by FLOZi
Long day :oops:

Re: How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 21:08
by smoth
It's ok, at least you replied.

Re: How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 21:10
by knorke
did you look at that yet
[20:55:28] <[blend]emmanuel> turnInPlaceSpeedLimit=0.0,-- Default: A complex formula based on turnRate and maxVelocity
[20:55:28] <[blend]emmanuel> --For units with turnInPlace = false, this defines the minimum speed it will slow down to (the speed at which the turn is actually performed can be higher depending on the angular difference and turnRate).
[20:55:28] <[blend]emmanuel> --float
[20:55:28] <[blend]emmanuel> turnInPlaceAngleLimit=0.0,-- Default: 0.0 New in version 86.0
[20:55:28] <[blend]emmanuel> --For units with turnInPlace = true, defines the maximum angle (in degrees) of a turn above which it starts to brake.
[19:59:48] <[2up]knorke> try lower values for brakerate and acc
vehicles in 0k still drive arcs example: corgator and that bike thing

Re: How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 21:10
by Kloot
look into the turnInPlaceSpeedLimit tag

Re: How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 21:14
by smoth
Kloot wrote:look into the turnInPlaceSpeedLimit tag
Thanks! Will do!

Re: How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 21:36
by FLOZi

Re: How do i get the old turn in place behavior?

Posted: 25 Feb 2013, 21:44
by smoth
it worked, so this is one issue knocked out >:).

thanks kloot!