Data Realms Fan Forums
http://45.55.195.193/

explode on impact...?
http://45.55.195.193/viewtopic.php?f=1&t=6567
Page 1 of 1

Author:  whitty [ Tue Jul 24, 2007 9:54 pm ]
Post subject:  explode on impact...?

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

Author:  Alenth Eneil [ Tue Jul 24, 2007 10:12 pm ]
Post subject:  Re: explode on impact...?

Try downloading an impact explosive and reading the code, faster and doesn't spam the forums.

Author:  whitty [ Tue Jul 24, 2007 10:12 pm ]
Post subject:  Re: explode on impact...?

ive looked trough the mods parts but havnt found an impact bomb

Author:  Alenth Eneil [ Tue Jul 24, 2007 10:26 pm ]
Post subject:  Re: explode on impact...?

The A-4 has one, any RPG mod has one, any bomb pack has one.

Author:  whitty [ Tue Jul 24, 2007 11:27 pm ]
Post subject:  Re: explode on impact...?

k thanks

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/