Eg. From the Script Property Document in the root of extracted cabs - the 'EngineBooster' type or Class has the following properties:
- chargetime - time - Charge time until the boost starts
boostduration - time - The duration of the current boost
boostefficiency - float - The efficiency of the current boost as a percentage
canboost - boolean - true iff the booster can be activated right now
isboostactive - boolean - true iff the booster is currently active
maxduration - time - The maximum duration possible
minshield - integer - The minimum percentage of shields required to start boosting
potentialduration - time - The duration if the boost was activated now
potentialefficiency - float - The efficiency if the boost was activated now
rechargetime - time - Time required to recharge after a boost
Code: Select all
<macros>
<macro name="enginebooster_player_01_macro" class="enginebooster">
<component ref="generic_enginebooster" />
<properties>
<boost charge="0" minshieldpercent="10" recharge="1">
<speed forward="10" rotation="0.2" />
<acceleration forward="5" reverse="1" strafe="5" rotation="0.25" />
</boost>
...etc
Ok. So, where can I find what properties (or components) the enginebooster class has (like 'boost' - it also has 'effects', 'sounds' and 'hull' from the original file)?
Strangely the Script property document has some things which look similar - eg. 'minshield' in the document looks to be 'minshieldpercent' in the xml file. Likewise 'charge' and 'recharge' from the xml file seem to relate to 'chargetime' and rechargetime' from the script property document

what gives? Any pointers anyone? Any help would be very gratefully received