Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Non-player ship

General discussion for players of Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Lord Winslow
Above Average
Above Average
Posts: 22
Joined: Fri Dec 02, 2005 1:39 am
Location: Cape Cod, USA
Contact:

Non-player ship

Post by Lord Winslow »

is there anyway to edit so a non player ship can become playable?
For the Glory of the Federation
-Lord Winslow
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2525
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

Get hold of the illicit unlock OXP. It's available at the original Oosat.
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Post by Cmdr. Maegil »

WTF!!! :x

You're not saying that anyone can get one of those @%&$>:ç# with multilasers and turrets and all the seven balls and...
OOOooooooohhhhhh........


Are you?
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
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

Post by Uncle Reno »

Cmdr. Maegil wrote:
You're not saying that anyone can get one of those @%&$>:ç# with multilasers and turrets and all the seven balls and...
OOOooooooohhhhhh........

Are you?
No, not quite. While you can edit things so that you can have any ship, what won't work for players, at the moment, are multilasers and turrets, so you can rest easy! :)
"Get back or I unleash my lethal spotted batoid!!"

What I do when not reading the Oolite bulletin board!
User avatar
ramon
---- E L I T E ----
---- E L I T E ----
Posts: 346
Joined: Thu Jun 01, 2006 2:38 pm
Location: Tavistock
Contact:

Post by ramon »

You can edit the shipyard.plist in any text editor (I use Crimson Editor - it's a free one).

here's a typical shipyard.plist:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>mosquito-player</key>
	<dict>
		<key>chance</key>
		<real>0.4</real>
		<key>optional_equipment</key>
		<array>
			<string>EQ_CARGO_BAY</string>
			<string>EQ_FUEL_SCOOPS</string>
			<string>EQ_PASSENGER_BERTH</string>
			<string>EQ_ESCAPE_POD</string>
			<string>EQ_ENERGY_BOMB</string>
			<string>EQ_ENERGY_UNIT</string>
			<string>EQ_NAVAL_ENERGY_UNIT</string>
			<string>EQ_WEAPON_PULSE_LASER</string>
			<string>EQ_WEAPON_BEAM_LASER</string>
			<string>EQ_WEAPON_MINING_LASER</string>
			<string>EQ_WEAPON_MILITARY_LASER</string>
			<string>EQ_FUEL_INJECTION</string>
			<string>EQ_SCANNER_SHOW_MISSILE_TARGET</string>
			<string>EQ_MULTI_TARGET</string>
			<string>EQ_GAL_DRIVE</string>
			<string>EQ_SHIELD_BOOSTER</string>
			<string>EQ_NAVAL_SHIELD_BOOSTER</string>
			<string>EQ_HEAT_SHIELD</string>
			<string>EQ_ECM</string>
			<string>EQ_DOCK_COMP</string>
            <string>EQ_ADVANCED_COMPASS</string>
		</array>
		<key>price</key>
		<integer>210000</integer>
		<key>standard_equipment</key>
		<dict>
			<key>extras</key>
			<array>
			    <string>EQ_ECM</string>
			    <string>EQ_DOCK_COMP</string>
                <string>EQ_ADVANCED_COMPASS</string>
			</array>
			<key>forward_weapon_type</key>
			<string>EQ_WEAPON_BEAM_LASER</string>
			<key>missiles</key>
			<integer>3</integer>
		</dict>
		<key>techlevel</key>
		<integer>9</integer>
		<key>weapon_facings</key>
		<integer>3</integer>
	</dict>
so if you wanted the Navy Asp for example, open up the behemoth.oxp and make a new plist called 'shipyard'
Add the code above, find out the <key>name</key> of the Navy Asp which just so happens to be

Code: Select all

<key>asp-fighter</key>
add this to the code instead of <key>mosquito-player</key> and then hey presto the Navy Asp is available to buy.
You can check Wiki for more info on what everything else in the code does and it's pretty easy to pick up. I've no coding experience at all!
User avatar
Lord Winslow
Above Average
Above Average
Posts: 22
Joined: Fri Dec 02, 2005 1:39 am
Location: Cape Cod, USA
Contact:

...

Post by Lord Winslow »

drool....
For the Glory of the Federation
-Lord Winslow
Post Reply