Author
Senior Member
Join Date: Jun 2016
Location: Funland
Plugin ID:
5552
Plugin Version:
1.3.4
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
Servers with this Plugin:
Plugin Description:
Adds more modes for decoys grenades
02-28-2017
, 08:59
[CS:GO] Futuristic Grenades (v1.3.4 4/16/2017)
#1
Futuristic Grenades
Description:
Adds more modes to decoy grenades
Modes: Black Hole
Force Field
Force Explosion
Force Implosion
Preview:
VIDEO
Changelog:
Spoiler
v1.0 28/2/2017 v1.1 28/2/2017 Added convar: blackholedecoys_use_decoy_model
v1.2 2/3/2017
Added more features
Changed project name from 'Black hole decoys ' to 'Futuristic Grenades '
Force field mode (With cvars)
Force explosion mode (With cvars)
Force implosion mode (With cvars)
Friendly fire convar (fg_friendlyfire - 1)
Added regular command "!fg_ff" to display if friendly fire is on or off
Added cvars to enable/disable individual modes (If disabled, admins with ban flag may still use)
Ragdolls disappear if killed inside a black hole
Added sub modes for Force fields , Force explosions , Force implosions
Added new sounds and particle effects, changed the original blackhole particle effect (Old one still exists: blackholev2)
v1.2.1 3/3/2017 Bug fixes, added more invalid entity checking
v1.3 3/3/2017 Added flag system (Cvars)
Removed enable/disable cvars for each mode
fg_blackhole_flags - "" - Specify what flags has access to black holes (Blank for everyone)
fg_forcefield_flags - "" - Specify what flags has access to force fields (Blank for everyone)
fg_explosion_flags - "" - Specify what flags has access to explosions (Blank for everyone)
fg_implosion_flags - "" - Specify what flags has access to implosions (Blank for everyone)
Flags cvar example: fg_implosion_flags "abc" everyone with flags a, b and c will have access to that mode
v1.3.1 8/3/2017 Fixed ray memory leaks
Fixed entity references
v1.3.2 31/3/2017 Possibly fixed a timer issue
v1.3.3 16/4/2017 Valid entity checking to prevent errors
v1.3.4 19/4/2017 Added natives and forwards (Developer stuff only)
Forwards: FGrenades_OnThrowGrenade(int client, int entity, DecoyMode mode); //Called when a player throws a decoy grenade
FGrenades_OnBlackHoleDeath(int client, int ragdoll); //Called when a player dies inside a black hole
FGrenades_OnGrenadeExpire(float pos[3], DecoyMode mode); //Called when either a blackhole or forcefield expires
FGrenades_OnGrenadePreStart(int entity, DecoyMode mode); //Called when a grenade hits the ground and bounces up
FGrenades_OnGrenadeStart(int owner, int &particle, float pos[3], DecoyMode mode, int duration); //Called when a grenade starts
FGrenades_OnSwitchMode(int client, DecoyMode previousmode, DecoyMode newmode, int weapon); //Called when client switches mode
Natives: FGrenades_IsFriendlyFire(); //Returns if friendly fire is activated
FGrenades_GetMode(int client); //Returns clients grenade mode
FGrenades_GetForcefieldMode(int client); //Returns clients forcefield mode
FGrenades_GetForceExplosionMode(int client); //Returns clients force explosion mode
FGrenades_GetForceImplosionMode(int client); //Returns clients force implosion mode
FGrenades_GetAmountBlackholes(); //Returns the amount of active black holes
FGrenades_GetAmountForcefields(); //Returns the amount of active force fields
Cvars:
Spoiler
Black hole cvars
fg_blackhole_flags - "" - Specify what flags has access to black holes (Blank for everyone)
fg_blackhole_particle_effect - blackhole - Name of the particle effect you want to use for blackholes
fg_blackhole_minimum_distance - 250 - Minimum distance to push player towards black hole
fg_blackhole_bounce_velocity - 300 - Up/Down velocity to push the grenade on bounce
fg_blackhole_shake_player - 1 - Shake the player once entering minimum distance
fg_blackhole_shake_intensity - 5.0 - Intensity of the shake
fg_blackhole_shake_frequency - 0.7 - Frequency of the shake
fg_blackhole_force - 350 - Force to fly at the black hole
fg_blackhole_duration - 10 - Duration in seconds the blackhole lasts
fg_blackhole_setting - 1 - 0 = Do nothing on entering blackhole origin, 1 = Do damage on entering the blackhole origin
fg_blackhole_damage - 5 - Damage to do once entering blackhole origin
fg_blackhole_props - 1 - Push props towards black hole (Client side props will not work)
fg_blackhole_weapons - 1 - Push dropped weapons towards black hole
fg_blackhole_hegrenades - 1 - Push active hand grenades towards black hole
fg_blackhole_flashbangs - 1 - Push active flashbangs towards black hole
fg_blackhole_smokes - 1 - Push active smoke grenades towards black hole
fg_blackhole_indicator - 0 - Indicate minimum distance to push player towards black hole
Force field cvars
fg_forcefield_flags - "" - Specify what flags has access to force fields (Blank for everyone)
fg_forcefield_particle_effect - forcefield - Name of the particle effect you want to use for forcefields
fg_forcefield_minimum_distance - 300 - Minimum distance to push player away from forcefield
fg_forcefield_bounce_velocity - 300 - Up/Down velocity to push the grenade on bounce
fg_forcefield_force - 350 - Force to push away from forcefield
fg_forcefield_duration - 10 - Duration in seconds the forcefield lasts
fg_forcefield_props - 1 - Push props away from forcefield
fg_forcefield_hegrenades - 1 - Push active hand grenades away from forcefield
fg_forcefield_flashbangs - 1 - Push active flashbangs away from forcefield
fg_forcefield_smokes - 1 - Push active smoke grenades away from forcefield
fg_forcefield_indicator - 1 - Indicate minimum distance to push player away from force field
Force explosion cvars
fg_explosion_flags - "" - Specify what flags has access to explosions (Blank for everyone)
fg_explosion_particle_effect - explosion - Name of the particle effect you want to use for force explosions
fg_explosion_minimum_distance - 300 - Minimum distance to push player away from force explosions
fg_explosion_force - 800 - Force to push away from force explosions
fg_explosion_props - 1 - Push props away from force explosions
fg_explosion_weapons - 1 - Push dropped weapons away from force explosions
fg_explosion_hegrenades - 1 - Push active hand grenades away from force explosions
fg_explosion_flashbangs - 1 - Push active flashbangs away from force explosions
fg_explosion_smokes - 1 - Push active smoke grenades away from force explosions
fg_explosion_bounce - 0 - Bounce the grenade before activating
fg_explosion_bounce_velocity - 300 -Up/Down velocity to push the grenade on bounce (If fg_explosion_bounce enabled)
Force implosion cvars
fg_implosion_flags - "" - Specify what flags has access to implosions (Blank for everyone)
fg_implosion_particle_effect - implosion - Name of the particle effect you want to use for force implosions
fg_implosion_minimum_distance - 500 - Minimum distance to push player towards force implosions
fg_implosion_props - 1- Push props towards force implosions
fg_implosion_weapons - 1 - Push dropped weapons towards force implosions
fg_implosion_hegrenades - 1 - Push active hand grenades towards force implosions
fg_implosion_flashbangs - 1 - Push active flashbangs towards force implosions
fg_implosion_smokes - 1 - Push active smoke grenades towards force implosions
fg_implosion_bounce - 0 - Bounce the grenade before activating
fg_implosion_bounce_velocity- 300 - Up/Down velocity to push the grenade on bounce (If fg_implosion_bounce enabled)
Other cvars
fg_decoy_model - 1 - Whether or not to use custom model for decoy
fg_enabled - 1 - Enable/Disable plugin
fg_friendlyfire - 1 - Enable/Disable friendly fire
Credits:
Extra:
I'm not an expert at making particles, neither an expert at maths. Feel free to improve the effects if you will, or the math.
If you cannot see the particle effects, reconnect and they should work
Other particle effects:
OLD VERSION (BLACKHOLEDECOYS)
DOWNLOAD
__________________
Last edited by Rachnus; 02-21-2024 at 13:56 .
Reason: New and better