If the ship you want to view is your player ship simply launch the ship and press v to cycle through the external views. Otherwise ...
Install Debug.oxp
Installing Debug.oxp
1. Add Debug.oxp to your Oolite Addons http://wiki.alioth.net/index.php/Debug_OXP
2. Install PyDebugConsole https://developer.berlios.de/project/sh ... up_id=3577
Run Oolite with the DebugConsole
1. Run the DebugConsole
2. Start Oolite (holding down the shift key while it boots if an oxp has been changed (clears the cache))
3. Launch into space (moving into a clear area helps).
Spawning the ship you want to view
Type in the console
Code: Select all
:spawn role
To find the correct argument for role refer to [i.e. open in a text editor]
Code: Select all
config\shipdata.plist
Code: Select all
<key>shipX</key>
Find the defined roles
Code: Select all
<key>roles</key>
Code: Select all
<key>shipX</key>
<dict>
...
<key>roles</key>
<string>shipX-trader shipX-escort shipX-hunter</string>
...
</dict>
Code: Select all
:spawn shipX-trader
If all the defined roles are generic* modify the shipdata.plist from:
Code: Select all
<key>shipX</key>
<dict>
...
<key>roles</key>
<string>trader escort hunter</string>
...
</dict>
Code: Select all
<key>shipX</key>
<dict>
...
<key>roles</key>
<string>shipX-trader trader escort hunter</string>
...
</dict>
To park the spawned ship target it then enter in the console:
Code: Select all
player.ship.target.setAI("dumbAI.plist")
Code: Select all
player.ship.target.subEntities[0].position = [x, y, z]
EDIT: changed everything