Page 1 of 1

Asp Mk II special

Posted: Sun Apr 22, 2007 9:14 pm
by Cos
What would I have to do to alter this ship so that it has a scoop and cargo capacity. :) :)

Cos

Re: Asp Mk II special

Posted: Sun Apr 22, 2007 10:19 pm
by Captain Hesperus
Cos wrote:
What would I have to do to alter this ship so that it has a scoop and cargo capacity. :) :)

Cos
If I'm correct, it's a case of setting the code in the shipdata.plist:

Code: Select all

		<key>max_cargo</key>
		<integer>0</integer>
to whatever you fancy:

Code: Select all

		<key>max_cargo</key>
		<integer>1000</integer>
And as for the scoop, I thought this bit:

Code: Select all

		<key>has_scoop</key>
		<real>0.94999999999999996</real>
meant that there was a high likelihood of there being a scoop fitted already.

Captain Hesperus

Posted: Sun Apr 22, 2007 10:47 pm
by Cos
Thanks for the reply Cpt, I understand the first part, but the next bit about the scoop. Do I actually have to put that info into the script myself or is it in there already and I have to alter it, if so where is it?

Thanks

Cos :)

Re: Asp Mk II special

Posted: Mon Apr 23, 2007 10:36 am
by Uncle Reno
Captain Hesperus wrote:
If I'm correct, it's a case of setting the code in the shipdata.plist:

Code: Select all

		<key>max_cargo</key>
		<integer>0</integer>
to whatever you fancy:

Code: Select all

		<key>max_cargo</key>
		<integer>1000</integer>
I think you would also need to make sure that

Code: Select all

<key>cargo_type</key>
<string>CARGO_NOT_CARGO</string>
was removed. Mind you, that would mean all Asps would be able to carry cargo, you might want to create a player version of the Asp in the shipdata plist.
Captain Hesperus wrote:
And as for the scoop, I thought this bit:

Code: Select all

		<key>has_scoop</key>
		<real>0.94999999999999996</real>
meant that there was a high likelihood of there being a scoop fitted already.

Captain Hesperus
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.

Posted: Mon Apr 23, 2007 11:15 am
by Wolfwood
Also please note that such fiddling with the ship statistics may be viewed as "cheating" by some. Given that there are a lot of ships out there in OXPs that might also be labeled as "cheating", I would not be that worried, though... :wink: