<!-- edited with XMLSpy v2012 sp1 (http://www.altova.com) by Greg Knowlton (Foundation 9 Entertainment) -->
<WeaponManager>
	<Weapon Name="Frigate_3inchGuns" Accuracy="0.95" BoneName="Root" MeshName="Meshes\Props\weapons\invisiblebullet\invisiblebullet">
		<Trigger Name="FRG_3inch_FiringVFX">
			<Event Name="Fire">
				<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				<LightFlash R="1" G="1" B="1" Radius="25" Attack="0" Sustain=".2" Decay=".15"/>
				<SpawnParticle>
					<ParticleData ParticleFXID="soglo\particles\__cfx__\navy\ship_weapons\ste_3inch_muzzle_01_">
						<ParticleFlag>emitter_follows</ParticleFlag>
						<ParticleFlag>particles_follow</ParticleFlag>
					</ParticleData>
					<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				</SpawnParticle>
			</Event>
		</Trigger>
		<Trigger Name="FRG_3inch_FiringAnimation">
			<Event Name="Fire">
			</Event>
		</Trigger>
		<Trigger Name="FRG_3inch_Rumble" RateOfFire="15">
			<Event Name="Fire">
				<Rumble Name="Pistol" Time="0.09" FadeUpTime="0" FadeDownTime="0" Loop="false" Range="60" PlayOnOwner="false"/>
			</Event>
		</Trigger>
		<Trigger Name="FRG_3inch_Projectile">
			<Event Name="Fire">
				<SpawnProjectile Name="FRG_3inch_Projectile">
					<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				</SpawnProjectile>
				<CameraEvent Event="ShipFire"/>
			</Event>
			<Event Name="CeaseFire">
				<CameraEvent Event="ShipEndFiring"/>
			</Event>
		</Trigger>
		<Trigger Name="FRG_3inch_ProjectileTrail">
			<Event Name="Fire">
				<SpawnProjectile Name="FRG_3inch_ProjectileTrail">
					<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				</SpawnProjectile>
			</Event>
		</Trigger>
		<Trigger Name="FRG_3inch_FiringSFX">
			<Event Name="StartFire">
				<PlayGameSound SoundID="_3inch_fire" Looping="false">
					<ShipBattleCameraLocation/>
				</PlayGameSound>
			</Event>
		</Trigger>
		<Trigger Name="FirePrimary" RateOfFire=".7">
			<Include>FRG_3inch_Rumble</Include>
			<Include>FRG_3inch_FiringVFX</Include>
			<Include>FRG_3inch_FiringSFX</Include>
			<Include>FRG_3inch_FiringAnimation</Include>
			<Include>FRG_3inch_Projectile</Include>
		</Trigger>
		<Trigger Name="FirePrimary_Trail" RateOfFire=".7">
			<Include>FRG_3inch_ProjectileTrail</Include>
		</Trigger>
		<Trigger Name="Reset">
			<Event Name="Fire">
			</Event>
		</Trigger>
	</Weapon>
	<Projectile Name="FRG_3inch_Projectile" MaxCollisions="1" HitMap="StandardHitMap">
		<BSLinearPath Range="1000" Velocity="1000" IgnoreInaccuracy="true"/>
		<SphereCollision radius="5.0">
			<TestAgainst>PHYSICS_CLASS_DEFENSIVECAPSULE</TestAgainst>
		</SphereCollision>
		<Event Name="ProjectileStart">
			<BSShip2ShipActiveAction/>
		</Event>
		<Event Name="HitGeometry">
			<SurfaceImpact SurfaceEffectName="water_miss"/>
		</Event>
		<Event Name="HitObject">
			<SurfaceImpact SurfaceEffectName="water_miss"/>
		</Event>
		<Event Name="HitCharacter">
			<SurfaceImpact SurfaceEffectName="3inch_gun_impact"/>
			<ApplyDamage ReactionName="FRG_3INCH_GUN" Damage="600">
				<ApplyImpulse Impulse="30"/>
			</ApplyDamage>
		</Event>
	</Projectile>
	<Projectile Name="FRG_3inch_ProjectileTrail" WhizBySound="bullet_whiz_by" WhizByDistance="1" MaxCollisions="1" HitMap="StandardHitMap">
		<BSLinearPath Range="1000" Velocity="1000" IgnoreInaccuracy="true"/>
		<SphereCollision radius="5.0">
			<TestAgainst>PHYSICS_CLASS_DEFENSIVECAPSULE</TestAgainst>
		</SphereCollision>
		<Event Name="ProjectileStart">
			<SpawnTrail U0="0" U1="64" VSize="20" StartWidth="2.0" EndWidth=".01" FadeAngle="1.0" Drift=".3" CameraWind=".15" MaxSubSamples="1" R="1.5" G="1.0" B="1.0" A="1" Duration=".25">
				<ProjectileLocation/>
			</SpawnTrail>
			<BSShip2ShipActiveAction/>
		</Event>
	</Projectile>
</WeaponManager>
