<!-- edited with XMLSpy v2011 sp1 (x64) (http://www.altova.com) by Greg Knowlton (private) -->
<WeaponManager>
	<Weapon Name="Submarine_Missiles" Accuracy="0.95" BoneName="Root" MeshName="Meshes\Props\weapons\invisiblebullet\invisiblebullet">
		<Trigger Name="SUB_Missiles_FiringVFX">
			<Event Name="Fire">
				<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				<LightFlash R=".1" G=".3" B=".5" Radius="2" Attack="0" Sustain="0" Decay=".15"/>
				<SpawnParticle>
					<ParticleData ParticleFXID="Soglo\Particles\__cFX__\Navy\Ship_Weapons\Ste_Missile_S2S_sub_Muzzle_01_">
					</ParticleData>
					<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				</SpawnParticle>
			</Event>
		</Trigger>
		<Trigger Name="SUB_Missiles_FiringAnimation">
			<Event Name="Fire">
			</Event>
		</Trigger>
		<Trigger Name="SUB_Missiles_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="SUB_Missiles_Projectile">
			<Event Name="Fire">
				<SpawnProjectile Name="SUB_Missiles_Targeting">
					<ShipBattleCameraLocation/>
				</SpawnProjectile>
				<CameraEvent Event="ShipFire"/>
			</Event>
			<Event Name="CeaseFire">
				<CameraEvent Event="ShipEndFiring"/>
			</Event>
		</Trigger>
		<Trigger Name="SUB_Missiles_FiringSFX">
			<Event Name="StartFire">
				<PlayGameSound SoundID="_missile_fire" Looping="false">
					<ShipBattleCameraLocation/>
				</PlayGameSound>
			</Event>
		</Trigger>
		<Trigger Name="FirePrimary" RateOfFire=".4">
			<Include>SUB_Missiles_Rumble</Include>
			<Include>SUB_Missiles_FiringVFX</Include>
			<Include>SUB_Missiles_FiringSFX</Include>
			<Include>SUB_Missiles_FiringAnimation</Include>
			<Include>SUB_Missiles_Projectile</Include>
		</Trigger>
		<Trigger Name="FirePrimary_Trail" RateOfFire=".4">
		</Trigger>
		<Trigger Name="Reset">
			<Event Name="Fire">
			</Event>
		</Trigger>
		<Trigger Name="MissileBarrage">
			<Event Name="Execute">
				<BSBarrageAction Time="0.2" Repetitions="1" TriggerInitially="true" KillOnEnd="true" UseCollisionResult="true">
					<SpawnProjectile Name="SUB_Missiles_Projectile">
						<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
					</SpawnProjectile>
					<SpawnProjectile Name="SUB_Missiles_ProjectileTrail">
						<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
					</SpawnProjectile>
				</BSBarrageAction>
			</Event>
		</Trigger>
		<Trigger Name="NoCollisionBarrage">
			<Event Name="Execute">
				<BSBarrageAction Time="0.2" Repetitions="1" TriggerInitially="true" KillOnEnd="true" UseCollisionResult="false">
					<SpawnProjectile Name="SUB_Missile_Miss_Projectile">
						<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
					</SpawnProjectile>
					<SpawnProjectile Name="SUB_Missile_Miss_ProjectileTrail">
						<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
					</SpawnProjectile>
				</BSBarrageAction>
			</Event>
		</Trigger>
	</Weapon>
	<Projectile Name="SUB_Missiles_Targeting" MaxCollisions="1" HitMap="HitAnythingMap">
		<BSLinearPath Range="1000.0" Velocity="0" IgnoreInaccuracy="true"/>
		<LineCollision/>
		<Event Name="ProjectileStart">
			<BSShip2ShipActiveAction/>
		</Event>
		<Event Name="HitAnything">
			<BSTriggerAction Name="MissileBarrage"/>
		</Event>
		<Event Name="ProjectilePathEnd">
			<BSTriggerAction Name="NoCollisionBarrage"/>
		</Event>
	</Projectile>
	<Projectile Name="SUB_Missiles_Projectile" MaxCollisions="1" HitMap="StandardHitMap">
		<BSMissilePath Range="400.0" Velocity="120" FiringAngle="0.34906" UseCollisionResult="true" MissOffsetDist="20.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>
		<LineCollision/>
		<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="missiles_impact"/>
			<ApplyDamage ReactionName="SUB_MISSILE" Damage="300">
				<ApplyImpulse Impulse="500"/>
			</ApplyDamage>
		</Event>
	</Projectile>
	<Projectile Name="SUB_Missiles_ProjectileTrail" WhizBySound="Play_Missile_Whizby" WhizByDistance="300" MaxCollisions="1" HitMap="StandardHitMap">
		<BSMissilePath Range="400.0" Velocity="120" FiringAngle="0.34906" UseCollisionResult="true" MissOffsetDist="20.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>
		<LineCollision/>
		<Event Name="ProjectileStart">
			<Mesh MeshName="meshes/props/weapons/tomahawk_01/tomahawk_01.mdl">
				<ProjectileLocation/>
			</Mesh>
			<SpawnParticle>
				<ParticleData ParticleFXId="Soglo\Particles\__cFX__\Navy\Ship_Weapons\ste_missile_s2s_hld_01">
					<ParticleFlag>emitter_follows</ParticleFlag>
					<ParticleFlag>particles_follows</ParticleFlag>
					<ParticleFlag>stop_emit_on_attachment_death</ParticleFlag>
				</ParticleData>
				<ProjectileLocation/>
			</SpawnParticle>
			<BSShip2ShipActiveAction/>
		</Event>
	</Projectile>
	<Projectile Name="SUB_Missile_Miss_Projectile" MaxCollisions="1" HitMap="StandardHitMap">
		<BSMissilePath Range="400.0" Velocity="120" FiringAngle="0.34906" UseCollisionResult="false" MissOffsetDist="20.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>
		<LineCollision/>
		<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="missiles_impact"/>
			<ApplyDamage ReactionName="SUB_MISSILE" Damage="1000">
				<ApplyImpulse Impulse="500"/>
			</ApplyDamage>
		</Event>
	</Projectile>
	<Projectile Name="SUB_Missile_Miss_ProjectileTrail" WhizBySound="Play_Missile_Whizby" WhizByDistance="300" MaxCollisions="1" HitMap="StandardHitMap">
		<BSMissilePath Range="400.0" Velocity="120" FiringAngle="0.34906" UseCollisionResult="false" MissOffsetDist="20.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>
		<LineCollision/>
		<Event Name="ProjectileStart">
			<Mesh MeshName="meshes/props/weapons/tomahawk_01/tomahawk_01.mdl">
				<ProjectileLocation/>
			</Mesh>
			<SpawnParticle>
				<ParticleData ParticleFXId="Soglo\Particles\__cFX__\Navy\Ship_Weapons\ste_missile_s2s_hld_01">
					<ParticleFlag>emitter_follows</ParticleFlag>
					<ParticleFlag>particles_follows</ParticleFlag>
					<ParticleFlag>stop_emit_on_attachment_death</ParticleFlag>
				</ParticleData>
				<ProjectileLocation/>
			</SpawnParticle>
			<BSShip2ShipActiveAction/>
		</Event>
	</Projectile>
</WeaponManager>
