///////////////////////////////////////////////////////////////////////////////
// Rounds

AddEffect = MOPixel
	PresetName = Repeater Shot Hit Glow
	Mass = 1
	PinStrength = 100
	LifeTime = 130
	RestThreshold = 500
	HitsMOs = 0
	GetsHitByMOs = 0
	Color = Color
		R = 255
		G = 0
		B = 255
	Atom = Atom
		Material = Material
			CopyOf = Bullet Metal
		TrailColor = Color
			R = 255
			G = 0
			B = 255
		TrailLength = 10
	ScreenEffect = ContentFile
		FilePath = Base.rte/Effects/Glows/YellowBig.bmp
	EffectStartTime = 0
	EffectStopTime = 100
	EffectStartStrength = 1.0
	EffectStopStrength = 0.0
	EffectAlwaysShows = 1


AddEffect = MOPixel
	PresetName = Repeater Shot Trail Glow
	Mass = 1
	PinStrength = 100
	LifeTime = 190
	RestThreshold = 500
	HitsMOs = 0
	GetsHitByMOs = 0
	Color = Color
		R = 255
		G = 0
		B = 255
	Atom = Atom
		Material = Material
			CopyOf = Bullet Metal
		TrailColor = Color
			R = 255
			G = 0
			B = 255
		TrailLength = 10
	ScreenEffect = ContentFile
		FilePath = Base.rte/Effects/Glows/YellowSmall.bmp
	EffectStartTime = 0
	EffectStopTime = 190
	EffectStartStrength = 1.0
	EffectStopStrength = 0.0
	EffectAlwaysShows = 1


AddEffect = MOPixel
	PresetName = Repeater Hit Particle
	Mass = 0.8
	Sharpness = 10
	LifeTime = 13
	RestThreshold = 500
	HitsMOs = 1
	GetsHitByMOs = 0
	Color = Color
		R = 255
		G = 226
		B = 0
	Atom = Atom
		Material = Material
			CopyOf = Bullet Metal
		TrailColor = Color
			R = 255
			G = 0
			B = 255
		TrailLength = 2
	ScreenEffect = ContentFile
		FilePath = Base.rte/Effects/Glows/YellowTiny.bmp

		
//PINNED DAMAGING EMITTER
		
AddEffect = AEmitter
	PresetName = Repeater Shot Damage
	Mass = 1
	PinStrength = 500
	LifeTime = 600
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Base.rte/Null.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = 0
		Y = 0
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Air
		Resolution = 2
		Depth = 5
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Air
		Resolution = 3
		Depth = 5
	DeepCheck = 0
	JointStrength = 10000
	JointStiffness = 1
	DrawAfterParent = 1
	AddEmission = Emission
		EmittedParticle = MOPixel
			CopyOf = Repeater Hit Particle
		Spread = 3.14
		MaxVelocity = 35
		MinVelocity = 30
	EmissionEnabled = 1
	EmissionsIgnoreThis = 1
	ParticlesPerMinute = 1600
	BurstSize = 2
	BurstScale = 1
	BurstDamage = 0
	BurstTriggered = 0
	EmissionDamage = 0
	Flash = None
	FlashOnlyOnBurst = 0

//TRAIL FOR SHOT
	
AddEffect = AEmitter
	PresetName = Repeater Shot Trail
	Mass = 0.001
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Base.rte/Null.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = 0
		Y = 0
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Air
		Resolution = 2
		Depth = 5
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Air
		Resolution = 3
		Depth = 5
	DeepCheck = 0
	JointStrength = 10000
	JointStiffness = 1
	DrawAfterParent = 1
	AddEmission = Emission
		EmittedParticle = MOPixel
			CopyOf = Repeater Shot Trail Glow
		Spread = 0
		MaxVelocity = 0
		MinVelocity = 0
	EmissionEnabled = 1
	EmissionsIgnoreThis = 1
	ParticlesPerMinute = 1800
	BurstSize = 1
	BurstScale = 1
	BurstDamage = 0
	BurstTriggered = 0
	EmissionDamage = 0
	Flash = None
	FlashOnlyOnBurst = 0

//INITIAL SHOT

AddAmmo = MOSRotating
	PresetName = Repeater Shot
	Mass = 0.5
//	AirResistance = 0
	RestThreshold = -500
	LifeTime = 800
	HitsMOs = 1
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Base.rte/Effects/Pyro/Fireball01008.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -10
		Y = -10
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Bullet Metal
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Bullet Metal
		Resolution = 4
		Depth = 1
	DeepCheck = 0
	GibImpulseLimit = 1
	AddEmitter = AEmitter
		CopyOf = Repeater Shot Trail
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Repeater Shot Damage
		Count = 1
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Repeater Shot Hit Glow
		Count = 1
		InheritsVel = 0
//	GibSound = Sound
//		AddSample = ContentFile
//			Path = Impact Sound Here


AddAmmo = Round
	PresetName = Repeater Shot Round
	ParticleCount = 1
	Particle = MOSRotating
		CopyOf = Repeater Shot
	Shell = MOSParticle
		CopyOf = Tiny Smoke Ball 1
	FireVelocity = 70
	ShellVelocity = 12
	Separation = 0

///////////////////////////////////////////////////////////////////////////////
// Magazines

AddAmmo = Magazine
	PresetName = Magazine Dummy Repeater
	Mass = 5
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Base.rte/Null.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -4
		Y = -3
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Bullet Metal
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Bullet Metal
		Resolution = 3
		Depth = 1
	DeepCheck = 0
	JointStrength = 200
	JointStiffness = 1
	DrawAfterParent = 0
	RoundCount = 40
	RTTRatio = 0
	RegularRound = Round
		CopyOf = Repeater Shot Round
	TracerRound = None

///////////////////////////////////////////////////////////////////////////////
// Devices

AddDevice = HDFirearm
	PresetName = Repeater
	Description = Effective rapid fire support weapon.  Doubles as a good assault weapon due to its large clip, but users should be warned of the long reload time.
	AddToGroup = Weapons
	Mass = 30
	HitsMOs = 0
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Dummy.rte/Devices/Sprites/RepeaterA.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -15
		Y = -4
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldValue = 200
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	JointStrength = 70
	JointStiffness = 0.5
	JointOffset = Vector
		X = -8
		Y = 4
	DrawAfterParent = 0
	StanceOffset = Vector
		X = 6
		Y = 7
	SharpStanceOffset = Vector
		X = 8
		Y = 3
	SupportOffset = Vector
		X = 1
		Y = 3
	SharpLength = 120
	Magazine = Magazine
		CopyOf = Magazine Dummy Repeater
		ParentOffset = Vector
			X = -3
			Y = 4
	Flash = Attachable
		CopyOf = Muzzle Flash Shotgun
	FireSound = Sound
		AddSample = ContentFile
			FilePath = Dummy.rte/Devices/Weapons/RepeaterFire.wav
	EmptySound = Sound
		AddSample = ContentFile
			FilePath = Base.rte/Devices/EmptyClick3.wav
	ReloadStartSound = Sound
		AddSample = ContentFile
			FilePath = Base.rte/Devices/ReloadStart.wav
	ReloadEndSound = Sound
		AddSample = ContentFile
			FilePath = Base.rte/Devices/ReloadEnd.wav
	RateOfFire = 250
	ReloadTime = 3000
	FullAuto = 1
	FireIgnoresThis = 1
	ShakeRange = 7
	SharpShakeRange = 3
	NoSupportFactor = 2
	ParticleSpreadRange = 3
	ShellSpreadRange = 8
	ShellAngVelRange = 0
	MuzzleOffset = Vector
		X = 17
		Y = 0
	EjectionOffset = Vector
		X = -9
		Y = -3
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 1
		Count = 6
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 2
		Count = 9
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Drop Oil
		Count = 5
		Spread = 2.25
		MaxVelocity = 10
		MinVelocity = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Gib Metal Rust Micro A
		Count = 7
		Spread = 2.25
		MaxVelocity = 15
		MinVelocity = 5
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Gib Metal Grey Micro A
		Count = 8
		Spread = 2.25
		MaxVelocity = 15
		MinVelocity = 5
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Gib Device Big C
		Count = 1
		Spread = 2.25
		MaxVelocity = 10
		MinVelocity = 1
	GibWoundLimit = 4
