View Single Post
Author Message
micapat
Veteran Member
Join Date: Feb 2010
Location: Nyuu, nyuu (France).
Old 07-15-2018 , 09:49   [CS:GO] Grenade Modes [Nademodes] (1.1.0 - 21/07/2018)
Reply With Quote #1

# Description


The grenades can be configured with different modes, providing the ability to use them for example as proximity mines.



There're currently 4 grenade modes available:
> Normal (Classic)
> Impact (Explode after any contact)
> Proximity (Explode when a enemy is near)
> Tripwire (Explode when a enemy crosses the beam)

The mode can be configured per grenade type using the command "+lookatweapon" (F by default).

The color of the effects (Beacon, beam..) depends of the relationship of the players with the grenade owner (Teammate or enemy).

For the moment, only the hegrenade, flashbang and smokegrenade are supported. The decoy, incendiary and tactical grenades will be supported in the future.

# Installation


HTML Code:
/addons/sourcemod/plugins/grenade_modes.smx
/addons/sourcemod/scripting/grenade_modes.sp (Optional)
/addons/sourcemod/translations/grenade_modes.phrases.txt
/addons/sourcemod/translations/fr/grenade_modes.phrases.txt
# Console Variables


PHP Code:
"sm_grenade_modes_enable" Enable the plugin 
"sm_grenade_modes_self_color" Set the color of the self effects
"sm_grenade_modes_teammate_color" Set the color of the teammate effects
"sm_grenade_modes_enemy_color" Set the color of the enemy effects
"sm_grenade_modes_proximity_powerup_time" Set the proximity powerup time
"sm_grenade_modes_tripwire_powerup_time" Set the tripwire powerup time 
Remark: The colors must be in hexadecimal format (0xRRGGBB).

# Repository


https://github.com/nyuufr/Grenade-Modes



Have fun, and don't hesitate to report any bugs
Attached Thumbnails
Click image for larger version

Name:	line.png
Views:	4664
Size:	6.1 KB
ID:	170523  
Attached Files
File Type: sp Get Plugin or Get Source (grenade_modes.sp - 1791 views - 44.8 KB)
File Type: zip translations.zip (1.2 KB, 663 views)
__________________

Last edited by micapat; 07-21-2018 at 16:20. Reason: New version (1.1.0)
micapat is offline