Asp Mk II special

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
Cos
Dangerous
Dangerous
Posts: 97
Joined: Tue Aug 15, 2006 5:11 pm
Location: MIlton Keynes England

Asp Mk II special

Post by Cos »

What would I have to do to alter this ship so that it has a scoop and cargo capacity. :) :)

Cos
User avatar
Captain Hesperus
Grand High Clock-Tower Poobah
Grand High Clock-Tower Poobah
Posts: 2310
Joined: Tue Sep 19, 2006 1:10 pm
Location: Anywhere I can sell Trumbles.....

Re: Asp Mk II special

Post 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
Cos
Dangerous
Dangerous
Posts: 97
Joined: Tue Aug 15, 2006 5:11 pm
Location: MIlton Keynes England

Post 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 :)
User avatar
Uncle Reno
---- E L I T E ----
---- E L I T E ----
Posts: 648
Joined: Mon Apr 24, 2006 12:54 pm
Location: UK

Re: Asp Mk II special

Post 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.
"Get back or I unleash my lethal spotted batoid!!"

What I do when not reading the Oolite bulletin board!
User avatar
Wolfwood
---- E L I T E ----
---- E L I T E ----
Posts: 735
Joined: Wed Mar 29, 2006 9:53 am
Location: Finland
Contact:

Post 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:
Author of Tales from the Frontier - official Elite 4 anthology.
Author of Marcan Rayger adventures - unofficial fan-fic novellas set in the Frontier universe.
Post Reply