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

Impulse Grenade


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   HamletEagle (36)
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 05-13-2018 , 17:58   Impulse Grenade
Reply With Quote #1

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
Spoiler
Attached Files
File Type: zip models.zip (959.9 KB, 807 views)
File Type: sma Get Plugin or Get Source (impulseGrenade.sma - 1387 views - 9.7 KB)
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 02-26-2019 at 18:28.
EFFx is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-13-2018 , 00:39   Re: Impulse Grenade
Reply With Quote #2

Plugin Updated to v1.1

Code:
. 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.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 06-13-2018 at 00:40.
EFFx is offline
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-13-2018 , 07:34   Re: Impulse Grenade
Reply With Quote #3

Look great, gj
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 06-13-2018 , 17:00   Re: Impulse Grenade
Reply With Quote #4

Its 2018, why you still change viewmodels with CurWeapon event?
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-13-2018 , 20:03   Re: Impulse Grenade
Reply With Quote #5

Because I want.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 06-14-2018 , 03:51   Re: Impulse Grenade
Reply With Quote #6

Quote:
Originally Posted by EFFx View Post
Because I want.
Nice attitude.
__________________
HamletEagle is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 06-14-2018 , 09:05   Re: Impulse Grenade
Reply With Quote #7

Ty
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Rivotril
Senior Member
Join Date: Feb 2014
Location: Argentina
Old 06-14-2018 , 17:22   Re: Impulse Grenade
Reply With Quote #8

Looks cool!
Rivotril is offline
Nia
Junior Member
Join Date: Jan 2017
Old 06-24-2018 , 09:26   Re: Impulse Grenade
Reply With Quote #9

...

Last edited by Nia; 06-26-2018 at 08:02.
Nia is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 07-14-2018 , 01:47   Re: Impulse Grenade
Reply With Quote #10

Updated to v1.2:

Code:
. Added impact mode (instant explosion after touch).
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx 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 16:04.


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