<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>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>id16</type>
   <offset>0x30C</offset>
   <name>Weapon/User Ability</name>
   <option>
    <value>29281</value>
    <name>Sentinal/Gravity Rifle/AR</name>
   </option>
   <option>
    <value>30055</value>
    <name>Banshee/Ghost/Wraith</name>
   </option>
   <option>
    <value>29799</value>
    <name>Gun Turret</name>
   </option>
   <option>
    <value>26467</value>
    <name>Rwarthog/Warthog</name>
   </option>
   <option>
    <value>24931</value>
    <name>Scorpion Cannon</name>
   </option>
   <option>
    <value>98</value>
    <name>Ball</name>
   </option>
   <option>
    <value>25190</value>
    <name>Energy Sword</name>
   </option>
   <option>
    <value>102</value>
    <name>Flag</name>
   </option>
   <option>
    <value>29798</value>
    <name>Flamethrower</name>
   </option>
   <option>
    <value>29286</value>
    <name>Hunter/Fuel Rod</name>
   </option>
   <option>
    <value>25966</value>
    <name>Needler</name>
   </option>
   <option>
    <value>28776</value>
    <name>Pistol</name>
   </option>
   <option>
    <value>28784</value>
    <name>Plasma Pistol</name>
   </option>
   <option>
    <value>29296</value>
    <name>Plasma Rifle</name>
   </option>
   <option>
    <value>25456</value>
    <name>Plasma Cannon</name>
   </option>
   <option>
    <value>27762</value>
    <name>Rocket Launcher</name>
   </option>
   <option>
    <value>26483</value>
    <name>Shotgun</name>
   </option>
   <option>
    <value>29299</value>
    <name>Sniper Rifle</name>
   </option>
  </value>
<value>
<type>float</type>
  <offset>0x4</offset>
  <name>Weapon Pickup Distance</name>
  </value>
<value>
<type>float</type>
  <offset>0x14</offset>
  <name>Acceleration Scale</name>
  </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>Autoaim Angle</name> 
                </value>
                <value>
                        <type>float</type> 
                        <offset>0x20C</offset> 
                        <name>Autoaim range</name> 
                </value>
                <value>
                        <type>float</type> 
                        <offset>0x210</offset> 
                        <name>Magnatism Angle</name> 
                </value>
                <value>
                        <type>float</type> 
                        <offset>0x214</offset> 
                        <name>Magnatism Range</name> 
                </value>
 <value>
<type>float</type>
  <offset>0x218</offset>
  <name>Deviation Angle</name>
  </value>
 <value>
<type>float</type>
  <offset>0x27c</offset>
  <name>Active Camo Pause</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>
     <value>
         <type>id16</type>
         <offset>0x004</offset>
         <name>Button Used</name>
         <option>
            <value>0</value>
            <name>R</name>
         </option>
         <option>
            <value>1</value>
            <name>L</name>
         </option>
         <option>
            <value>2</value>
            <name>B(SP)</name>
         </option>
      </value>
      <value>
         <type>id16</type>
         <offset>0x008</offset>
         <name>Projectile Used(Chunk)</name>
         <option>
            <value>-1</value>
            <name>Nulled</name>
         </option>
         <option>
            <value>0</value>
            <name>First</name>
         </option>
         <option>
            <value>1</value>
            <name>Second</name>
         </option>
      </value>
      <value>
         <type>id16</type>
         <offset>0x00A</offset>
         <name>Projectile Used 2(Chunk)</name>
         <option>
            <value>-1</value>
            <name>Nulled</name>
         </option>
         <option>
            <value>0</value>
            <name>First</name>
         </option>
         <option>
            <value>1</value>
            <name>Second</name>
         </option>
      </value>
      <value>
         <type>float</type>
         <offset>0x010</offset>
         <name>Trigger Initiation Time?</name>
      </value>
      <value>
         <type>float</type>
         <offset>0x014</offset>
         <name>Charge Time?</name>
      </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>26</bit>
    <name>Drop Trigger Lock</name>
    <info>Weapon will continue firing when dropped</info>
   </bitmask>
   <bitmask>
    <bit>28</bit>
    <name>Trigger Lock</name>
    <info>Trigger is pressed once to start firing, and pressed again to stop</info>
   </bitmask>
   <bitmask>
    <bit>29</bit>
    <name>Single Fire</name>
    <info>Trigger needs to be pressed again for each shot</info>
   </bitmask>  
  <bitmask>
    <bit>0</bit>
    <name>Homing</name>
  </bitmask>
  <bitmask>
    <bit>19</bit>
    <name>Lock on?</name>
  </bitmask>
		</value>
  <value>
   <type>short</type>
   <offset>0x26</offset>
   <name>Tracers</name>
   <info>Projectiles fired between each tracer</info>
  </value>
  <value>
   <type>float</type>
   <offset>0x48</offset>
   <name>Charge Time</name>
   <info>Time required to achieve full charge</info>
  </value>
  <value>
   <type>float</type>
   <offset>0x48</offset>
   <name>Overload time</name>
   <info>If charge is held this long, weapon will overload</info>
  </value>
  <value>
   <type>reference</type>
   <offset>0x94</offset>
   <name>Projectile</name>
   <info>Projectile fired by this weapon</info>
	</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>short</type>
  <offset>0x06a</offset>
  <name>Bullets per shot</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>
