Asp Mk II special
Posted: Sun Apr 22, 2007 9:14 pm
What would I have to do to alter this ship so that it has a scoop and cargo capacity.
Cos
Cos
For information and discussion about Oolite.
https://bb.oolite.space/
If I'm correct, it's a case of setting the code in the shipdata.plist:Cos wrote:What would I have to do to alter this ship so that it has a scoop and cargo capacity.
Cos
Code: Select all
<key>max_cargo</key>
<integer>0</integer>
Code: Select all
<key>max_cargo</key>
<integer>1000</integer>
Code: Select all
<key>has_scoop</key>
<real>0.94999999999999996</real>
I think you would also need to make sure thatCaptain Hesperus wrote:If I'm correct, it's a case of setting the code in the shipdata.plist:to whatever you fancy:Code: Select all
<key>max_cargo</key> <integer>0</integer>
Code: Select all
<key>max_cargo</key> <integer>1000</integer>
Code: Select all
<key>cargo_type</key>
<string>CARGO_NOT_CARGO</string>
That applies to non player craft only, you would need to also create a shipyard.plist entry for the Asp to come up for sale, in this you can specify what equipment comes as standard with the ship and also what can be added on. See Shipyard.plist and Shipdata.plist entries from the Wiki for further information.Captain Hesperus wrote:And as for the scoop, I thought this bit:meant that there was a high likelihood of there being a scoop fitted already.Code: Select all
<key>has_scoop</key> <real>0.94999999999999996</real>
Captain Hesperus