vegastrike / Vega-Strike-Engine-Source

Vega Strike Engine
Other
259 stars 43 forks source link

Autopilot struggles to reach some targets #343

Open evertvorster opened 4 years ago

evertvorster commented 4 years ago

The main symptom is that the auto pilot will get to approximately 10,000 metres of the target, then veer off course. If left to it's own devices, it will go in various different directions, but never towards the target.

Not quite sure what it's up to. First I thought it was related to using GCNT:TRAVEL and arriving at too high a velocity for the autopilot to handle, but I have just seen this behavior with a Llama traveling at 125 whatchamacallits.

Upon nearing the last base I tested, I also noticed SPEC not tapering off smoothly.... like it was not quite sure how far away the target was, and coming to a jerky stop... Not sure if that might throw off the autopilot?

stephengtuggy commented 4 years ago

I'm wondering if it has something to do with the collision avoidance system fighting with the autopilot. I haven't seen this happen with planets, only with bases. Does that match your observations, @evertvorster ?

It's almost like the game thinks that the base is another ship, and it's trying to avoid crashing into it, or something.

BenjamenMeyer commented 4 years ago

@evertvorster do you have the experimental auto-dock enabled? Wonder if that is coming into play as well?

evertvorster commented 4 years ago

@BenjamenMeyer The autodock feature has been disabled. I have not had much time to play-test lately. My sincere apologies. Things are a little crazy now, but I do hope to be able to assign more of my time to Vega Strike again soon.

evertvorster commented 3 years ago

This issue is still present... just tested it with a brand new game. Loaded booze onto a Llama, up to about 147% base mass, and autopiloted over to Serenity. It detracts quite a bit from gameplay.

If "feels" as if there is a lot of slip... ie, the ship does not have enough reverse thrust to slow it down, then it changes course and paradoxially speeed up.

The way I imagine SPEC to work is that it compresses space, and so the momentum that you carry in should equal the momentum you carry out when you stop compressing space. At least, that's what it felt like the first couple of months that I was playing in 2020.

Something definitely has changed in the way the vessel behaves since then....

stephengtuggy commented 3 years ago

I think there might be two separate issues here.

  1. the auto pilot will get to approximately 10,000 metres of the target, then veer off course. (In other words, it doesn't go far enough.)
  1. The auto pilot doesn't slow down soon enough, causing it to overshoot the target (often by many kilometres) and have to turn around and come back.