Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Release Forum » [SSGM Plugin]Flaming C4 Prevention
[SSGM Plugin]Flaming C4 Prevention [message #448803] Wed, 15 June 2011 07:02 Go to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
This SSGM plugin will automatically disarm all C4 placed on friendly vehicles and infantry. It'll also automatically disarm Proxy C4 placed on empty vehicles. It uses a configurable Remote & Timed C4 limit on the amount of them allowed on empty vehicles to determine whether to disarm those kind of C4 placed on empty vehicles. It has identical configurable settings & code to prevent people stacking C4 on top of other C4 to circumvent this script.

These settings can be found in flaming_c4_prevention.ini which is required by this plugin (it'll probably misbehave severely if it can't find the settings). Take a look and configure this INI file to your liking before you add this plugin to your SSGM installation. This plugin was written by iRANian, you can PM me on www.RenegadeForums.com if you need help.

http://www.mediafire.com/?tw6fn2ox7brkvkk

Thanks to Scruffy, liquidv2 and Leprosy for helping me with testing


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Wed, 15 June 2011 09:16]

Report message to a moderator

Re: [SSGM Plugin]Flaming C4 Prevention [message #448808 is a reply to message #448803] Wed, 15 June 2011 09:11 Go to previous messageGo to next message
zeratul is currently offline  zeratul
Messages: 1715
Registered: January 2009
Location: Texas
Karma: -1
General (1 Star)
is it affected if friendly infantry steps or vehicle drives on one if on the ground or on/in building?

[Updated on: Wed, 15 June 2011 09:13]

Report message to a moderator

Re: [SSGM Plugin]Flaming C4 Prevention [message #448809 is a reply to message #448803] Wed, 15 June 2011 09:16 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Nope. It decides whether a C4 needs disarming after the seconds set with the ActivationWaitTime variable in the INI expire after a C4 get created. Then it stops doing anything.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Wed, 15 June 2011 09:21]

Report message to a moderator

Re: [SSGM Plugin]Flaming C4 Prevention [message #448810 is a reply to message #448809] Wed, 15 June 2011 09:27 Go to previous messageGo to next message
zeratul is currently offline  zeratul
Messages: 1715
Registered: January 2009
Location: Texas
Karma: -1
General (1 Star)
Thumbs Up

Re: [SSGM Plugin]Flaming C4 Prevention [message #448848 is a reply to message #448803] Thu, 16 June 2011 09:16 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
It sounds very good. I am curious if you have anticipated structures that are actually classed as vehicles though, such as gun emplacements, Sam sites, guard towers and turrets.


Re: [SSGM Plugin]Flaming C4 Prevention [message #448858 is a reply to message #448803] Thu, 16 June 2011 14:08 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Nice work Iran on all your plugins. I will test this out some time.

http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Thu, 16 June 2011 14:09]

Report message to a moderator

Re: [SSGM Plugin]Flaming C4 Prevention [message #448863 is a reply to message #448848] Thu, 16 June 2011 15:11 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
reborn wrote on Thu, 16 June 2011 09:16

It sounds very good. I am curious if you have anticipated structures that are actually classed as vehicles though, such as gun emplacements, Sam sites, guard towers and turrets.

Seems to work like it should with minor base defences, it's probably because I check for "teamedness" and the amount of occupants.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: [SSGM Plugin]Flaming C4 Prevention [message #449238 is a reply to message #448803] Wed, 29 June 2011 09:54 Go to previous messageGo to next message
Generalcamo is currently offline  Generalcamo
Messages: 522
Registered: October 2010
Karma: 0
Colonel
could you set it so only on certain vehicles are certain C4s disarmed? A server might allow remote C4 on a ranger, but not proxy C4. And they also might allow all C4 on a med tank.
Re: [SSGM Plugin]Flaming C4 Prevention [message #449239 is a reply to message #448803] Wed, 29 June 2011 10:11 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4308
Registered: April 2011
Karma: 0
General (4 Stars)
Yeah, it's easy to do that. Any reason you want it? I'm working on a variety of projects and don't feel like adding this atm, but if you have use for it I'll add it.

Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Wed, 29 June 2011 12:55]

Report message to a moderator

Re: [SSGM Plugin]Flaming C4 Prevention [message #449281 is a reply to message #448803] Thu, 30 June 2011 12:27 Go to previous message
halo2pac is currently offline  halo2pac
Messages: 659
Registered: December 2006
Location: Near Cleveland, Ohio
Karma: 0
Colonel
Good code but flaming rules. Its a genius and fun way to kill tanks. I'm proud to have been kicked many times for it.

http://img339.imageshack.us/img339/1991/nefobbygenyunoreleasere.jpg
Rene-Buddy | Renegade X
Join the fight against Obsessive-Compulsive Posting Disorder. Cancel is ur friend.
*Renegade X Dev Team Member*
Previous Topic: [SSGM Plugin]Pre-Processing Damage Hook
Next Topic: The Third TIberium War BETA
Goto Forum:
  


Current Time: Wed Dec 04 20:26:26 MST 2024

Total time taken to generate the page: 0.01582 seconds