For instance, a ship could have an <Items> tag but no <Devices> tag, and its FireRateAdj could be set to 20. Its UNID would be &scTestShip;. Let's say I want to have it not drop any items, have an installed laser cannon, and change its FireRateAdj to 15. I would have to overwrite the <Items>, <Devices> and <AISettings> tags- but other mods could overwrite its <Armor> section and still not conflict with mine! The XML might look like this:
Code: Select all
<ShipClass UNID="&scTestShip;" overwrite="true">
<Items>
</Items>
<Devices>
<Device deviceID="&itLaserCannon;"/>
</Devices>
<AISettings
fireRateAdj="15"
/>
<!-- of course, AISettigns would need to include the rest of the original AISettings tag so as not to overwrite it all; the exclusion of other attributes should be understood to mean "set these to defaults" or "leave these out" as in the <Items> example -->
</ShipClass>