AddEffect = Attachable
	PresetName = Muzzle Flash Coalition Auto Cannon
	Mass = 0.0001
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/MuzzleAutoCannonA.bmp
	FrameCount = 6
	SpriteOffset = Vector
		X = -2
		Y = -7
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Air
		Resolution = 2
		Depth = 100
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Air
		Resolution = 3
		Depth = 100
	DeepCheck = 0
	JointStrength = 10000
	JointStiffness = 1
	ScreenEffect = ContentFile
		FilePath = Base.rte/Effects/Glows/YellowBig.bmp
	DrawAfterParent = 1


AddAmmo = AEmitter
	PresetName = Auto Cannon Shot
	Mass = 2
	AirResistance = 0.02
	GlobalAccScalar = 1
	OrientToVel = 0.8
	Sharpness = 3
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/BulletGrenadeA.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -3
		Y = -2
	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
	AddEmission = Emission
		EmittedParticle = MOPixel
			CopyOf = Glow Particle Yellow Small
		ParticlesPerMinute = 1000
		StartTimeMS = 5
		StopTimeMS = 50
		BurstSize = 2
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 1
		PushesEmitter = 0
	AddEmission = Emission
		EmittedParticle = MOSParticle
			CopyOf = Tiny Smoke Ball 1
		ParticlesPerMinute = 3000
		StartTimeMS = 5
//		StopTimeMS = 30
		BurstSize = 4
		Spread = 3.1
		MaxVelocity = 6
		MinVelocity = 2
		PushesEmitter = 0
	EmissionEnabled = 1
	EmissionsIgnoreThis = 0
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Puff Small
		Count = 4
		MinVelocity = 1
		MaxVelocity = 3
		LifeVariation = 0.10
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
			PresetName = Sharpnel Autocannon Grey
			Sharpness = 28
		Count = 15
		MinVelocity = 2
		MaxVelocity = 12
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 8
		Spread = 3.14
		MaxVelocity = 12
		MinVelocity = 2
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Main Thruster Blast Spark
		Count = 10
		Spread = 3.14
		MaxVelocity = 9
		MinVelocity = 9
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Yellow
			PresetName = Sharpnel Autocannon Yellow
			Sharpness = 28
		Count = 15
		MinVelocity = 2
		MaxVelocity = 12
		InheritsVel = 0
	GibImpulseLimit = 8



AddAmmo = Round
	PresetName = Round Coalition Auto Cannon
	ParticleCount = 1
	Particle = AEmitter
		CopyOf = Auto Cannon Shot
	Shell = MOSParticle
		CopyOf = Casing
	FireVelocity = 70
	ShellVelocity = 6
	Separation = 5


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

AddAmmo = Magazine
	PresetName = Magazine Coalition Auto Cannon
	Mass = 8
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/MagazineAutoCannonA.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -2
		Y = -5
	ParentOffset = Vector
		X = -13
		Y = 2
	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 = 18
	RTTRatio = 0
	RegularRound = Round
		CopyOf = Round Coalition Auto Cannon
	TracerRound = None


AddDevice = HDFirearm
	PresetName = Auto Cannon
	AddToGroup = Weapons
	Description = Auto cannon for your heavy soldiers to use. Devastating power, high rate and lots of rounds to fire. Reloading this thing might take some time though.
	Mass = 45
	HitsMOs = 0
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/AutoCannonA.bmp
	FrameCount = 3
	SpriteOffset = Vector
		X = -16
		Y = -4
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldValue = 120
	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 = 80
	JointStiffness = 0.5
	JointOffset = Vector
		X = -8
		Y = 3
	DrawAfterParent = 0
	StanceOffset = Vector
		X = 6
		Y = 6
	SharpStanceOffset = Vector
		X = 9
		Y = 2
	SupportOffset = Vector
		X = 1
		Y = 4
	SharpLength = 100
	Magazine = Magazine
		CopyOf = Magazine Coalition Auto Cannon
	Flash = Attachable
		CopyOf = Muzzle Flash Coalition Auto Cannon
	FireSound = Sound
		AddSample = ContentFile
			FilePath = Base.rte/Devices/Cannons/Cannon2.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 = 340
	ReloadTime = 4200
	FullAuto = 1
	FireIgnoresThis = 1
	ShakeRange = 5
	SharpShakeRange = 3
	NoSupportFactor = 3
	ParticleSpreadRange = 1.3
	ShellSpreadRange = 8
	ShellAngVelRange = 0
	MuzzleOffset = Vector
		X = 18
		Y = 0
	EjectionOffset = Vector
		X = -6
		Y = -3
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 1
		Count = 8
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 2
		Count = 6
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Drop Oil
		Count = 6
		Spread = 2.25
		MaxVelocity = 10
		MinVelocity = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Gib Metal Rust Micro A
		Count = 14
		Spread = 2.25
		MaxVelocity = 15
		MinVelocity = 5
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Gib Metal Grey Micro A
		Count = 12
		Spread = 2.25
		MaxVelocity = 15
		MinVelocity = 5
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Coalition Weapons Gib I
		Count = 1
		Offset = Vector
			X = -2
			Y = -1
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Coalition Weapons Gib D
		Count = 1
		Offset = Vector
			X = 3
			Y = -1
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Coalition Weapons Gib D
		Count = 1
		Offset = Vector
			X = 3
			Y = 1
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Coalition Weapons Gib A
		Count = 1
		Spread = 2.25
		MaxVelocity = 10
		MinVelocity = 1
		Offset = Vector
			X = -3
			Y = 0
	GibWoundLimit = 5