View unanswered posts | View active topics It is currently Wed Jan 08, 2025 10:26 pm



Reply to topic  [ 5 posts ] 
 noob questions 
Author Message
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post noob questions
How do i change how long a grenade launcher grenade stays alive. Can i make it so if an actor touches a grenade launcher grenade it explodes? Also, how do i change the speed at which those grenades are fired?


Tue Dec 23, 2008 2:01 am
Profile
User avatar

Joined: Fri Dec 28, 2007 4:19 am
Posts: 1119
Reply with quote
Post Re: noob questions
The LifeTime, and TriggerDelay (grenade lifespan)
Try setting the gibimpulselimit to a value that lets it impact the ground and not detonate, yet fragile enough that when an actor steps on it it will explode.
You can change the firing velocity by... Changing the firing velocity:
Code:
AddAmmo = Round
   InstanceName = Some Round
   ParticleCount = 1
   Particle = TDExplosive
      CopyOf = Some Grenade
   Shell = AEmitter
      CopyOf = Some shell
   FireVelocity = 100
   ShellVelocity = 10
   Separation = 5


Tue Dec 23, 2008 3:02 am
Profile
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post Re: noob questions
thankyou!


Tue Dec 23, 2008 4:29 pm
Profile
User avatar

Joined: Sat Dec 13, 2008 11:56 pm
Posts: 206
Reply with quote
Post Re: noob questions
also, how do i increase spread and make a weapon work like a shotgun?


Wed Dec 24, 2008 4:22 am
Profile
User avatar

Joined: Fri Dec 28, 2007 4:19 am
Posts: 1119
Reply with quote
Post Re: noob questions
First of all in the code above increase the particle count just don't make the particle count too high.

THEN...
Code:
AddDevice = HDFirearm
   InstanceName = Some Shotgun
   AddToGroup = Some Group
   Mass = 15
   HitsMOs = 0
   GetsHitByMOs = 1
   SpriteFile = ContentFile
      FilePath = Some sprite
   FrameCount = 2
   SpriteOffset = Vector
      X = -18
      Y = -7
   EntryWound = AEmitter
      CopyOf = Some Wound
   ExitWound = AEmitter
      CopyOf = Some Wound
   GoldValue = 50
   AtomGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 4
      Depth = 0
   DeepGroup = AtomGroup
      AutoGenerate = 1
      Material = Material
         CopyOf = Military Stuff
      Resolution = 4
      Depth = 10
   DeepCheck = 1
   JointStrength = 100
   JointStiffness = 0.5
   JointOffset = Vector
      X = -11
      Y = 4
   DrawAfterParent = 0
   StanceOffset = Vector
      X = 6
      Y = 8
   SharpStanceOffset = Vector
      X = 6
      Y = 8
   SupportOffset = Vector
      X = 5
      Y = 8
   SharpLength = 165
   Magazine = Magazine
      CopyOf = Some Magazine
      ParentOffset = Vector
         X = -1
         Y = 1
   Flash = Attachable
      CopyOf = Some flash
   FireSound = Sound
      AddSample = ContentFile
         FilePath = Some Sound...
      
   EmptySound = Sound
      AddSample = ContentFile
         FilePath = Base.rte/Devices/EmptyClick3.wav
   ReloadStartSound = Sound
      AddSample = ContentFile
         FilePath = Base.rte/Devices/ReloadStart.wav
   ReloadEndSound = Sound
      AddSample = ContentFile
         FilePath = Base.rte/Devices/ReloadEnd.wav
   RateOfFire = 200
   ReloadTime = 1500
   FullAuto = 0
   FireIgnoresThis = 1
   ShakeRange = 0
   SharpShakeRange = 0
   NoSupportFactor = 3
ParticleSpreadRange = 5   <---- Part you want to change
   ShellSpreadRange = 0
   ShellAngVelRange = 0
   MuzzleOffset = Vector
      X = 18
      Y = -2
   EjectionOffset = Vector
      X = -6
      Y = -4


Wed Dec 24, 2008 5:05 am
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.035s | 14 Queries | GZIP : Off ]