Page 1 of 1
Shipyard
Posted: Mon Mar 26, 2007 6:40 am
by Killer Wolf
when i did my Vampires, i set up a shipyard plist as per wiki, optional and standard equipment. having recently bought a Purgatori that was listed as having only an energy bomb, i went to F5 and saw that it was jam-packed w/ equipment. I've got an exta enrgy unit AND a Naval energy unit, and a military laser AND a beam laser. i'm assuming that the script simply does just pick random equipment w/out checking to see if a related/better similar item is already fitted? given that, is there any way of editting out my unwanted equipment, or should i just amend my shipyard and then try buying another Purgatori (if i can find one!)? if so, what's the best approach - just getting rid of the Optional equpt??
ta
Posted: Mon Mar 26, 2007 9:29 am
by Commander McLane
No, you should get rid of the standard equipment, not of the optional.
Standard equipment in the shipyard.plist is what every ship will come fitted with. As it is considered standard it is not even listed on the shipyard screen when you buy a ship. (Hence you saw only the energy bomb (which doesn't seem to be standard) but not all the other items(which appear to be standard).) The items listed there are the optional items that are randomly chosen by the engine to be fitted in that particular ship on top of all the standard items.
That means if for your ship you have put everything in the standard-equipment-part of shipyard.plist it will have everything as standard, even before the engine considers to put some optional equipment in.
Therefore the wiki suggests that you put every piece of equipment either in the standard or in the optional part, not in both. (Unfortunately most ship designers don't follow that rule.) And if you have defined e.g. a naval energy unit as standard equipment, then it obviously makes no sense to make the extra energy unit optional on top of that, so it shouldn't show up at all in shipyard.plist.
As for editing out the unwanted equipment you can do that easily in your pilot file. Browse to the equipment part and simply delete all lines in the array that you don't like.
But the general problem you can only solve by radically shortening the "standard" section in the shipyard.plist. The usual standard equipment list will be pretty short, perhaps a front pulse (or beam) laser only.
Posted: Mon Mar 26, 2007 10:35 am
by Killer Wolf
yeah, i made the lists exclusive :
Code: Select all
<key>purgatori-player</key>
<dict>
<key>chance</key>
<real>0.01</real>
<key>optional_equipment</key>
<array>
<string>EQ_ENERGY_BOMB</string>
<string>EQ_ENERGY_UNIT</string>
<string>EQ_ESCAPE_POD</string> <string>EQ_WEAPON_BEAM_LASER</string>
</array>
<key>price</key>
<integer>600000</integer>
<key>standard_equipment</key>
<dict>
<key>extras</key>
<array>
<string>EQ_ECM</string>
<string>EQ_FUEL_INJECTION</string>
<string>EQ_NAVAL_ENERGY_UNIT</string>
<string>EQ_WEAPON_BEAM_LASER</string>
<string>EQ_DOCK_COMP</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>
<string>EQ_FUEL_SCOOPS</string>
</array>
thought it might have randomly *replaced* the mil laser/energy unit w/ whatever it selected from the optional, not inserted it *as well as*. oh well, i'll revise it - i've noticed i've buggered it up anyways as the Naval was supposed to be in the Optional, not the Extra Energy unit. tch.
cheers