Raised This Month: $ Target: $400
 0% 

[REQ] Replace flashbang with molotov


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
blanko
Senior Member
Join Date: Aug 2008
Old 05-04-2014 , 14:28   [REQ] Replace flashbang with molotov
Reply With Quote #1

How can I replace the flashbang grenade with molotov (via molotov plugin, it replaces the hegrenade by default)
__________________
blanko is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 05-04-2014 , 14:40   Re: [REQ] Replace flashbang with molotov
Reply With Quote #2

Now I'll be just the next member here saying "SEARCH!"
https://forums.alliedmods.net/showth...hlight=molotov
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
blanko
Senior Member
Join Date: Aug 2008
Old 05-04-2014 , 15:30   Re: [REQ] Replace flashbang with molotov
Reply With Quote #3

Quote:
Originally Posted by Flick3rR View Post
Now I'll be just the next member here saying "SEARCH!"
https://forums.alliedmods.net/showth...hlight=molotov
I need it to replace flashbang, not he!
__________________
blanko is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 05-04-2014 , 16:15   Re: [REQ] Replace flashbang with molotov
Reply With Quote #4

Yup, my bad, sorry! Well, there is a constant for the weapon type in this plugin, so I've just replaced
PHP Code:
new const WEAPON_HEGRENADE[] = "weapon_hegrenade"
with
PHP Code:
new const WEAPON_HEGRENADE[] = "weapon_flashbang"
The models and all the other stuff are the same. Go on.
Attached Files
File Type: sma Get Plugin or Get Source (molotov_cocktail.sma - 418 views - 59.9 KB)
__________________

Last edited by Flick3rR; 05-04-2014 at 16:15.
Flick3rR is offline
Send a message via Skype™ to Flick3rR
blanko
Senior Member
Join Date: Aug 2008
Old 05-04-2014 , 16:21   Re: [REQ] Replace flashbang with molotov
Reply With Quote #5

Quote:
Originally Posted by Flick3rR View Post
Yup, my bad, sorry! Well, there is a constant for the weapon type in this plugin, so I've just replaced
PHP Code:
new const WEAPON_HEGRENADE[] = "weapon_hegrenade"
with
PHP Code:
new const WEAPON_HEGRENADE[] = "weapon_flashbang"
The models and all the other stuff are the same. Go on.
Already tried that! But the things is.. the "flash-lotov" won't go BOOM. It does not explode... just get thrown and dropped on the floor without any explosion or damage..
__________________
blanko is offline
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 05-04-2014 , 16:35   Re: [REQ] Replace flashbang with molotov
Reply With Quote #6

Makes sense, when the original plugin is using the HE grenade's damage taking and exploding. Can't help here...
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Uzver
New Member
Join Date: Jan 2016
Old 03-26-2017 , 07:58   Re: [REQ] Replace flashbang with molotov
Reply With Quote #7

molotov replaces flashbang

Also add to your CFG
molotov_override 1
Attached Files
File Type: sma Get Plugin or Get Source (molotov_cocktail.sma - 491 views - 59.9 KB)
Uzver is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 03-26-2017 , 08:19   Re: [REQ] Replace flashbang with molotov
Reply With Quote #8

Quote:
Originally Posted by Uzver View Post
molotov replaces flashbang

Also add to your CFG
molotov_override 1
How about you take a look at when this was posted?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Reply



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 02:00.


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