if i want to make something explode on impact, what is the code for it? what part(s) of this do i need to change?
Deal with the code it could be longer. you dont like it, then leave.
Code:
Thrown Devices
AddDevice = TDExplosive
InstanceName = unstable red stone
Mass = 2
RestThreshold = -500
HitsMOs = 1
GetsHitByMOs = 0
SpriteFile = ContentFile
FilePath = fullmetal.rte/bomb/bomb.bmp
FrameCount = 1
SpriteOffset = Vector
X = -3
Y = -4
EntryWound = AEmitter
CopyOf = Dent Metal
ExitWound = AEmitter
CopyOf = Dent Metal
GoldCost = 5
AtomGroup = AtomGroup
AutoGenerate = 1
Material = Material
CopyOf = Military Tech
Resolution = 2
Depth = 0
DeepGroup = AtomGroup
AutoGenerate = 1
Material = Material
CopyOf = Military Tech
Resolution = 4
Depth = 10
DeepCheck = 1
JointStrength = 75
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
TriggerDelay = 2500
ParticleNumberToAdd = 2250
AddParticles = MOSParticle
CopyOf = Side Thruster Blast Ball 1
ParticleNumberToAdd = 250
AddParticles = MOPixel
CopyOf = Grenade Fragment Gray
ParticleNumberToAdd = 750
AddParticles = MOPixel
CopyOf = Grenade Fragment Yellow
ParticleNumberToAdd = 2500
AddParticles = MOPixel
CopyOf = Air Blast