How can I replace thinks (stations, ships etc.) in the game ?
For example: In my mode there is code ->
Code: Select all
<!-- Corsair II-class Gunship -->
<ShipClass UNID="&scCorsair-II;"
manufacturer= "Charon Pirates"
class= "Corsair II"
type= "gunship"
score= "110"
mass= "45"
cargoSpace= "5"
thrust= "250"
maneuver= "4"
maxSpeed= "25"
leavesWreck= "20"
attributes= "charonPirates,genericClass"
>
<Armor>
<ArmorSection start="270" span="180" armorID="&itLightReactiveArmor;" areaSet="0,2,3,7" />
<ArmorSection start="90" span="180" armorID="&itLightReactiveArmor;" areaSet="1,4" />
</Armor>
<Devices>
<Device deviceID="&itTurbolaserCannon;"/>
<Device deviceID="&itNAMIMissileLauncher;"/>
<Device deviceID="&itClass1Deflector;"/>
</Devices>
<Image imageID="&rsMediumShips1;" imageX="288" imageY="0" imageWidth="48" imageHeight="48" rotationOffset="-10" imageFrameCount="0" imageTicksPerFrame="0"/>
<Items>
<Item count="2d6" item="&itKM100Missile;"/>
</Items>
<AISettings
fireRateAdj= "30"
fireRangeAdj= "50"
fireAccuracy= "80"
ignoreShieldsDown= "true"
perception= "4"
/>
<DriveImages>
<NozzleImage imageID="&rsDriveExhaust;" imageX="48" imageY="0" imageWidth="48" imageHeight="48" imageFrameCount="0" imageTicksPerFrame="0"/>
<NozzlePos x="-30" y="-7"/>
<NozzlePos x="-30" y="7"/>
</DriveImages>
</ShipClass>
And there is somethink like <Replace> ? And how it works ? Maybe this is it.
(I want to transform all Corsairs-II in the game...especially their weapons, but I can't change tdb file)
Sorry for naive question, but I have a long brake...
