Data Realms Fan Forums http://45.55.195.193/ |
|
Prevent grenades from exploding on actors death http://45.55.195.193/viewtopic.php?f=1&t=25531 |
Page 1 of 1 |
Author: | Pantera1993 [ Thu Sep 15, 2011 9:22 pm ] |
Post subject: | Prevent grenades from exploding on actors death |
Alright so, I have the grenades as GetsHitByMos = 1 so they are recognized by lua, but when the actor that dies has one in it's inventory, it explodes violently all over the place. Is there a fix to this problem? |
Author: | CaveCricket48 [ Thu Sep 15, 2011 9:29 pm ] |
Post subject: | Re: Prevent grenades from exploding on actors death |
Have the explosion on an MOSRotating that is spawned by a script on the grenade based on a timer. So if the grenade gets destroyed before the timer goes off, no explosion. |
Author: | Gotcha! [ Thu Sep 15, 2011 9:30 pm ] |
Post subject: | Re: Prevent grenades from exploding on actors death |
Yes and no. You'll have to set ActivatesWhenReleased = 1 to ActivatesWhenReleased = 0 in the TDExplosive's .ini file. This keeps it from exploding spontaneously after an actor's death. Keep in mind though, when some actor uses its big butt to push a grenade into the ground it'll most likely go off no matter what you try to do about it. |
Author: | Azukki [ Fri Sep 16, 2011 6:30 am ] |
Post subject: | Re: Prevent grenades from exploding on actors death |
Gotcha! wrote: Keep in mind though, when some actor uses its big butt to push a grenade into the ground it'll most likely go off no matter what you try to do about it. While that was fun, it's not always the case now. Look at the new grenades, they have gibs, and separately, they have script initiated explosions that don't happen when they gib, which is what CC48 was talking about. This was also possible to achieve with emitters, in the past. |
Author: | Pantera1993 [ Wed Sep 21, 2011 11:36 pm ] |
Post subject: | Re: Prevent grenades from exploding on actors death |
The ActivatesWhenReleased = 0 thing worked to solve the issue with the grenades exploding on death, now they just go off when they're touched by nearly anything. I guess I'll try setting the GibImpulseLimit super high, and see how that turns out. |
Author: | Emogotsaone [ Wed Sep 21, 2011 11:58 pm ] |
Post subject: | Re: Prevent grenades from exploding on actors death |
CaveCricket48 wrote: Have the explosion on an MOSRotating that is spawned by a script on the grenade based on a timer. So if the grenade gets destroyed before the timer goes off, no explosion. I think that's lame. I would much rather shoot a grenade in someones had and blow em up. |
Author: | CaveCricket48 [ Thu Sep 22, 2011 12:20 am ] |
Post subject: | Re: Prevent grenades from exploding on actors death |
Then don't use what I said. Problem solved. |
Author: | Emogotsaone [ Thu Sep 22, 2011 12:38 am ] |
Post subject: | Re: Prevent grenades from exploding on actors death |
CaveCricket48 wrote: Then don't use what I said. Problem solved. I'm making a sly game suggestion. |
Author: | CaveCricket48 [ Thu Sep 22, 2011 12:44 am ] |
Post subject: | Re: Prevent grenades from exploding on actors death |
Abdul made that change, not me. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |