Pathing in 0.82.6.1-22-g071d382
Moderator: Moderators
Pathing in 0.82.6.1-22-g071d382
0.82.6.1-22-g071d382
Units with high maxVelocity and low turnRate path well but they will slow down alot everytime they turn regardless of turnInPlace=0.
It would be nice if turnInPlace=0 had a function.
Units drive down hills at normal speed.
Footprint values above 4 in movedefs.lua is considered as 4. Units with footprints above 4x4 will drive into features and units because they don't take any sizes above 4x4 when pathing.
Units sometimes disregard short distance but small paths for bigger and longer paths when they try to reach a destination. Sometimes they even seem to path over step cliffs.
Units with high maxVelocity and low turnRate path well but they will slow down alot everytime they turn regardless of turnInPlace=0.
It would be nice if turnInPlace=0 had a function.
Units drive down hills at normal speed.
Footprint values above 4 in movedefs.lua is considered as 4. Units with footprints above 4x4 will drive into features and units because they don't take any sizes above 4x4 when pathing.
Units sometimes disregard short distance but small paths for bigger and longer paths when they try to reach a destination. Sometimes they even seem to path over step cliffs.
Re: Pathing in 0.82.6.1-22-g071d382
It does.It would be nice if turnInPlace=0 had a function.
http://springrts.com/phpbb/viewtopic.ph ... 26#p455026
Translation: the value of turnInPlaceSpeedLimit (a unitdef tag like turnInPlace) now determines the minimum speed units with turnInPlace=0 will slow down to when turning. By default, this is set to maxVelocity / 5.
I trust you can guess the effect of raising turnInPlaceSpeedLimit too aggressively on "units with high maxVelocity and low turnRate".
Re: Pathing in 0.82.6.1-22-g071d382
I take it the new tag opens up some previously hardcoded value to us? (The same as the new default value perhaps?)
Re: Pathing in 0.82.6.1-22-g071d382
It's not a new tag, turnInPlaceSpeedLimit was added around the same time as turnInPlace itself. What it does now have is a second purpose (the first one being to keep turns in place when a unit is *not* already moving faster than turnInPlaceSpeedLimit).
The old hardcoded default was 0.5 elmos per frame, which I don't think anyone will mind being changed.
The old hardcoded default was 0.5 elmos per frame, which I don't think anyone will mind being changed.
Re: Pathing in 0.82.6.1-22-g071d382
Ah cool, was not aware of this tag before.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Pathing in 0.82.6.1-22-g071d382
By this do you mean units still slow to almost a stop just before they are pointing in the right direction?It would be nice if turnInPlace=0 had a function.
Re: Pathing in 0.82.6.1-22-g071d382
They do almost slow down to 0.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Pathing in 0.82.6.1-22-g071d382
TurnInPlace = 0 seems to be broken 0.82.7. What do I need to do with these new tags to replicate the behaviour when it still worked (0.82.6)? I would like a unit that turns at maximum speed.
Re: Pathing in 0.82.6.1-22-g071d382
It seems reading is a lost art.
turnInPlaceSpeedLimit ... not a new tag ... second purpose
determines speed units with turnInPlace=0 will slow down to when turning
==>a unit that turns at maximum speed
Code: Select all
turnInPlaceSpeedLimit = maxVelocity
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Pathing in 0.82.6.1-22-g071d382
No, it's definitely broken. A unit who is turninplace false will practically stop every time it receives a new order even if the order only changes it's direction by 45 degrees or so, regardless of whether turnInPlaceSpeedLimit is set or not.
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: Pathing in 0.82.6.1-22-g071d382
Have you actually tried this? Because I tried it before posting as it seemed like the obvious solution but it did not affect anything.Kloot wrote:Code: Select all
turnInPlaceSpeedLimit = maxVelocity
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Pathing in 0.82.6.1-22-g071d382
+1, exact results I got as wellGoogle_Frog wrote:Have you actually tried this? Because I tried it before posting as it seemed like the obvious solution but it did not affect anything.Kloot wrote:Code: Select all
turnInPlaceSpeedLimit = maxVelocity
Re: Pathing in 0.82.6.1-22-g071d382
If either of you get the chance, test this master build (run the full installer).
- KingRaptor
- Zero-K Developer
- Posts: 838
- Joined: 14 Mar 2007, 03:44
Re: Pathing in 0.82.6.1-22-g071d382
turnInPlace works well in this build.Kloot wrote:If either of you get the chance, test this master build (run the full installer).
However, it has the unrelated issue of completely invisible units (except black areas where the teamcolor should be) on my hardware (ATI 4850, Catalyst 10.11 drivers).