Alright. It USED to work. But now, it seems that no matter what I do (call the move to position script, follow an object, move to position fly command), my ships will fly to the target, stop, and then start flying in little circles. Except, yknow, sometimes they don't. ARGH.
I've tried wildly varying precision settings, so I don't think thats it.
View the current editions of the scripts:
SentryPost, which calls the script that's borked.
LayLTTri, which is borked.
Problem with movement
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 483
- Joined: Fri, 5. Dec 03, 20:19
I think this might be a new feature for 1.3 because in the previous versions the ships would fly to the point and sit there. I've only noticed the ships moving to position and flying around if they were smaller than capships....I think it might be flying around to avoid being hit by patrolling capships or so they can avoid general traffic.
-
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28
-
- Posts: 483
- Joined: Fri, 5. Dec 03, 20:19
even on capital ships? everytime I use the command for them they move to and stop....Sandalpocalypse wrote:Hmmm...
Well, I just watched the ships closely, and while they are flying in little circles, the script is still executing and they are "moving to position". But it isn't getting to the rest of the script, it's stuck on the move command.
-
- Posts: 985
- Joined: Sun, 7. Dec 03, 05:15
-
- Posts: 483
- Joined: Fri, 5. Dec 03, 20:19
-
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28
-
- Posts: 5505
- Joined: Wed, 6. Nov 02, 20:31
what value are you using for precision?
the command will never finish if it's too small as the ship will never be able to get close enough, the collision avoidance kicks in and they fly round in circles trying to find a way to get closer.
For small objects you can use a precision of a a few hundred meters, for larger objects it needs to be in kilometers, for gates I think it's over 5000m
For fly to position if it's too small some ships overshoot and continually circle trying to get into position, again you need to use a precision of at least a couple of hundred I think.
the command will never finish if it's too small as the ship will never be able to get close enough, the collision avoidance kicks in and they fly round in circles trying to find a way to get closer.
For small objects you can use a precision of a a few hundred meters, for larger objects it needs to be in kilometers, for gates I think it's over 5000m
For fly to position if it's too small some ships overshoot and continually circle trying to get into position, again you need to use a precision of at least a couple of hundred I think.