addShipsToRoute
method adds a ship to a route, "within scanner range of this position" (although it isn't exactly clear what 'this position' means in the context).Anyway, my expectation was the ships would be added within scanner range of the exact line between the two end points specified.
However, this isn't the case. I just spawned six ships using
addShipsToRoute
. Two of them were added outside the scanner range of someone flying close to the middle of the corridor, namely:
Code: Select all
> system.addShipsToRoute("flying_dutchman_runner", 1, 0.25, "wp")
[[Ship "Cobra Mark I" position: (9152.73, -37698, 109562) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]]
> system.addShipsToRoute("asteroid", 1, 0.25, "wp")
[[Ship "Asteroid" position: (32762.1, 4983.98, 135037) scanClass: CLASS_ROCK status: STATUS_IN_FLIGHT]]
As a scripter, when using
addShipsToRoute
and addGroupToRoute
, my intention is to spawn something which the player will be likely to meet on his way to the planet (or the sun). If one third of the time he won't, the methods become essentially useless for me. Therefore I would plead for reducing the spawning radius of the methods to 25600 meters from the straight line. Maybe 30000. But almost 39000 meters like in the first example is too much.