Raised This Month: $ Target: $400
 0% 

No Grenades at C4 (1.0.1 - 27.08.2013)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-27-2013 , 04:37   No Grenades at C4 (1.0.1 - 27.08.2013)
Reply With Quote #1





.: Description :.

I made this originally for Furien Mod, so the furien couldn't spam the C4 with many HEs to prevent CTs winning. With this plugin you can control if players can throw HE Grenades / Flashbangs / Smoke Grenades near the C4 when it's planted.

.: Requirements :.
  • A Steam Server

.: CVars :.
  • ngac4_he (Default : 1) - Removes HE Grenades near C4 when enabled.
  • ngac4_flash (Default : 0) - Removes Flashbangs near C4 when enabled.
  • ngac4_smoke (Default : 0) - Removes Smoke Grenades near C4 when enabled.
  • ngac4_giveback (Default : 1) - Gives the grenade back when you throw it at bomb

.: Bugs :.
  • None found yet, if you find one, please report it.

.: Changelog :.

Version 1.0.1
  • Added Cvar ngac4_giveback (Default : 1) - Gives the grenade back when you throw it at bomb site.

.: Credits :.
  • Exolent[jNr] - Original Code for getting Grenade Origin
  • VEN - Bomb Scripting Tutorial

Attached Files
File Type: sma Get Plugin or Get Source (ngac4.sma - 931 views - 4.6 KB)
__________________

Last edited by Kia; 08-27-2013 at 11:13.
Kia is offline
Alarm
Senior Member
Join Date: Jan 2011
Location: Shit World
Old 08-27-2013 , 05:54   Re: No Grenades at C4 (1.0.0 - 27.08.2013)
Reply With Quote #2

good job !
Alarm is offline
Send a message via Skype™ to Alarm
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 08-27-2013 , 07:00   Re: No Grenades at C4 (1.0.0 - 27.08.2013)
Reply With Quote #3

it removes the grenades near the planted bomb, ok. but from which distance ? as you know grenades can be throwed from a long distance .

if you will edit it, please make the distance with metters: [HELP] distance to а bomb (c4).
__________________
ANTICHRISTUS is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-27-2013 , 07:15   Re: No Grenades at C4 (1.0.0 - 27.08.2013)
Reply With Quote #4

It removes the grenade when it's in the func_bomb_target area.
__________________
Kia is offline
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 08-27-2013 , 10:05   Re: No Grenades at C4 (1.0.0 - 27.08.2013)
Reply With Quote #5

Maybe you can add a limit for the max. grenades at the bomb
__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)
Smatify is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-27-2013 , 10:22   Re: No Grenades at C4 (1.0.0 - 27.08.2013)
Reply With Quote #6

Plugin title says No Grenades at C4.
__________________
Kia is offline
ANTICHRISTUS
kingdom of weird stuff
Join Date: Jun 2010
Location: My kingdom is not in thi
Old 08-27-2013 , 10:48   Re: No Grenades at C4 (1.0.0 - 27.08.2013)
Reply With Quote #7

Quote:
Originally Posted by Kia View Post
It removes the grenade when it's in the func_bomb_target area.
you could say at the bomb area, not everyone here understand pawn laguage.
Quote:
Originally Posted by Kia View Post
Plugin title says No Grenades at C4.
"C4 isn't a location". it has no meaning to block grenades at the bomb site, except for someone camping near the bomb, which is extremely rare.
__________________
ANTICHRISTUS is offline
mottzi
Veteran Member
Join Date: May 2010
Location: Switzerland
Old 08-27-2013 , 10:49   Re: No Grenades at C4 (1.0.0 - 27.08.2013)
Reply With Quote #8

On my Furienmod, the players get their HE back, when they try to put it on the nade. Maybe you could add this and let people toggle it with a cvar?
mottzi is offline
Send a message via MSN to mottzi
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-27-2013 , 11:01   Re: No Grenades at C4 (1.0.0 - 27.08.2013)
Reply With Quote #9

Quote:
Originally Posted by Kia
I made this originally for Furien Mod, so the furien couldn't spam the C4 with many HEs to prevent CTs winning.
Quote:
Originally Posted by mottzi View Post
On my Furienmod, the players get their HE back, when they try to put it on the nade. Maybe you could add this and let people toggle it with a cvar?
Will be added.
__________________
Kia is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 08-27-2013 , 11:12   Re: No Grenades at C4 (1.0.1 - 27.08.2013)
Reply With Quote #10

Updated to Version 1.0.1
  • Added Cvar ngac4_giveback (Default : 1) - Gives the grenade back when you throw it at bomb site.
__________________
Kia is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:02.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode