Raised This Month: $48 Target: $400
 12% 

Nade Modes (Nomexous) v11.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   Exolent[jNr] (178)
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-03-2008 , 08:02   Nade Modes (Nomexous) v11.2
Reply With Quote #1


Description:
This plugin for CS adds 6 new modes for all the grenades. Simply select the grenade, and right click to change the mode. This plugin is based on the plugin mentioned in credits.

Available modes:
Normal: This is CS's default grenade.
Proximity: This grenade will explode when it detect a player within a certain radius.
Impact: This grenade will only explode when it comes in contact with a solid object.
Trip laser: This is the most complex mode. Throw this at the wall or ceiling, and it will take some time before it will activate.After it activates it will draw a laser. If anyone should blunder into the detection path, the grenade will launch itself in the direction of the victim/ explode (your choice).
Motion sensor: Like the proximity grenade, this detects players within a certain radius, but will only detonate if that player is moving above a certain speed. To avoid an explosion, crouch or walk around this grenade. Be careful, jumping around a motion sensing grenade is risky business!
Satchel charge: When you press the +use button (default e) the nade will explode.
Homing: Seeking the enemy!

Needed modules:
CStrike
Engine
Fakemeta
HamSandWich
AmxModX 1.8.0 and above!!!

Features:
-Control Pannel: To access it, type "amx_nade_mode_menu" or "amx_nmm" in your console.
-Multilanguage: Has an help command that will show what each mode does in your personal language!
-Special effects, use a lot of resource, if you want you can disable them from the control pannel.
-Grenade modes can be selectively enabled or disabled. For example, you can allow player to use the motion sensor mode, but not the proximity mode.
-Choose whether or not to reset the mode of the next grenade to normal once one is thrown. Useful if you don't like to keep changing the mode every time you buy a grenade.
-Choose whether or not to display the current mode of the grenade when a player draws the grenade. Useful for forgetful player who don't remember what they set the grenade to last time.
-Choose whether or not to allow secondary explosions. An exploding grenade will detonate any other grenades close by. If you suspect a trip laser or proximity grenade nearby, you can dispatch it with your own grenade with no danger to yourself.
-Give infinite grenades. Useful for testing purposes.
-Team play (can be set or unset by cvar/control pannel)
-Trip grenades can now be customized when they detect you they will either launch themselves in direction of the victim or imediately explode, your choice.
-New menu system includes many features, you can choose the grenades you want the plugin to affect + you can customize the float cvar values that control the way that the nade modes behave + save system.
-Hitpoints system (nades can take damage! YES!!), Secondary explosions ( more fun!!!), organised menu
-Smart mode for plugin effects (reduces lag!!!) and also Low bandwidth mode
-Low on CPU
-Damage settings for almost everything
-API to make it compatible with other plugins
-Monstermod support

Installation:
- text file goes in "addons\amxmodx\data\lang\" folder
- the sma file must be compiled locally/online and the output .amxx file will go in "addons\amxmodx\plugins\" folder

Usefull links:
Servers using this plugin
Multilanguage thread

Changelog:
Spoiler
Credits to:
Grenade Modes by Nomexous
Shoot Grenades by joaquimandrade
Testers
Translators
Everyone who enjoys having fun with grenades.
Attached Files
File Type: txt nademodes.txt (16.1 KB, 18423 views)
File Type: sma Get Plugin or Get Source (nademodes.sma - 28626 views - 139.5 KB)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 03-22-2012 at 08:19. Reason: V11.2 release
ot_207 is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-03-2008 , 08:13   Re: Nade Modes (Nomexous)
Reply With Quote #2

Known problems:
1. The plugin doesn't work with plugin modified nades that instead of using pev_dmgtime, use set_task() to detonate the nade.

Good plugins that can be used with my plugin:
Nade Ammo Types
Nade Giver
FrostNades
NapalmNades
Teleport Smoke Grenade

Screenshots:
[IMG]http://img117.**************/img117/2144/tripgrenadesuu7.th.jpg[/IMG][IMG]http://img117.**************/img117/6758/motiongrenadeswo9.th.jpg[/IMG][IMG]http://img117.**************/img117/7125/proximitygrenadesey6.th.jpg[/IMG]

Movie [Thanks retaer93]:
http://www.youtube.com/watch?v=gZTKaDsmoJg
http://www.youtube.com/watch?v=E0Ev5FDTS2c

Plugin API Example:
Info in the include file!
PHP Code:
/* Script generated by Pawn Studio */
#include <amxmodx>
#include <amxmisc>
#include <nademodes>
#define PLUGIN "NMM API TEST"
#define AUTHOR "OT"
#define VERSION "1.0"
public plugin_init()
{
register_plugin(PLUGINVERSIONAUTHOR)
}
 
// Block nadetype property set only if we have He grenades and the mode is trip laser
public fw_NM_nade_property_set(entNadeType:nade_type)
{
return (
get_grenade_race(ent) == _:GRENADE_EXPLOSIVE && nade_type == NADE_TRIP) ? PLUGIN_HANDLED PLUGIN_CONTINUE;
}
 
// Recheck to see if it is ok
public fw_NM_nade_property_set_post(entNadeType:nade_typebool:block)
{
new 
owner entity_get_edict(entEV_ENT_owner)
 
client_print(ownerprint_chat"%s"block "BLOCKED FORWARD" "NONBLOCKED")
 
return 
PLUGIN_HANDLED

Suggestions are welcomed! Please post all bugs that occur!
Hope you like the plugin!
Attached Files
File Type: inc nademodes.inc (7.5 KB, 1719 views)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 01-30-2012 at 09:34.
ot_207 is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 08-03-2008 , 11:43   Re: Nade Modes (Nomexous)
Reply With Quote #3

zi ca tu lai facut;-? +k bro
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 08-03-2008 , 11:47   Re: Nade Modes (Nomexous)
Reply With Quote #4

Yeah looks cool, I will test it.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: Romania
Old 08-03-2008 , 12:15   Re: Nade Modes (Nomexous)
Reply With Quote #5

tested by myself and works great mannnnnnnnnnnnnnnnnnnnnnnnn this plugin stand on my server forever
__________________
All my lifetime work is there (includin private big ass plugins and stuff) https://github.com/tutyamxx

tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 08-04-2008 , 04:45   Re: Nade Modes (Nomexous)
Reply With Quote #6

Hi ot_207 , I found a bug or what ever that is :
I use this plugin with Zombie Plague.

When i write in console amx_nmm it works of course then i select 2nd page edited that I have unlimited nades (for testing) then I selected 3rd page and wanted to select "Motion sensor" but it already was enabled, so I selected exit and take out a nade and there was normal mode. WTF? If I wanted a motion sensor. Can You help me with that?

And one thing if I shut down server and start it again that what I selected doesn't save can You add in menu save configuration or something...
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-04-2008 , 08:46   Re: Nade Modes (Nomexous)
Reply With Quote #7

Quote:
Originally Posted by The_Thing View Post
Hi ot_207 , I found a bug or what ever that is :
I use this plugin with Zombie Plague.

When i write in console amx_nmm it works of course then i select 2nd page edited that I have unlimited nades (for testing) then I selected 3rd page and wanted to select "Motion sensor" but it already was enabled, so I selected exit and take out a nade and there was normal mode. WTF? If I wanted a motion sensor. Can You help me with that?

And one thing if I shut down server and start it again that what I selected doesn't save can You add in menu save configuration or something...
1. To change the mode the grenade is using. When holding a grenade press the right click or +ATTACK2 in order to change the mode. The menu controls if the mode can be used or not. Will add a better description, when I have time.

2. Good idea! Never thought of it. Added in to do list!!!
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 08-04-2008 , 09:57   Re: Nade Modes (Nomexous)
Reply With Quote #8

mmm, thanks.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
mando127
Veteran Member
Join Date: Dec 2006
Location: virginia
Old 08-04-2008 , 17:37   Re: Nade Modes (Nomexous)
Reply With Quote #9

can you add Napalm Nades to work with your mod then i will have all nades for my zombie server
__________________
mando127 is offline
Send a message via Skype™ to mando127
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-04-2008 , 18:00   Re: Nade Modes (Nomexous)
Reply With Quote #10

Quote:
Originally Posted by mando127 View Post
can you add Napalm Nades to work with your mod then i will have all nades for my zombie server

I already posted a request to the plugin author.
-> Napalm Nades Thread
If he doesn't want to do it, I will make that plugin compatible.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
Reply


Thread Tools
Display Modes

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 20:17.


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