Shipbuilder wrote:Therefore in order to kick off the thread does anyone know what the command is to spawn a particular type of ship ?
I know what you mean, Shipbuilder. There is too much to know and you don't know where to start. I had that problem too. And still do!
SPOILER ALERT
Some of these commands WILL utterly remove any playability in the game. If you know you are the sort of person who will be tempted, do not read on. Seriously.
Note to moderators: by all means edit down this posting.
To get you started, here is some of my crib sheet:
Your own ship is
[size=120]player.ship.[i]stuff[/i][/size]
but that can be abbreviated to
[size=120]PS.[i]stuff[/i][/size]
If you want to know about your ship, just enter
[size=120]player.ship[/size]
Want its speed?
[size=120]player.ship.speed[/size]
Fiddle with your cargo using
PS.manifest.radioactives += 1
or
[size=120]PS.manifest.alloys = 10[/size]
et al e.g.
gemStones
and
alienItems
Apply power-ups to your ship:
[size=120]PS.awardEquipment("EQ_HARDENED_MISSILE")
PS.awardEquipment("EQ_NAVAL_ENERGY_UNIT")
PS.awardEquipment("EQ_CLOAKING_DEVICE")
PS.awardEquipment("EQ_ENERGY_BOMB")
PS.awardEquipment("EQ_QC_MINE")
PS.awardEquipment("EQ_SHIELD_BOOSTER")
PS.awardEquipment("EQ_SHIELD_ENHANCER")[/size]
You are
[size=120]player.[i]stuff[/i][/size]
and you can edit your credits directly, and change your legal status by editing your bounty value. I would suggest you make a point of
never doing this to your 'normal' commander and use a separate 'testing' commander.
Make a ship your target and you can refer to it via
PS.target.[i]stuff[/i]
Change its legal status with
[size=120]PS.target.bounty = [i]number[/i][/size]
What AI is that ship using?
PS.target.AI
Change it with
PS.target.setAI("minerAI.plist")
or
PS.target.setAI("route1traderAI.plist")
et al.
What AI state is it in?
PS.target.AIState
Change the state with
PS.target.AIState = "FLEE"
or
PS.target.AIState = "COLLECT_STUFF"
et al
Award the target with equipment:
PS.target.awardEquipment("EQ_CLOAKING_DEVICE")
Clear the system of all ships:
[size=120]system.sendAllShipsAway()[/size]
[size=120]system.legacy_addSystemShips("asteroid",8,0)[/size]
will create 8 asteroids at the witchpoint (the zero)
system.legacy_addSystemShips("thargoid",2,1)
will create 2 Thargoids at the station (the one)
system.legacy_addSystemShips("splinter",64,0.5)
will create 64 (the maximum) asteroid splinters half way from the witchpoint to the station
You can specity 'police' or 'asteroid' or 'trader' or 'hunter' or 'station' or 'miner' or any other role)
Things to spoil your target's day:
PS.target.dumpCargo()
PS.target.abandonShip()
PS.target.exitSystem()
PS.target.explode()
Macro commands (these have a preceding ':') which create 1 (and only 1) object anywhere in your scanner range:
[size=120]:spawn asteroid
:spawn escort
:spawn hunter
:spawn interceptor
:spawn miner
:spawn pirate
:spawn police
:spawn trader
:spawn scavenger
:spawn sunskim-trader
:spawn wingman
:spawn thargoid
:spawn thargoid-mothership
:spawn cargopod
:spawn escape-capsule[/size]
The command to create a number of items near to you:
system.addShips("miner",13,player.ship.position, 10000)
creates 13 miners within 10km of you.
When you are bored, and have a fast PC, launch from the station and enter:
Shift-F (so you can see the number of entities as you want to keep this under 2000)
PS.awardEquipment("EQ_QC_MINE")
system.addShips("liner",64,player.ship.position, 10000)
system.addShips("liner",64,player.ship.position, 20000)
system.addShips("liner",64,player.ship.position, 30000)
Switch to rear view, drop the Q Bomb and inject out of there.
Stay on full speed and every 10 seconds or so enter
system.addShips("liner",64,player.ship.position, 20000)
and see how long you can keep the fireworks going before Oolite crashes, or you blow yourself up. It doesn't have to be 'liners' but they make the best flashes when they blow up, killing all 10,000 people on board.
)