View unanswered posts | View active topics It is currently Fri Jan 10, 2025 12:06 am



Reply to topic  [ 7 posts ] 
 Grenades 
Author Message
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Grenades
Last question of the day.....

I have a grenade thats sposed to explode into other grenades, but they keep exploding when the original one gibs.

Tried ImpulseLimit and such.

Any other ideas?


Tue Apr 21, 2009 12:31 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Grenades
GetsHitByMOs = 0.

Probably colliding with each other.


Tue Apr 21, 2009 1:16 am
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: Grenades
Tried that, but they still dont work :/

Could you make them of a different material that has super high structure and gibimpulseperVL?

Edit: want me to post the code?


Tue Apr 21, 2009 1:32 am
Profile

Joined: Sat Feb 03, 2007 7:11 pm
Posts: 1496
Reply with quote
Post Re: Grenades
When one explodes, it is probbaly setting the other ones to explode.
Make it so the gibbed grenades can't be gibbed by particles (Remove
the line that has GibWoundLimit =...)

Edit: Post code.


Tue Apr 21, 2009 3:22 am
Profile WWW
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: Grenades
Code:
AddDevice = TDExplosive
   PresetName = Explody
   Mass = 2
   HitsMOs = 1
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Glowy.rte/Images/FragGrenade.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -3
      Y = -4
   EntryWound = None
   ExitWound = None
   GoldValue = 5
   AddEmitter = AEmitter
      CopyOf = Trail Green
   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 = 1
   JointStrength = 5000000
   JointStiffness = 0.5
   DrawAfterParent = 1
   DetonationSound = Sound
      AddSample = ContentFile
         Path = Glowy.rte/Sounds/Explode2.wav
   StanceOffset = Vector
      X = -12
      Y = -5
   StartThrowOffset = Vector
      X = -12
      Y = -5
   EndThrowOffset = Vector
      X = -12
      Y = -5
   TriggerDelay = 10000
   ParticleNumberToAdd = 1
   AddParticles = AEmitter
      CopyOf = Glow Emitter


AddDevice = TDExplosive
   PresetName = Explody2
   AddToGroup = Bombs
   Mass = 2
   PinStrength = 99999999
   RestThreshold = -500
   HitsMOs = 1
   GetsHitByMOs = 0
   SpriteFile = ContentFile
      FilePath = Glowy.rte/Images/FragGrenade.bmp
   FrameCount = 1
   SpriteOffset = Vector
      X = -3
      Y = -4
   EntryWound = AEmitter
      CopyOf = Dent Metal
   ExitWound = AEmitter
      CopyOf = Dent Metal
   GoldValue = 5
   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 = 1
   JointStrength = 75
   JointStiffness = 0.5
   DrawAfterParent = 1
   DetonationSound = Sound
      AddSample = ContentFile
         Path = Glowy.rte/Sounds/Explode2.wav
   StanceOffset = Vector
      X = -12
      Y = -5
   StartThrowOffset = Vector
      X = -12
      Y = -5
   EndThrowOffset = Vector
      X = -12
      Y = -5
   TriggerDelay = 3000
   AddGib = Gib
      GibParticle = TDExplosive
         CopyOf = Explody
      Count = 10
      Spread = 360
      MaxVelocity = 0
      MinVelocity = 0
      InheritsVel = 0


Hope this helps


Tue Apr 21, 2009 9:44 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Grenades
Spread is in radians, max is 3.14.

MaxVelocity of 0 is not allowed, set it to 1 (pinstrength will keep it stationary anyways).


Wed Apr 22, 2009 12:23 am
Profile
User avatar

Joined: Thu Mar 06, 2008 10:54 pm
Posts: 1360
Location: USA
Reply with quote
Post Re: Grenades
K, ill try that when i can. Thanks :)


Wed Apr 22, 2009 11:42 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.040s | 14 Queries | GZIP : Off ]