<plugin>
<tag>weap</tag>
<struct>
<name>Main</name>
<size>0</size>
<value>
<type>id16</type>
<offset>0x0bb</offset>
<name>Type</name>
<option>
<value>0</value>
<name>Vehicle weapon / turret</name>
</option>
<option>
<value>128</value>
<name>Weapon</name>
</option>
<option>
<value>384</value>
<name>Multiplayer flag</name>
</option>
</value>
<value>
<type>bitmask32</type>
<offset>0x12C</offset>
<name>Flags</name>
<bitmask>
<bit>4</bit>
<name>Assign melee to R?</name>
</bitmask>
<bitmask>
<bit>6</bit>
<name>R->Lunge melee when target aquired?</name>
</bitmask>
<bitmask>
<bit>8</bit>
<name>Assign melee to R?</name>
</bitmask>
<bitmask>
<bit>9</bit>
<name>Equip to left arm only</name>
</bitmask>
<bitmask>
<bit>10</bit>
<name>Dual wieldable</name>
</bitmask>
<bitmask>
<bit>13</bit>
<name>Disable R when L is used</name>
</bitmask>
<bitmask>
<bit>16</bit>
<name>Disable binoculars</name>
</bitmask>
<bitmask>
<bit>20</bit>
<name>Disable grenades</name>
</bitmask>
<bitmask>
<bit>23</bit>
<name>Disable melee</name>
</bitmask>
<bitmask>
<bit>27</bit>
<name>Aim assist only when zoomed</name>
</bitmask>
<bitmask>
<bit>28</bit>
<name>Enable Extra weapon</name>
</bitmask>
<bitmask>
<bit>29</bit>
<name>Drop when fired</name>
</bitmask>
</value>
<value>
<type>float</type>
<offset>0x2d8</offset>
<name>Number of projectiles</name>
</value>
<value>
<type>short</type>
<offset>0x1FE</offset>
<name>Zoom levels</name>
</value>
<value>
<type>float</type>
<offset>0x200</offset>
<name>Minimum zoom</name>
</value>
<value>
<type>float</type>
<offset>0x204</offset>
<name>Maximum zoom</name>
</value>
<value>
<type>float</type>
<offset>0x20C</offset>
<name>Aquire target distance</name>
</value>
<value>
<type>float</type> 
<offset>0x208</offset> 
<name>Deviation Angle 1 CF</name> 
</value>
<value>
<type>float</type> 
<offset>0x20C</offset> 
<name>Auto-Aim Range 1 CF</name> 
</value>
<value>
<type>float</type> 
<offset>0x210</offset> 
<name>Deviation Angle 2 CF</name> 
</value>
<value>
<type>float</type> 
<offset>0x214</offset> 
<name>Auto-Aim Range 2 CF</name> 
</value>
<value>
<type>reflexive</type>
<offset>0x2C8</offset>
<name>Firing Type</name>
</value>
<value>
<type>reflexive</type>
<offset>0x2C0</offset>
<name>Clip</name>
</value>
<value>
<type>reflexive</type>
<offset>0x2D0</offset>
<name>Projectile</name>
</value>
</struct>
<struct>
<name>Firing Type</name>
<size>64</size>
<value>
<type>id16</type>
<offset>0x006</offset>
<name>Type</name>
<option>
<value>0</value>
<name>Fully Automatic</name>
</option>
<option>
<value>2</value>
<name>Unknown 1 (Charged Shot?)</name>
</option>
<option>
<value>1</value>
<name>Semi Automatic</name>
</option>
<option>
<value>4</value>
<name>Unknown 2</name>
</option>
<option>
<value>5</value>
<name>Unknown 3 (lock on?)</name>
</option>
</value>
</struct>
<struct>
<name>Clip</name>
<size>104</size>
<value>
<type>short</type>
<offset>0x002</offset>
<name>Deplete ammo</name>
</value>
<value>
<type>short</type>
<offset>0x004</offset>
<name>Recharge ammo</name>
</value>
<value>
<type>short</type>
<offset>0x006</offset>
<name>Starting ammo</name>
</value>
<value>
<type>short</type>
<offset>0x008</offset>
<name>Maximum ammo</name>
</value>
<value>
<type>short</type>
<offset>0x00A</offset>
<name>Clip size</name>
</value>
<value>
<type>short</type>
<offset>0x00C</offset>
<name>Maximum holding ammo</name>
</value>
<value>
<type>short</type>
<offset>0x014</offset>
<name>Shots reloaded</name>
</value>
</struct>
<struct>
<name>Projectile</name>
<size>236</size>
<value>
<type>bitmask32</type>
<offset>0x0</offset>
<name>Flags</name>
<bitmask>
<bit>0</bit>
<name>Homing</name>
</bitmask>
<bitmask>
<bit>19</bit>
<name>Lock on?</name>
</bitmask>
</value>
<value>
<type>short</type>
<offset>0x06a</offset>
<name>Bullets per shot</name>
</value>
<value>
<type>float</type>
<offset>0x4</offset>
<name>Minimum rate of fire</name>
</value>
<value>
<type>float</type>
<offset>0x8</offset>
<name>Maximum rate of fire</name>
</value>
<value>
<type>short</type>
<offset>0x1c</offset>
<name>Shots per burst</name>
</value>
<value>
<type>short</type>
<offset>0x1e</offset>
<name>Muzzle climb</name>
</value>
<value>
<type>float</type>
<offset>0x74</offset>
<name>Minimum spread (accuracy)</name>
</value>
<value>
<type>float</type>
<offset>0x78</offset>
<name>Maximum spread (accuracy)</name>
</value>
<value>
<type>float</type>
<offset>0xa4</offset>
<name>Heat per round</name>
</value>
<value>
<type>float</type>
<offset>0xa8</offset>
<name>Age per round</name>
</value>
<value>
<type>float</type>
<offset>0x07c</offset>
<name>X Spawn Coord</name>
</value>
<value>
<type>float</type>
<offset>0x080</offset>
<name>Y Spawn Coord</name>
</value>
<value>
<type>float</type>
<offset>0x084</offset>
<name>Z Spawn Coord</name>
</value>
</struct>
</plugin>
