Data Realms Fan Forums http://45.55.195.193/ |
|
noob questions http://45.55.195.193/viewtopic.php?f=1&t=13145 |
Page 1 of 1 |
Author: | deathbal101 [ Tue Dec 23, 2008 2:01 am ] |
Post subject: | 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? |
Author: | DSMK2 [ Tue Dec 23, 2008 3:02 am ] |
Post subject: | 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 |
Author: | deathbal101 [ Tue Dec 23, 2008 4:29 pm ] |
Post subject: | Re: noob questions |
thankyou! |
Author: | deathbal101 [ Wed Dec 24, 2008 4:22 am ] |
Post subject: | Re: noob questions |
also, how do i increase spread and make a weapon work like a shotgun? |
Author: | DSMK2 [ Wed Dec 24, 2008 5:05 am ] |
Post subject: | 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 |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |