<!-- edited with XMLSpy v2012 sp1 (http://www.altova.com) by Greg Knowlton (Foundation 9 Entertainment) -->
<WeaponManager>
	<Weapon Name="Moray_Torpedoes" Accuracy="0.95" BoneName="Root" MeshName="Meshes\Props\weapons\invisiblebullet\invisiblebullet">
		<Trigger Name="MOR_Torpedoes_FiringVFX">
			<Event Name="Fire">
				<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
			</Event>
		</Trigger>
		<Trigger Name="MOR_Torpedoes_FiringAnimation">
			<Event Name="Fire">
			</Event>
		</Trigger>
		<Trigger Name="MOR_Torpedoes_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="MOR_Torpedoes_Projectile">
			<Event Name="Fire">
				<SpawnProjectile Name="MOR_Torpedoes_Projectile">
					<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				</SpawnProjectile>
				<SpawnProjectile Name="MOR_Torpedoes_ProjectileTrail">
					<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				</SpawnProjectile>
				<Timer Time="1.0" Name="Volley_02">
					<SpawnProjectile Name="MOR_Torpedoes_Projectile">
						<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
					</SpawnProjectile>
					<SpawnProjectile Name="MOR_Torpedoes_ProjectileTrail">
						<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
					</SpawnProjectile>
				</Timer>
				<CameraEvent Event="Fire"/>
			</Event>
			<Event Name="CeaseFire">
			</Event>
		</Trigger>
		<Trigger Name="MOR_Torpedoes_FiringSFX">
			<Event Name="StartFire">
				<PlayGameSound SoundID="_trpdo_mk46_fire" Looping="false">
					<AttachmentLocation AttachmentName="attachmentPointInvisible"/>
				</PlayGameSound>
			</Event>
		</Trigger>
		<Trigger Name="FirePrimary" RateOfFire="1">
			<Include>MOR_Torpedoes_Rumble</Include>
			<Include>MOR_Torpedoes_FiringVFX</Include>
			<Include>MOR_Torpedoes_FiringSFX</Include>
			<Include>MOR_Torpedoes_FiringAnimation</Include>
			<Include>MOR_Torpedoes_Projectile</Include>
		</Trigger>
		<Trigger Name="FirePrimary_Trail" RateOfFire="1">
		</Trigger>
		<Trigger Name="Reset">
			<Event Name="Fire">
			</Event>
		</Trigger>
	</Weapon>
	<Projectile Name="MOR_Torpedoes_Projectile" MaxCollisions="1" HitMap="StandardHitMap">
		<BSTorpedoTargetPath Range="800.0" Velocity="200"/>
		<LineCollision>
			<TestAgainst>PHYSICS_CLASS_DEFENSIVECAPSULE</TestAgainst>
		</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="regent_torpedo_impact"/>
			<ApplyDamage ReactionName="MOR_TORPEDO" Damage="200">
				<ApplyImpulse Impulse="50"/>
			</ApplyDamage>
		</Event>
	</Projectile>
	<Projectile Name="MOR_Torpedoes_ProjectileTrail" WhizBySound="bullet_whiz_by" WhizByDistance="1" MaxCollisions="1" HitMap="StandardHitMap">
		<BSTorpedoTargetPath Range="800.0" Velocity="200" UseLastPathDir="true"/>
		<LineCollision>
			<TestAgainst>PHYSICS_CLASS_DEFENSIVECAPSULE</TestAgainst>
		</LineCollision>
		<Event Name="ProjectileStart">
			<SpawnParticle>
				<ParticleData ParticleFXId="Soglo\Particles\__cFX__\Navy\Ship_Weapons\Ste_Navy_Torpedo_Hld01_">
					<ParticleFlag>emitter_follows</ParticleFlag>
					<ParticleFlag>particles_follows</ParticleFlag>
					<ParticleFlag>stop_emit_on_attachment_death</ParticleFlag>
				</ParticleData>
				<ProjectileLocation/>
			</SpawnParticle>
		</Event>
	</Projectile>
</WeaponManager>
