Its given me some taste for what can be done with the game, and of course I want to start adding things myself, so I thought Id start simple.
Somehow despite reading a lot and trying to understand how things work Ive gone wrong
orginally I scribbled over an original texture to make a new look for a ship. nice and simple, all standard cobra mk3's now look like my new paint job. I then decided that rather than all cobra mk3's looking like that I want to "create" a new ship with my paint job and a new name (ideally Id prefer to make it unique to me once Ive brought it at a ship yard, but thats a later step no doubt...) I restored the original cobra mk3 texture and set about creating an oxp so I have my under the addons directory created my main directory:-
DSHcobra3.oxp and within that Ive created Config, Models, and Textures subdirectories
Ive copied the original cobra3_redux.dat into the models directory and my revised cobra3_redux.png into the textures directory and then created a shipdata.plist in the config directory that looks like this :-
Shamelessly copied, pasted and edited from other sources but to my simple mind this should be creating a new ship the "DSHspecial" using the original cobra mk3 specs and model?<plist version="1.0">
<key>like_ship</key>
<string>Cobra Mark III</string>
<key>model</key.
<string>cobra3_redux.dat</string>
<key>name</key>
<string>DSHspecial</string>
Ive then created a shipyard.plist file in the config file that looks like this:-
Again copied, pasted and badly edited by me, I figured this should be enough to inject the "special" ive created into most planets ships for sale list (tech level 2 and high "chance")<plist version="1.0">
<dict>
<key>DSHspecial</key>
<dict>
<key>chance</key>
<real>0.9</real>
<key>optional_equipment</key>
<array>
<string>EQ_CARGO_BAY</string>
<string>EQ_ECM</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_DOCK_COMP</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_ADVANCED_COMPASS</string>
<string>EQ_SHIELD_BOOSTER</string>
<string>EQ_NAVAL_SHIELD_BOOSTER</string>
<string>EQ_HEAT_SHIELD</string>
</array>
<key>price</key>
<integer>150000</integer>
<key>standard_equipment</key>
<dict>
<key>extras</key>
<array/>
<key>forward_weapon_type</key>
<string>EQ_WEAPON_PULSE_LASER</string>
<key>missiles</key>
<integer>3</integer>
</dict>
<key>techlevel</key>
<integer>2</integer>
<key>weapon_facings</key>
<integer>15</integer>
</dict>
</dict>
</plist><plist version="1.0">
<dict>
<key>DSHspecial</key>
<dict>
<key>chance</key>
<real>0.9</real>
<key>optional_equipment</key>
<array>
<string>EQ_CARGO_BAY</string>
<string>EQ_ECM</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_DOCK_COMP</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_ADVANCED_COMPASS</string>
<string>EQ_SHIELD_BOOSTER</string>
<string>EQ_NAVAL_SHIELD_BOOSTER</string>
<string>EQ_HEAT_SHIELD</string>
</array>
<key>price</key>
<integer>150000</integer>
<key>standard_equipment</key>
<dict>
<key>extras</key>
<array/>
<key>forward_weapon_type</key>
<string>EQ_WEAPON_PULSE_LASER</string>
<key>missiles</key>
<integer>3</integer>
</dict>
<key>techlevel</key>
<integer>2</integer>
<key>weapon_facings</key>
<integer>15</integer>
</dict>
</dict>
</plist>
But Im not seeing any sign of my "new" ship on any saved game or planet I land at.
I was hoping that even if the program automatically went to the standard cobramk3 models and textures in the main directory instead of picking up my custom texture in the oxps directories Id at least see the name "dshspecial" in the ships for sale listing, but im not which I think means Ive went wrong somewhere...
I realise the headers could do with standardising and the format needs tidying up a bit but for now im just trying to "inject" an new ship based on an old one into the game. and getting it wrong...
Could anyone tell me what I am doing wrong here?[/quote]