when a ship is painted, i start up oolite and go first to gallery ( very handy ) but the ship can still
look a little different ingame
So for educational purpose ingame viewing I would like to spawn a specific ship,
I am looking for script/code which spawns 5x the same ship on different positions at a radius of 3000 units surrounding the station
and which does this unconditional, so not 1 or 2 or 5 but 5...
Can I suggest, if you need to do test spawning of ships, that you investigate the JavaScript Debug Console? It makes your life so much easier when it comes to running test scripts. See this thread: https://bb.oolite.space/viewtopic.php?t=4589
cbr wrote:
I am using this mischmasch mix, but it is not always certain a ship is spawned even after several station launches...
Remember, if you use system.addShips("rolename", <etc>), Oolite will pick a random ship from any ship that has that role, based on the frequency, which means you might not get the ship you actually want. If you want a specific ship spawned, get the ship data key from the shipdata.plist file, and use the form system.addShips("[shipdatakey]", <etc>) instead.
and you are set. If you want to approach the ship and admire it without worrying about it escaping (or opeining fire on you), you can spawn it and immediately execute on the console:
The T is an automatic variable that refers to whatever ship has just been generated.
When docked, you can also use the :test macro, which has the exact same parameters as :spawn (i.e. ship key in brackets or ship role) and creates a mission screen with the requested ship rotating in the middle. This is the best way of showing the ship in detail.
Currently using the 'oolite-debug-console-master' with pySimpleConsole.py and the ': spawn' command
which neatly adds the required ship in the current system