
AddDevice = TDExplosive
	PresetName = Grenade
	AddToGroup = Bombs
	Description = Explosive fragmentation grenade. Perfect for clearing awkward bunkers. Blows up after a 4 second delay.
	Mass = 3
	RestThreshold = -500
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/GrenadeA.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -3
		Y = -4
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldValue = 10
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	JointStrength = 80
	JointStiffness = 0.5
	DrawAfterParent = 1
	DetonationSound = Sound
		AddSample = ContentFile
			Path = Base.rte/Sounds/Explode2.wav
	StanceOffset = Vector
		X = -12
		Y = -5
	StartThrowOffset = Vector
		X = -12
		Y = -5
	EndThrowOffset = Vector
		X = -12
		Y = -5
	MinThrowVel = 3
	MaxThrowVel = 24
	TriggerDelay = 4000
	ActivatesWhenReleased = 1
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Glow Explosion Huge
		Count = 1
		Spread = 2.25
		MaxVelocity = 0.1
		MinVelocity = 0
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 10
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 32
		Spread = 3.1
		MinVelocity = 50
		MaxVelocity = 60
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Yellow
		Count = 28
		Spread = 3.1
		MinVelocity = 50
		MaxVelocity = 60
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Air Blast
		Count = 50
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Flame Ball 1
		Count = 12
		Spread = 3.1
		MaxVelocity = 6
		MinVelocity = 2
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 1
		Count = 34
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2
		Count = 28
		Spread = 3.1
		MaxVelocity = 12
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2 Glow
		Count = 6
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Explosion Trail 1
		Count = 6
		Spread = 3.1
		MaxVelocity = 40
		MinVelocity = 20
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Flame Smoke 1
		Count = 15
		Spread = 3.1
		MaxVelocity = 12
		MinVelocity = 3
		LifeVariation = 0.50
	GibImpulseLimit = 6000
	GibWoundLimit = 1

////////////////////////////////////////////////////////C-4/////////////////////////////////////////////////////////////

///////Red///////

AddAmmo = Round
	PresetName = Round Red Detonator
	ParticleCount = 1
	Particle = MOSRotating
		PresetName = Particle Red Detonator
		Mass = 0.05
		RestThreshold = 500
		LifeTime = 5
		Sharpness = 0
		SpriteFile = ContentFile
			FilePath = Base.rte/Null.bmp
		ScriptPath = Coalition.rte/Devices/Weapons/Grenades/Red Detonator.lua
		HitsMOs = 0
		GetsHitByMOs = 0
		AtomGroup = AtomGroup
			AutoGenerate = 1
			Material = Material
				CopyOf = Metal
			Resolution = 2
			Depth = 0
		DeepGroup = AtomGroup
			AutoGenerate = 1
			Material = Material
				CopyOf = Metal
			Resolution = 3
			Depth = 1
		DeepCheck = 0
	Shell = None
	FireVelocity = 2

AddAmmo = Magazine
	PresetName = Magazine Red Detonator
	Mass = 0
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Base.rte/Null.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -3
		Y = -4
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 3
		Depth = 1
	DeepCheck = 0
	Strength = 200
	Stiffness = 1
	JointOffset = Vector
		X = 0
		Y = -1
	DrawAfterParent = 0
	RoundCount = -1
	RegularRound = Round
		CopyOf = Round Red Detonator

AddDevice = HDFirearm
	PresetName = Red Detonator
	AddToGroup = Bombs
	HeldDeviceType = 1
	Mass = 5
	HitsMOs = 0
	GetsHitByMOs = 1
	Description = The only device that can set off the C-4.  Sets off C-4 on the red frequency.
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/DetonatorA.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -2
		Y = -5
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldCost = 25
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 4
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	Strength = 75
	Stiffness = 0.5
	JointOffset = Vector
		X = -2
		Y = -3
	DrawAfterParent = 0
	OneHanded = 1
	StanceOffset = Vector
		X = 5
		Y = 6
	SharpStanceOffset = Vector
		X = 9
		Y = -5
	SupportOffset = Vector
		X = 4
		Y = 3
	SharpLength = 0
	Magazine = Magazine
		CopyOf = Magazine Red Detonator
		ParentOffset = Vector
			X = -2
			Y = 1
	Flash = None
	FireSound = Sound
		AddSample = ContentFile
			FilePath = Coalition.rte/Effects/Sounds/DetonateC-4.wav
	RateOfFire = 100
	ReloadTime = 0
	FullAuto = 0
	FireIgnoresThis = 0
	ShakeRange = 0
	SharpShakeRange = 0
	NoSupportFactor = 0
	ParticleSpreadRange = 0
	ShellSpreadRange = 0
	ShellAngVelRange = 0
	MuzzleOffset = Vector
		X = 17
		Y = 0
	EjectionOffset = Vector
		X = 17
		Y = -1
	WoundLimit = 1

AddActor = MOSRotating
	PresetName = Active Red C-4
	PinStrength = 3
	Mass = 3
	RestThreshold = -999
	HitsMOs = 0
	GetsHitByMOs = 1
	ScriptPath = Coalition.rte/Devices/Weapons/Grenades/Red C-4.lua
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/C-4A.bmp
	FrameCount = 2
	SpriteAnimMode = 1
	SpriteAnimDuration = 1000
	SpriteOffset = Vector
		X = -3
		Y = -4
	HFlipped = 0
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter	
		CopyOf = Dent Metal
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 1
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 6
	DeepCheck = 0
	GibImpulseLimit = 10000
	GibWoundLimit = 999
	GibSound = Sound
		AddSample = ContentFile
			FilePath = Base.rte/Sounds/Explode2.wav
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 24
		MinVelocity = 30
		MaxVelocity = 55
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Ball 1
		Count = 20
		MinVelocity = 15
		MaxVelocity = 20
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Ball 2
		Count = 20
		MinVelocity = 20
		MaxVelocity = 30
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Ball 3
		Count = 20
		MinVelocity = 20
		MaxVelocity = 25
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Fuel Fire Trace Gray
		Count = 10
		MinVelocity = 22
		MaxVelocity = 28
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Flame 1
		Count = 11
		MinVelocity = 8
		MaxVelocity = 9
		LifeVariation = 0.30
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Flame Ball 1
		Count = 20
		MinVelocity = 48
		MaxVelocity = 60
		LifeVariation = 0.10
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 25
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 9
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Yellow
		Count = 9
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Air Blast
		Count = 25
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2
		Count = 22
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.70
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2 Glow
		Count = 8
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.60
		InheritsVel = 1
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Explosion Trail 1
		Count = 6
		Spread = 3.1
		MaxVelocity = 40
		MinVelocity = 20
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 1
		Count = 12
		Spread = 2.25
		MaxVelocity = 5
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 2
		Count = 12
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Gib Device Small E
		Offset = Vector
			X = -1
			Y = 2
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Gib Device Small G
		Offset = Vector
			X = 5
			Y = 2
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Ground Flames
		Count = 40
		MinVelocity = 12
		MaxVelocity = 18
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Puff Medium
		Count = 7
		MinVelocity = 9
		MaxVelocity = 20
		LifeVariation = 0.30
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Puff Small
		Count = 14
		MinVelocity = 19
		MaxVelocity = 40
		LifeVariation = 0.50
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 5
		MinVelocity = 20
		MaxVelocity = 45
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Glow Explosion Huge

AddDevice = TDExplosive
	PresetName = Red C-4
	AddToGroup = Bombs
	Description = A plastic explosive activated by a remote-controlled detonator.  Sticks to anything immobile.  Don't forget to buy a red detonator from the tools menu!
	Mass = 3
	RestThreshold = -500
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/UnarmedC-4A.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -4
		Y = -5
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldValue = 50
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 2
		Depth = 2
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	JointStrength = 80
	JointStiffness = 0.5
	DrawAfterParent = 1
	DetonationSound = Sound
		AddSample = ContentFile
			Path = Coalition.rte/Effects/Sounds/ActivateC-4.wav
	StanceOffset = Vector
		X = -12
		Y = -5
	StartThrowOffset = Vector
		X = -12
		Y = -5
	EndThrowOffset = Vector
		X = -12
		Y = -5
	MinThrowVel = 3
	MaxThrowVel = 10
	TriggerDelay = 99999
	ActivatesWhenReleased = 1
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Active Red C-4
		Count = 1
		Spread = 2.25
		MaxVelocity = 0.1
		MinVelocity = 0
		InheritsVel = 0
	GibImpulseLimit = 1
	GibWoundLimit = 1	

///////Blue///////

AddAmmo = Round
	PresetName = Round Blue Detonator
	ParticleCount = 1
	Particle = MOSRotating
		PresetName = Particle Blue Detonator
		Mass = 0.05
		RestThreshold = 500
		LifeTime = 5
		Sharpness = 0
		SpriteFile = ContentFile
			FilePath = Base.rte/Null.bmp
		ScriptPath = Coalition.rte/Devices/Weapons/Grenades/Blue Detonator.lua
		HitsMOs = 0
		GetsHitByMOs = 0
		AtomGroup = AtomGroup
			AutoGenerate = 1
			Material = Material
				CopyOf = Metal
			Resolution = 2
			Depth = 0
		DeepGroup = AtomGroup
			AutoGenerate = 1
			Material = Material
				CopyOf = Metal
			Resolution = 3
			Depth = 1
		DeepCheck = 0
	Shell = None
	FireVelocity = 2

AddAmmo = Magazine
	PresetName = Magazine Blue Detonator
	Mass = 0
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Base.rte/Null.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -3
		Y = -4
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 3
		Depth = 1
	DeepCheck = 0
	Strength = 200
	Stiffness = 1
	JointOffset = Vector
		X = 0
		Y = -1
	DrawAfterParent = 0
	RoundCount = -1
	RegularRound = Round
		CopyOf = Round Blue Detonator

AddDevice = HDFirearm
	PresetName = Blue Detonator
	AddToGroup = Bombs
	HeldDeviceType = 1
	Mass = 5
	HitsMOs = 0
	GetsHitByMOs = 1
	Description = The only device that can set off the C-4.  Sets off C-4 on the blue frequency.
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/DetonatorB.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -2
		Y = -5
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldCost = 25
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 4
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	Strength = 75
	Stiffness = 0.5
	JointOffset = Vector
		X = -2
		Y = -3
	DrawAfterParent = 0
	OneHanded = 1
	StanceOffset = Vector
		X = 5
		Y = 6
	SharpStanceOffset = Vector
		X = 9
		Y = -5
	SupportOffset = Vector
		X = 4
		Y = 3
	SharpLength = 0
	Magazine = Magazine
		CopyOf = Magazine Blue Detonator
		ParentOffset = Vector
			X = -2
			Y = 1
	Flash = None
	FireSound = Sound
		AddSample = ContentFile
			FilePath = Coalition.rte/Effects/Sounds/DetonateC-4.wav
	RateOfFire = 100
	ReloadTime = 0
	FullAuto = 0
	FireIgnoresThis = 0
	ShakeRange = 0
	SharpShakeRange = 0
	NoSupportFactor = 0
	ParticleSpreadRange = 0
	ShellSpreadRange = 0
	ShellAngVelRange = 0
	MuzzleOffset = Vector
		X = 17
		Y = 0
	EjectionOffset = Vector
		X = 17
		Y = -1
	WoundLimit = 1

AddActor = MOSRotating
	PresetName = Active Blue C-4
	PinStrength = 3
	Mass = 3
	RestThreshold = -999
	HitsMOs = 0
	GetsHitByMOs = 1
	ScriptPath = Coalition.rte/Devices/Weapons/Grenades/Blue C-4.lua
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/C-4B.bmp
	FrameCount = 2
	SpriteAnimMode = 1
	SpriteAnimDuration = 1000
	SpriteOffset = Vector
		X = -3
		Y = -4
	HFlipped = 0
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter	
		CopyOf = Dent Metal
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 1
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 6
	DeepCheck = 0
	GibImpulseLimit = 10000
	GibWoundLimit = 999
	GibSound = Sound
		AddSample = ContentFile
			FilePath = Base.rte/Sounds/Explode2.wav
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 24
		MinVelocity = 30
		MaxVelocity = 55
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Ball 1
		Count = 20
		MinVelocity = 15
		MaxVelocity = 20
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Ball 2
		Count = 20
		MinVelocity = 20
		MaxVelocity = 30
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Ball 3
		Count = 20
		MinVelocity = 20
		MaxVelocity = 25
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Fuel Fire Trace Gray
		Count = 10
		MinVelocity = 22
		MaxVelocity = 28
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Flame 1
		Count = 11
		MinVelocity = 8
		MaxVelocity = 9
		LifeVariation = 0.30
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Flame Ball 1
		Count = 20
		MinVelocity = 48
		MaxVelocity = 60
		LifeVariation = 0.10
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 25
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 9
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Yellow
		Count = 9
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Air Blast
		Count = 25
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2
		Count = 22
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.70
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2 Glow
		Count = 8
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.60
		InheritsVel = 1
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Explosion Trail 1
		Count = 6
		Spread = 3.1
		MaxVelocity = 40
		MinVelocity = 20
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 1
		Count = 12
		Spread = 2.25
		MaxVelocity = 5
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 2
		Count = 12
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Gib Device Small E
		Offset = Vector
			X = -1
			Y = 2
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Gib Device Small G
		Offset = Vector
			X = 5
			Y = 2
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Ground Flames
		Count = 40
		MinVelocity = 12
		MaxVelocity = 18
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Puff Medium
		Count = 7
		MinVelocity = 9
		MaxVelocity = 20
		LifeVariation = 0.30
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Puff Small
		Count = 14
		MinVelocity = 19
		MaxVelocity = 40
		LifeVariation = 0.50
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 5
		MinVelocity = 20
		MaxVelocity = 45
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Glow Explosion Huge

AddDevice = TDExplosive
	PresetName = Blue C-4
	AddToGroup = Bombs
	Description = A plastic explosive activated by a remote-controlled detonator.  Sticks to anything immobile.  Don't forget to buy a blue detonator from the tools menu!
	Mass = 3
	RestThreshold = -500
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/UnarmedC-4B.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -4
		Y = -5
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldValue = 50
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 2
		Depth = 2
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	JointStrength = 80
	JointStiffness = 0.5
	DrawAfterParent = 1
	DetonationSound = Sound
		AddSample = ContentFile
			Path = Coalition.rte/Effects/Sounds/ActivateC-4.wav
	StanceOffset = Vector
		X = -12
		Y = -5
	StartThrowOffset = Vector
		X = -12
		Y = -5
	EndThrowOffset = Vector
		X = -12
		Y = -5
	MinThrowVel = 3
	MaxThrowVel = 10
	TriggerDelay = 99999
	ActivatesWhenReleased = 1
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Active Blue C-4
		Count = 1
		Spread = 2.25
		MaxVelocity = 0.1
		MinVelocity = 0
		InheritsVel = 0
	GibImpulseLimit = 1
	GibWoundLimit = 1

///////Green///////

AddAmmo = Round
	PresetName = Round Green Detonator
	ParticleCount = 1
	Particle = MOSRotating
		PresetName = Particle Green Detonator
		Mass = 0.05
		RestThreshold = 500
		LifeTime = 5
		Sharpness = 0
		SpriteFile = ContentFile
			FilePath = Base.rte/Null.bmp
		ScriptPath = Coalition.rte/Devices/Weapons/Grenades/Green Detonator.lua
		HitsMOs = 0
		GetsHitByMOs = 0
		AtomGroup = AtomGroup
			AutoGenerate = 1
			Material = Material
				CopyOf = Metal
			Resolution = 2
			Depth = 0
		DeepGroup = AtomGroup
			AutoGenerate = 1
			Material = Material
				CopyOf = Metal
			Resolution = 3
			Depth = 1
		DeepCheck = 0
	Shell = None
	FireVelocity = 2

AddAmmo = Magazine
	PresetName = Magazine Green Detonator
	Mass = 0
	HitsMOs = 0
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Base.rte/Null.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -3
		Y = -4
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 3
		Depth = 1
	DeepCheck = 0
	Strength = 200
	Stiffness = 1
	JointOffset = Vector
		X = 0
		Y = -1
	DrawAfterParent = 0
	RoundCount = -1
	RegularRound = Round
		CopyOf = Round Green Detonator

AddDevice = HDFirearm
	PresetName = Green Detonator
	AddToGroup = Bombs
	HeldDeviceType = 1
	Mass = 5
	HitsMOs = 0
	GetsHitByMOs = 1
	Description = The only device that can set off the C-4.  Sets off C-4 on the green frequency.
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/DetonatorC.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -2
		Y = -5
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldCost = 25
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 4
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Metal
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	Strength = 75
	Stiffness = 0.5
	JointOffset = Vector
		X = -2
		Y = -3
	DrawAfterParent = 0
	OneHanded = 1
	StanceOffset = Vector
		X = 5
		Y = 6
	SharpStanceOffset = Vector
		X = 9
		Y = -5
	SupportOffset = Vector
		X = 4
		Y = 3
	SharpLength = 0
	Magazine = Magazine
		CopyOf = Magazine Green Detonator
		ParentOffset = Vector
			X = -2
			Y = 1
	Flash = None
	FireSound = Sound
		AddSample = ContentFile
			FilePath = Coalition.rte/Effects/Sounds/DetonateC-4.wav
	RateOfFire = 100
	ReloadTime = 0
	FullAuto = 0
	FireIgnoresThis = 0
	ShakeRange = 0
	SharpShakeRange = 0
	NoSupportFactor = 0
	ParticleSpreadRange = 0
	ShellSpreadRange = 0
	ShellAngVelRange = 0
	MuzzleOffset = Vector
		X = 17
		Y = 0
	EjectionOffset = Vector
		X = 17
		Y = -1
	WoundLimit = 1

AddActor = MOSRotating
	PresetName = Active Green C-4
	PinStrength = 3
	Mass = 3
	RestThreshold = -999
	HitsMOs = 0
	GetsHitByMOs = 1
	ScriptPath = Coalition.rte/Devices/Weapons/Grenades/Green C-4.lua
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/C-4C.bmp
	FrameCount = 2
	SpriteAnimMode = 1
	SpriteAnimDuration = 1000
	SpriteOffset = Vector
		X = -3
		Y = -4
	HFlipped = 0
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter	
		CopyOf = Dent Metal
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 1
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 6
	DeepCheck = 0
	GibImpulseLimit = 10000
	GibWoundLimit = 999
	GibSound = Sound
		AddSample = ContentFile
			FilePath = Base.rte/Sounds/Explode2.wav
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 24
		MinVelocity = 30
		MaxVelocity = 55
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Ball 1
		Count = 20
		MinVelocity = 15
		MaxVelocity = 20
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Ball 2
		Count = 20
		MinVelocity = 20
		MaxVelocity = 30
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Ball 3
		Count = 20
		MinVelocity = 20
		MaxVelocity = 25
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Fuel Fire Trace Gray
		Count = 10
		MinVelocity = 22
		MaxVelocity = 28
		LifeVariation = 0.20
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Flame 1
		Count = 11
		MinVelocity = 8
		MaxVelocity = 9
		LifeVariation = 0.30
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Flame Ball 1
		Count = 20
		MinVelocity = 48
		MaxVelocity = 60
		LifeVariation = 0.10
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 25
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 9
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Yellow
		Count = 9
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Air Blast
		Count = 25
		MinVelocity = 50
		MaxVelocity = 75
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2
		Count = 22
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.70
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2 Glow
		Count = 8
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.60
		InheritsVel = 1
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Explosion Trail 1
		Count = 6
		Spread = 3.1
		MaxVelocity = 40
		MinVelocity = 20
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 1
		Count = 12
		Spread = 2.25
		MaxVelocity = 5
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Spark Yellow 2
		Count = 12
		Spread = 2.25
		MaxVelocity = 20
		MinVelocity = 8
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Gib Device Small E
		Offset = Vector
			X = -1
			Y = 2
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Gib Device Small G
		Offset = Vector
			X = 5
			Y = 2
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Ground Flames
		Count = 40
		MinVelocity = 12
		MaxVelocity = 18
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Puff Medium
		Count = 7
		MinVelocity = 9
		MaxVelocity = 20
		LifeVariation = 0.30
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Puff Small
		Count = 14
		MinVelocity = 19
		MaxVelocity = 40
		LifeVariation = 0.50
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 5
		MinVelocity = 20
		MaxVelocity = 45
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Glow Explosion Huge

AddDevice = TDExplosive
	PresetName = Green C-4
	AddToGroup = Bombs
	Description = A plastic explosive activated by a remote-controlled detonator.  Sticks to anything immobile.  Don't forget to buy a green detonator from the tools menu!
	Mass = 3
	RestThreshold = -500
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/UnarmedC-4C.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -4
		Y = -5
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldValue = 50
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 2
		Depth = 2
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	JointStrength = 80
	JointStiffness = 0.5
	DrawAfterParent = 1
	DetonationSound = Sound
		AddSample = ContentFile
			Path = Coalition.rte/Effects/Sounds/ActivateC-4.wav
	StanceOffset = Vector
		X = -12
		Y = -5
	StartThrowOffset = Vector
		X = -12
		Y = -5
	EndThrowOffset = Vector
		X = -12
		Y = -5
	MinThrowVel = 3
	MaxThrowVel = 10
	TriggerDelay = 99999
	ActivatesWhenReleased = 1
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Active Green C-4
		Count = 1
		Spread = 2.25
		MaxVelocity = 0.1
		MinVelocity = 0
		InheritsVel = 0
	GibImpulseLimit = 1
	GibWoundLimit = 1

//Cluster Grenade

AddEffect = MOSRotating
	PresetName = Coalition Grenade Cluster Particle
	Mass = 3
	OrientToVel = 1
	HitsMOs = 1
	GetsHitByMOs = 0
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/UberShotCluster.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -3
		Y = -3
	AngularVel = 0
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Concrete
		Resolution = 4
		Depth = 0
	DeepCheck = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 6
		Spread = 3.14
		MaxVelocity = 30
		MinVelocity = 21
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Yellow
		Count = 6
		Spread = 3.14
		MaxVelocity = 30
		MinVelocity = 21
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Main Thruster Blast Spark
		Count = 8
		Spread = 3.14
		MaxVelocity = 24
		MinVelocity = 24
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Glow Explosion Huge
		Count = 1
		Spread = 0
		MaxVelocity = 0
		MinVelocity = 0
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Main Thruster Blast Ball 1
		Count = 4
		Spread = 3.14
		MaxVelocity = 5
		MinVelocity = 0
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 5
		Spread = 3.14
		MaxVelocity = 15
		MinVelocity = 5
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Flame 1
		Count = 3
		Spread = 3.14
		MaxVelocity = 6
		MinVelocity = 2
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 1
		Count = 8
		Spread = 3.1
		MaxVelocity = 5
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2
		Count = 4
		Spread = 3.1
		MaxVelocity = 5
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 0
	GibSound = Sound
		AddSample = ContentFile
			Path = Base.rte/Sounds/Explode2.wav
	GibImpulseLimit = 2

	
AddDevice = TDExplosive
	PresetName = Cluster Grenade
	AddToGroup = Bombs
	Description = Explosive cluster grenade.  Awesome power!  Blows up spreading many explosive clusters after a 4 second delay.
	Mass = 6
	RestThreshold = -500
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/GrenadeCluster.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -4
		Y = -5
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldValue = 30
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	JointStrength = 80
	JointStiffness = 0.5
	DrawAfterParent = 1
	DetonationSound = Sound
		AddSample = ContentFile
			Path = Base.rte/Sounds/Explode2.wav
	StanceOffset = Vector
		X = -12
		Y = -5
	StartThrowOffset = Vector
		X = -12
		Y = -5
	EndThrowOffset = Vector
		X = -12
		Y = -5
	MinThrowVel = 5
	MaxThrowVel = 20
	TriggerDelay = 4000
	ActivatesWhenReleased = 1
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Coalition Grenade Cluster Particle
		Count = 7
		Spread = 3.14
		MaxVelocity = 16
		MinVelocity = 12
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Glow Explosion Huge
		Count = 1
		Spread = 2.25
		MaxVelocity = 0.1
		MinVelocity = 0
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Side Thruster Blast Ball 1
		Count = 5
		MinVelocity = 40
		MaxVelocity = 65
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 10
		Spread = 3.1
		MinVelocity = 30
		MaxVelocity = 40
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Yellow
		Count = 10
		Spread = 3.1
		MinVelocity = 30
		MaxVelocity = 40
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Air Blast
		Count = 40
		MinVelocity = 30
		MaxVelocity = 55
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Flame Ball 1
		Count = 6
		Spread = 3.1
		MaxVelocity = 6
		MinVelocity = 2
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 1
		Count = 20
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2
		Count = 20
		Spread = 3.1
		MaxVelocity = 12
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2 Glow
		Count = 4
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Explosion Trail 1
		Count = 4
		Spread = 3.1
		MaxVelocity = 40
		MinVelocity = 20
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Flame Smoke 1
		Count = 8
		Spread = 3.1
		MaxVelocity = 12
		MinVelocity = 3
		LifeVariation = 0.50
	GibImpulseLimit = 6000
	GibWoundLimit = 1
	
	
//Explosive Charge

AddDevice = TDExplosive
	PresetName = Explosive Charge
	AddToGroup = Bombs
	Description = Destructive plantable explosive charge.  You can stick this into a wall, door or anything else stationary or leave it hanging in midair.  After planting, run for your life, as it explodes after 6 seconds.
	Mass = 14
	PinStrength = 100
	RestThreshold = -500
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/Explosive.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -5
		Y = -3
	EntryWound = AEmitter
		CopyOf = Dent Metal
	ExitWound = AEmitter
		CopyOf = Dent Metal
	GoldValue = 25
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	JointStrength = 60
	JointStiffness = 0.5
	DrawAfterParent = 1
	DetonationSound = Sound
		AddSample = ContentFile
			Path = Base.rte/Actors/ShipExplosionB.wav
	StanceOffset = Vector
		X = -12
		Y = -5
	StartThrowOffset = Vector
		X = -12
		Y = -5
	EndThrowOffset = Vector
		X = -12
		Y = -5
	MinThrowVel = 1
	MaxThrowVel = 1
	TriggerDelay = 6000
	ActivatesWhenReleased = 1
	ParticleNumberToAdd = 20
	AddParticles = MOSParticle
		CopyOf = Main Thruster Blast Ball 1
	ParticleNumberToAdd = 20
	AddParticles = MOSParticle
		CopyOf = Main Thruster Blast Ball 2
	ParticleNumberToAdd = 70
	AddParticles = MOPixel
		CopyOf = Grenade Fragment Gray
	ParticleNumberToAdd = 70
	AddParticles = MOPixel
		CopyOf = Grenade Fragment Yellow
	ParticleNumberToAdd = 40
	AddParticles = MOPixel
		CopyOf = Air Blast
	ParticleNumberToAdd = 3
	AddParticles = AEmitter
		CopyOf = Fuel Fire Trace Gray
	ParticleNumberToAdd = 3
	AddParticles = AEmitter
		CopyOf = Fuel Fire Trace Black
	ParticleNumberToAdd = 30
	AddParticles = MOSParticle
		CopyOf = Side Thruster Blast Ball 1
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Glow Explosion Huge
		Count = 1
		Spread = 2.25
		MaxVelocity = 0.1
		MinVelocity = 0
		InheritsVel = 0
	AddGib = Gib
		GibParticle = MOSRotating
			CopyOf = Flame Ball 1
		Count = 12
		Spread = 3.1
		MaxVelocity = 6
		MinVelocity = 2
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 1
		Count = 30
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2
		Count = 20
		Spread = 3.1
		MaxVelocity = 12
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Explosion Smoke 2 Glow
		Count = 6
		Spread = 3.1
		MaxVelocity = 10
		MinVelocity = 0
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Explosion Trail 1
		Count = 6
		Spread = 3.1
		MaxVelocity = 40
		MinVelocity = 20
		LifeVariation = 0.50
		InheritsVel = 1
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Flame Smoke 1
		Count = 12
		Spread = 3.1
		MaxVelocity = 12
		MinVelocity = 3
		LifeVariation = 0.50
	GibImpulseLimit = 8000
	GibWoundLimit = 3

AddDevice = TDExplosive
	PresetName = Incendiary Grenade
	Description = Upon detonation, this grenade produces molten iron by means of a chemical reaction.  In other words: use the three seconds you have to get out of its way!
	AddToGroup = Bombs
	Mass = 1
	RestThreshold = -500
	HitsMOs = 1
	GetsHitByMOs = 1
	SpriteFile = ContentFile
		FilePath = Coalition.rte/Devices/Sprites/GrenadeIncendiary.bmp
	FrameCount = 1
	SpriteOffset = Vector
		X = -2
		Y = -4
	EntryWound = AEmitter
		CopyOf = Dent Metal No Spark
	ExitWound = AEmitter
		CopyOf = Dent Metal No Spark
	GoldValue = 25
	AngularVel = 9
	AtomGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 2
		Depth = 0
	DeepGroup = AtomGroup
		AutoGenerate = 1
		Material = Material
			CopyOf = Military Stuff
		Resolution = 4
		Depth = 10
	DeepCheck = 0
	JointStrength = 75
	JointStiffness = 0.5
	JointOffset = Vector
		X = 0
		Y = 4
	DrawAfterParent = 0
	DetonationSound = Sound
		Priority = 1000
		AddSample = ContentFile
			Path = Base.rte/Sounds/Explode1.wav
		AddSample = ContentFile
			Path = Base.rte/Sounds/Explode2.wav
	StanceOffset = Vector
		X = 8
		Y = 5
	StartThrowOffset = Vector
		X = -12
		Y = -5
	EndThrowOffset = Vector
		X = 12
		Y = -5
	MinThrowVel = 5
	MaxThrowVel = 15
	TriggerDelay = 3000
	ActivatesWhenReleased = 0
	EffectOnGib = 1
	EffectAlwaysShows = 1
	ScreenEffect = ContentFile
		Path = Base.rte/Effects/Glows/YellowHuge.bmp
	AddGib = Gib
		GibParticle = AEmitter
			CopyOf = Ground Flames
		Count = 26
		MinVelocity = 3
		MaxVelocity = 12
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Puff Medium
		Count = 7
		MinVelocity = 9
		MaxVelocity = 20
		LifeVariation = 0.30
	AddGib = Gib
		GibParticle = MOSParticle
			CopyOf = Fire Puff Small
		Count = 14
		MinVelocity = 19
		MaxVelocity = 40
		LifeVariation = 0.50
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Grenade Fragment Gray
		Count = 5
		MinVelocity = 20
		MaxVelocity = 45
	AddGib = Gib
		GibParticle = MOPixel
			CopyOf = Glow Explosion Huge
	GibImpulseLimit = 500
	GibWoundLimit = 1