Impulse Grenade

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Impulse Grenade

Post by greenie »

IMPULSE GRENADE


- Description
- This plugin replaces the smoke grenade with a a funny feature similar to a Fortnite's: If you throw the smoke grenade and it explodes close to a player, he'll be impulsed with the explosion. It does a little damage.
Theres a random video I found with that feature - https://www.youtube.com/watch?v=WUftN-hy19w

- Cvars
impulsegrenade_on - Turn plugin on/off
impulsegrenade_self_impulse - Self impulse on/off
impulsegrenade_multiplier - Impulse's multiplier
impulsegrenade_radius - Explosion radius
impulsegrenade_ffa - Impulse teammates.
impulsegrenade_killmoney - Amount of money that the player gets when he kill someone with the Impulse Grenade.
impulsegrenade_killinfo - Display when someone kills another player with the Impulse Grenade.
impulsegrenade_impactmode - Instant explosion after touch the worldspawn or a player).

- Credits
Nomexous' Weapon Physics (Weapons being impulsed with the HE Explosion, just changed to smoke and made it work with players) - https://forums.alliedmods.net/showthread.php?p=580384

- Change log
05/13/2018 - First release

06/13/2018 - v1.1
. Added money bonus when someone kills another player with the Impulse Grenade.
{
- Two cvars to configure: impulsegrenade_killmoney and impulsegrenade_killinfo.

> impulsegrenade_killmoney - Amount of money that the player gets when he kill someone with the Impulse Grenade.
> impulsegrenade_killinfo - Display when someone kills another player with the Impulse Grenade.
}
. Fixed the wrong radius on the createBlast.
. Added impulsegrenade_trailcolor cvar to change the player's trail color.
. Added impulsegrenade_blastcolor cvar to change the explosion's color.

07/14/2018 - v1.2
. Added impact mode (instant explosion after touch).

07/14/2018 - v1.3
. Code optimized
. Added impulsegrenade_impactmode cvar to turn on/off impact mode.

02/26/2019 - v1.4
. Fixed an issue with self impulse with FFA cvar.
. Added a code that kills the beam entity when the impulsed player touches the ground.
models.zip
Get Plugin
Get Source
Post Reply

Return to “Admin Commands”