View unanswered posts | View active topics It is currently Thu Dec 26, 2024 5:46 pm



Reply to topic  [ 5 posts ] 
 explode on impact...? 
Author Message
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post 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


Tue Jul 24, 2007 9:54 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: explode on impact...?
Try downloading an impact explosive and reading the code, faster and doesn't spam the forums.


Tue Jul 24, 2007 10:12 pm
Profile
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: explode on impact...?
ive looked trough the mods parts but havnt found an impact bomb


Tue Jul 24, 2007 10:12 pm
Profile

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: explode on impact...?
The A-4 has one, any RPG mod has one, any bomb pack has one.


Tue Jul 24, 2007 10:26 pm
Profile
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post Re: explode on impact...?
k thanks


Tue Jul 24, 2007 11:27 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.160s | 14 Queries | GZIP : Off ]