<!-- edited with XMLSpy v2012 sp1 (x64) (http://www.altova.com) by shaak (Foundation 9 Entertainment) -->
<WeaponManager>
	<Weapon Name="KRAW" Accuracy="0.95" BoneName="RAttachment" CanAddAmmo="false" MeshName="Meshes\Props\weapons\Regent_Rifle_02\regent_rifle_02">
		<Bonegroup Slot="1" Name="cylinders"/>
		<Bonegroup Slot="2" Name="chassis"/>
		<Bonegroup Slot="3" Name="flap"/>
		<Ammo Name="Primary_Ammo">
			<Pool PoolSize="300"/>
		</Ammo>
		<Trigger Name="KRAW_IdleAnimation">
			<Event Name="Fire">
				<PlayAnimation Slot="1" AnimationName="animation\gameplay\character\player\vm\kraw\movingparts\cylinderspin_addit1" Speed="0.5" SkipTicks="0" Looping="true"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_NoAmmoAnimation">
			<Event Name="Fire">
				<PlayAnimation Slot="1" AnimationName="animation\gameplay\character\player\vm\kraw\movingparts\cylinderspin_addit1" Speed="0.5" SkipTicks="337" Looping="false"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_SideShake">
			<Event Name="Fire">
				<PlayAnimation Slot="3" AnimationName="animation\gameplay\character\player\vm\kraw\movingparts\sideshake_addit" Speed="1.0" SkipTicks="0" Looping="true"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_CooldownSpin">
			<Event Name="Fire">
				<PlayAnimation Slot="1" AnimationName="animation\gameplay\character\player\vm\kraw\movingparts\cylinderspinreverse_addit" Speed="5.0" SkipTicks="0" Looping="true"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_ExamineAnimation">
			<Event Name="Fire">
				<PlayAnimation AnimationName="animation\gameplay\character\player\vm\kraw\navigation\standing\examine_kraw" Speed="1.0" SkipTicks="0" Looping="false"/>
			</Event>
		</Trigger>
		<Trigger Name="EmptyFire">
			<Event Name="Fire">
				<PlayGameSound SoundID="Play_PLY_KRAW_DRYFIRE" EndSoundID="" Looping="false">
					<AttachmentLocation AttachmentName="attachmentPointBarrel"/>
				</PlayGameSound>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_FiringVFX">
			<Event Name="Fire">
				<AttachmentLocation AttachmentName="attachmentPointBarrel"/>
				<LightFlash R=".1" G=".5" B=".8" Radius="5" Attack="0" Sustain="0" Decay=".10"/>
				<SpawnParticle>
					<ParticleData ParticleFXID="Soglo\Particles\__cFX__\weapons\rifle_regent\ste_POVflash_regent_rifle01">
						<ParticleFlag>emitter_follows</ParticleFlag>
						<ParticleFlag>particles_follow</ParticleFlag>
					</ParticleData>
					<AttachmentLocation AttachmentName="attachmentPointBarrel"/>
				</SpawnParticle>
				<SpawnParticle>
					<ParticleData ParticleFXID="soglo\particles\__cfx__\weapons\rifle_regent\ste_povs_regent_rifle_spin01">
						<ParticleFlag>emitter_follows</ParticleFlag>
						<ParticleFlag>particles_follow</ParticleFlag>
					</ParticleData>
					<AttachmentLocation AttachmentName="attachmentPointEject"/>
				</SpawnParticle>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_FiringPMVFX">
			<Event Name="Fire">
				<AttachmentLocation AttachmentName="attachmentPointBarrel"/>
				<LightFlash R=".1" G=".5" B=".8" Radius="5" Attack="0" Sustain="0" Decay=".10"/>
				<SpawnParticle>
					<ParticleData ParticleFXID="soglo\particles\__cfx__\weapons\rifle_regent\ste_povs_regent_rifle_spin02">
						<ParticleFlag>emitter_follows</ParticleFlag>
						<ParticleFlag>particles_follow</ParticleFlag>
					</ParticleData>
					<AttachmentLocation AttachmentName="attachmentPointEject"/>
				</SpawnParticle>
			</Event>
		</Trigger>
		<WarmupTrigger Name="KRAW_Spinup" WarmupTime="0.01" CooldownTime="2.0" MinRateOfFire="1" MaxRateOfFire="25" TimeToMaxROF="0.01" MaxROFCooldown="2.0">
			<Event Name="Execute">
				<PlayAnimation Slot="1" AnimationName="animation\gameplay\character\player\vm\kraw\movingparts\cylinderspin_addit" Speed="10" SkipTicks="0" Looping="true"/>
			</Event>
			<Event Name="Fire">
				<PlayAnimation Slot="1" AnimationName="animation\gameplay\character\player\vm\kraw\movingparts\cylinderspin_addit" Speed="10" SkipTicks="0" Looping="true" NoReset="true"/>
			</Event>
		</WarmupTrigger>
		<Trigger Name="KRAW_FiringAnimation">
			<Event Name="Fire">
				<PlayAnimation Slot="3" AnimationName="animation\gameplay\character\player\vm\kraw\combat\shoot_loop_addit_kraw" Speed="1.0" SkipTicks="0"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_PlayerFiringSequences">
			<Event Name="Fire">
				<UseParentObject>
					<PlaySequence Name="Player_Fire_Loop_Additive_KRAW" Slot="12" SkipTicks="0" TweenTicks="0" AllowTransToSelf="true"/>
				</UseParentObject>
				<CameraEvent Event="KRAWFire"/>
			</Event>
			<Event Name="CeaseFire">
				<CameraEvent Event="KRAWEndFiring"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_PlayerPMFiringSequences">
			<Event Name="Fire">
				<UseParentObject>
					<PlaySequence Name="Player_Fire_Loop_Additive_Precision_KRAW" Slot="12" SkipTicks="0" TweenTicks="0" AllowTransToSelf="true"/>
				</UseParentObject>
				<CameraEvent Event="KRAWFirePrecision"/>
			</Event>
			<Event Name="CeaseFire">
				<CameraEvent Event="KRAWEndFiringPrecision"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_MuzzleFlashRoF">
			<Event Name="Fire">
				<SpawnParticle>
					<ParticleData ParticleFXID="Soglo\Particles\__cFX__\weapons\rifle_regent\ste_POVflash_regent_rifle01">
						<ParticleFlag>emitter_follows</ParticleFlag>
						<ParticleFlag>particles_follow</ParticleFlag>
					</ParticleData>
					<AttachmentLocation AttachmentName="attachmentPointBarrel"/>
				</SpawnParticle>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_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="KRAW_Projectile">
			<Event Name="Fire">
				<SpawnProjectile Name="KRAW_Projectile">
					<CameraLocation/>
				</SpawnProjectile>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_ProjectileTrail">
			<Event Name="Fire">
				<SpawnProjectile Name="KRAW_ProjectileTrail">
					<AttachmentLocation AttachmentName="attachmentPointBarrel"/>
				</SpawnProjectile>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_FiringSFX">
			<Event Name="StartFire">
				<PlayGameSound SoundID="REG_Carbine_Fire" EndSoundID="REG_Carbine_Stop" Looping="true">
					<AttachmentLocation AttachmentName="attachmentPointBarrel"/>
				</PlayGameSound>
			</Event>
		</Trigger>
		<Trigger Name="FirePrimary" RateOfFire="17">
			<Ammo Name="Primary_Ammo"/>
			<Include>KRAW_Rumble</Include>
			<Include>KRAW_FiringVFX</Include>
			<Include>KRAW_FiringSFX</Include>
			<!--Include>KRAW_FiringAnimation</Include-->
			<Include>KRAW_PlayerFiringSequences</Include>
			<Include>KRAW_Projectile</Include>
			<Include>KRAW_MuzzleFlashRoF</Include>
		</Trigger>
		<!--WarmupTrigger Name="FirePrimarySpinup" WarmupTime="1.0" MinRateOfFire="5" MaxRateOfFire="20" TimeToMaxRateOfFire="3.0">
			<Include>KRAW_Rumble</Include>
			<Include>KRAW_FiringVFX</Include>
			<Include>KRAW_FiringSFX</Include>
			<Include>KRAW_FiringAnimation</Include>
			<Include>KRAW_PlayerFiringSequences</Include>
			<Include>KRAW_Projectile</Include>
			<Include>KRAW_MuzzleFlashRoF</Include>
		</WarmupTrigger-->
		<Trigger Name="FirePrimary_Trail" RateOfFire="10">
			<Include>KRAW_ProjectileTrail</Include>
		</Trigger>
		<Trigger Name="FirePrimary_Precision" RateOfFire="17">
			<Ammo Name="Primary_Ammo"/>
			<Include>KRAW_Projectile</Include>
			<Include>KRAW_FiringSFX</Include>
			<Include>KRAW_FiringPMVFX</Include>
			<!--Include>KRAW_FiringAnimation</Include-->
			<Include>KRAW_PlayerPMFiringSequences</Include>
			<Include>KRAW_Rumble</Include>
			<Include>KRAW_MuzzleFlashRoF</Include>
		</Trigger>
		<Trigger Name="KRAW_Cooldown_Start">
			<Event Name="Fire">
				<PlayAnimation Slot="2" AnimationName="animation\gameplay\character\player\vm\kraw\combat\idle_toreload_kraw" Speed="1.0" SkipTicks="0"/>
				<SpawnParticle>
					<ParticleData ParticleFXID="soglo\particles\__cfx__\weapons\rifle_regent\ste_kraw_reload_01">
						<ParticleFlag>emitter_follows</ParticleFlag>
						<ParticleFlag>particles_follow</ParticleFlag>
					</ParticleData>
					<AttachmentLocation AttachmentName="attachmentPointBarrel"/>
				</SpawnParticle>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_Cooldown_Loop">
			<Event Name="Fire">
				<PlayAnimation Slot="2" AnimationName="animation\gameplay\character\player\vm\kraw\combat\reload_loop_kraw" Speed="1.0" SkipTicks="0"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_Cooldown_End">
			<Event Name="Fire">
				<PlayAnimation Slot="2" AnimationName="animation\gameplay\character\player\vm\kraw\combat\reload_toidle_kraw" Speed="1.0" SkipTicks="0"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_Cooldown_Start_Fast">
			<Event Name="Fire">
				<PlayAnimation Slot="2" AnimationName="animation\gameplay\character\player\vm\kraw\combat\idle_toreload_kraw" Speed="1.0" SkipTicks="0"/>
				<SpawnParticle>
					<ParticleData ParticleFXID="soglo\particles\__cfx__\weapons\rifle_regent\ste_kraw_reload_01">
						<ParticleFlag>emitter_follows</ParticleFlag>
						<ParticleFlag>particles_follow</ParticleFlag>
					</ParticleData>
					<AttachmentLocation AttachmentName="attachmentPointBarrel"/>
				</SpawnParticle>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_Cooldown_Loop_Fast">
			<Event Name="Fire">
				<PlayAnimation Slot="2" AnimationName="animation\gameplay\character\player\vm\kraw\combat\reload_loop_kraw" Speed="1.0" SkipTicks="0"/>
			</Event>
		</Trigger>
		<Trigger Name="KRAW_Cooldown_End_Fast">
			<Event Name="Fire">
				<PlayAnimation Slot="2" AnimationName="animation\gameplay\character\player\vm\kraw\combat\reload_toidle_kraw" Speed="1.0" SkipTicks="0"/>
			</Event>
		</Trigger>
		<Trigger Name="Reset">
			<Event Name="Fire">
				<PlayAnimation Slot="2" AnimationName="animation\gameplay\character\player\vm\kraw\combat\reload_toidle_kraw" Speed="1.0" SkipTicks="68"/>
			</Event>
		</Trigger>
		<Trigger Name="Reload_Rumble" RateOfFire="1">
			<Event Name="Fire">
				<Rumble Name="Pistol" Time="0.05" FadeUpTime="0" FadeDownTime="0" Loop="false" Range="60" PlayOnOwner="false"/>
			</Event>
		</Trigger>
		<Trigger Name="Player_Gunbutt_Attack">
			<Event Name="Fire">
				<SpawnProjectile Name="KRAW_Gunbutt_Attack">
					<CameraLocation>
						<Offset X="0" Y="-0.3" Z="0"/>
					</CameraLocation>
				</SpawnProjectile>
			</Event>
		</Trigger>
	</Weapon>
	<Projectile Name="KRAW_Projectile" MaxCollisions="1" HitMap="StandardHitMap">
		<BSLinearPath Range="100.0" Velocity="714"/>
		<LineCollision/>
		<Event Name="ProjectileStart">
			<UseParentObject>
				<StimulateAI Range="30" Lifetime="0.25">
					<!-- Alerts any idle enemies nearby -->
					<StimulusBit>Gunshot</StimulusBit>
				</StimulateAI>
			</UseParentObject>
		</Event>
		<Event Name="HitGeometry">
			<SurfaceImpact SurfaceEffectName="Player_KRAW_Bullet"/>
			<UseParentObject>
				<StimulateAI Range="30" Lifetime="0.25">
					<!-- Alerts any idle enemies nearby -->
					<StimulusBit>Gunshot</StimulusBit>
				</StimulateAI>
			</UseParentObject>
		</Event>
		<Event Name="HitObject">
			<SurfaceImpact SurfaceEffectName="Player_KRAW_Bullet"/>
			<ApplyDamage ReactionName="KRAW_Bullet">
				<ApplyImpulse Impulse="30"/>
			</ApplyDamage>
			<UseParentObject>
				<StimulateAI Range="30" Lifetime="0.25">
					<!-- Alerts any idle enemies nearby -->
					<StimulusBit>Gunshot</StimulusBit>
				</StimulateAI>
			</UseParentObject>
		</Event>
		<Event Name="HitCharacter">
			<ApplyDamage ReactionName="KRAW_Bullet" Damage="20" PowerLevel="2">
				<ApplyImpulse Impulse="30"/>
				<IncrementKillStat StatName="AlienRifleKillCount"/>
			</ApplyDamage>
			<UseParentObject>
				<StimulateAI Range="30" Lifetime="0.25">
					<!-- Alerts any idle enemies nearby -->
					<StimulusBit>Gunshot</StimulusBit>
				</StimulateAI>
			</UseParentObject>
		</Event>
	</Projectile>
	<Projectile Name="KRAW_ProjectileTrail" WhizBySound="bullet_whiz_by" WhizByDistance="1" MaxCollisions="1" HitMap="StandardHitMap">
		<BSLinearPath Range="100.0" Velocity="50" UseLastPathDir="true"/>
		<LineCollision/>
		<Event Name="ProjectileStart">
			<Proximity Proximity="5.0" Player="true">
				<!--<PlayGameSound SoundID="bullet_whiz_by"/>-->
			</Proximity>
			<SpawnTrail U0="192" U1="256" VSize="-1" StartWidth=".05" EndWidth=".01" FadeAngle="1" CapV0="64" CapU0="257" CapWidth="64" Drift="0.0" CameraWind="0.0" R="5" G="5" B="20" A="1" Duration=".1">
				<ProjectileLocation/>
			</SpawnTrail>
			<!--SpawnTrail U0="0" U1="64" VSize="20" StartWidth=".1" EndWidth=".03" FadeAngle="1.0" Drift=".8" CameraWind=".15" MaxSubSamples="1" R=".1" G=".3" B="1" A=".15" Duration="1.5">
				<ProjectileLocation/>
			</SpawnTrail-->
		</Event>
	</Projectile>
	<Projectile Name="KRAW_Gunbutt_Attack" MaxCollisions="1" HitMap="StandardHitMap">
		<LinearPath Range="2.0" Velocity="0.0" MaxTimeMod="6" MaxAngleMod="3"/>
		<MultiCollision HorizontalSpread="0.5" VerticalSpread="0.5" Count="1"/>
		<Event Name="ProjectileStart">
		</Event>
		<Event Name="HitGeometry">
		</Event>
		<Event Name="HitObject">
			<ApplyDamage ReactionName="GunButt">
				<ApplyImpulse Impulse="50"/>
			</ApplyDamage>
		</Event>
		<Event Name="HitCharacter">
			<ApplyDamage ReactionName="Player_GunButt" PowerLevel="4">
				<ApplyImpulse Impulse="50"/>
			</ApplyDamage>
		</Event>
	</Projectile>
</WeaponManager>
