<!-- edited with XMLSpy v2012 sp1 (http://www.altova.com) by Greg Knowlton (Foundation 9 Entertainment) -->
<WeaponManager>
	<Weapon Name="Battleship_16inchGuns_B" Accuracy="0.95" BoneName="Root" MeshName="Meshes\Props\weapons\invisiblebullet\invisiblebullet">
		<Trigger Name="BTS_16inch_FiringVFXB">
			<Event Name="Fire">
				<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				<LightFlash R="1" G="1" B="1" Radius="50" Attack=".1" Sustain=".8" Decay=".15"/>
				<SpawnParticle>
					<ParticleData ParticleFXID="soglo\particles\__cfx__\navy\ship_weapons\ste_16inch_muzzle_01_">
						<ParticleFlag>emitter_follows</ParticleFlag>
					</ParticleData>
					<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				</SpawnParticle>
			</Event>
		</Trigger>
		<Trigger Name="BTS_16inch_FiringAnimationB">
			<Event Name="Fire">
			</Event>
		</Trigger>
		<Trigger Name="BTS_16inch_RumbleB" 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="BTS_16inch_ProjectileB">
			<Event Name="Fire">
				<SpawnProjectile Name="BTS_16inch_Targeting">
					<ShipBattleCameraLocation/>
				</SpawnProjectile>
				<CameraEvent Event="ShipFire"/>
			</Event>
			<Event Name="CeaseFire">
				<CameraEvent Event="ShipEndFiring"/>
			</Event>
		</Trigger>
		<Trigger Name="BTS_16inch_ProjectileTrailB">
			<Event Name="Fire">
				<SpawnProjectile Name="BTS_16inch_ProjectileTrail">
					<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				</SpawnProjectile>
			</Event>
		</Trigger>
		<Trigger Name="BTS_16inch_FiringSFXB">
			<Event Name="StartFire">
				<PlayGameSound SoundID="_16inch_fire" Looping="false">
					<!--<AttachmentLocation AttachmentName="attachmentPointInvisible"/>-->
					<ShipBattleCameraLocation/>
				</PlayGameSound>
			</Event>
		</Trigger>
		<Trigger Name="FirePrimary" RateOfFire=".6">
			<Include>BTS_16inch_RumbleB</Include>
			<Include>BTS_16inch_FiringVFXB</Include>
			<Include>BTS_16inch_FiringSFXB</Include>
			<Include>BTS_16inch_FiringAnimationB</Include>
			<Include>BTS_16inch_ProjectileB</Include>
		</Trigger>
		<Trigger Name="FirePrimary_Trail" RateOfFire=".6">
			<Include>BTS_16inch_ProjectileTrailB</Include>
		</Trigger>
		<Trigger Name="Reset">
			<Event Name="Fire">
			</Event>
		</Trigger>
		<Trigger Name="16inchBarrage">
			<Event Name="Execute">
				<BSBarrageAction Time="0.2" Repetitions="3" TriggerInitially="true" KillOnEnd="true" UseCollisionResult="true">
					<SpawnProjectile Name="BTS_16inch_Projectile">
						<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
					</SpawnProjectile>
				</BSBarrageAction>
			</Event>
		</Trigger>
	</Weapon>
	<Projectile Name="BTS_16inch_Targeting" MaxCollisions="1" HitMap="HitAnythingMap">
		<BSLinearPath Range="1000" Velocity="0" IgnoreInaccuracy="true"/>
		<SphereCollision radius="5.0">
			<TestAgainst>PHYSICS_CLASS_DEFENSIVECAPSULE</TestAgainst>
		</SphereCollision>
		<Event Name="ProjectileStart">
			<BSShip2ShipActiveAction/>
		</Event>
		<Event Name="HitAnything">
			<BSTriggerAction Name="16inchBarrage"/>
		</Event>
	</Projectile>
	<Projectile Name="BTS_16inch_Projectile" MaxCollisions="1" HitMap="StandardHitMap">
		<!--<BSMissilePath Range="400.0" Velocity="250" FiringAngle="0.34906" UseCollisionResult="true" MissOffsetDist="1.0" TargetingMode="1">
			<Attachment>attachmentPoint_Impact01</Attachment>
			<Attachment>attachmentPoint_Impact02</Attachment>
			<Attachment>attachmentPoint_Impact03</Attachment>
			<Attachment>attachmentPoint_Impact04</Attachment>
			<Attachment>attachmentPoint_Impact05</Attachment>
			<Attachment>attachmentPoint_Impact06</Attachment>
			<Attachment>attachmentPoint_Impact07</Attachment>
			<Attachment>attachmentPoint_Impact08</Attachment>
			<Attachment>attachmentPoint_Impact09</Attachment>
			<Attachment>attachmentPoint_Impact10</Attachment>
			<Attachment>attachmentPoint_Impact11</Attachment>
			<Attachment>attachmentPoint_Impact12</Attachment>
			<Attachment>attachmentPoint_Impact13</Attachment>
			<Attachment>attachmentPoint_Impact14</Attachment>
			<Attachment>attachmentPoint_Impact15</Attachment>
		</BSMissilePath>-->
		<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="16inch_gun_impact"/>
			<ApplyDamage ReactionName="BTS_16INCH_GUN" Damage="720">
				<ApplyImpulse Impulse="30"/>
			</ApplyDamage>
		</Event>
	</Projectile>
	<Projectile Name="BTS_16inch_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>
