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

[CS:S] Molotov Cocktails


Post New Thread Reply   
 
Thread Tools Display Modes
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 08-22-2012 , 15:20   Re: [CS:S] Molotov Cocktails
Reply With Quote #11

Make an option to add it for donaters only. So a cvar where we can set flags.

<3 thanks!
Groger is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-22-2012 , 15:30   Re: [CS:S] Molotov Cocktails
Reply With Quote #12

Quote:
Originally Posted by shavit View Post
I know, but you need both, I used to have many plugins with it.
Just do:
Code:
#undef REQUIRE_PLUGINS
#include <hosties>
#include <lastrequest>
#include <throwingknives>
#define REQUIRE_PLUGINS
Because not everybody have Throwing Knives and Hosties in their server.
I think that #tryinclude does that -> http://forums.alliedmods.net/showpos...79&postcount=4
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.

Franc1sco is offline
Send a message via MSN to Franc1sco
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-22-2012 , 15:35   Re: [CS:S] Molotov Cocktails
Reply With Quote #13

Quote:
Originally Posted by Franc1sco View Post
I think that #tryinclude does that -> http://forums.alliedmods.net/showpos...79&postcount=4
Hmm, to be safe -
Code:
#undef REQUIRED_EXTENSIONS
#include <sdkhooks>
#define REQUIRED_EXTENSIONS

#undef REQUIRED_PLUGINS
#include <hosties>
#include <lastrequest>
#include <cssthrowingknives>
#define REQUIRED_PLUGINS
__________________
retired
shavit is offline
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-24-2012 , 07:20   Re: [CS:S] Molotov Cocktails
Reply With Quote #14

The plugin doesn't works, when it worked IgniteEntity did nothing.
__________________
retired
shavit is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 08-24-2012 , 10:19   Re: [CS:S] Molotov Cocktails
Reply With Quote #15

Quote:
Originally Posted by shavit View Post
The plugin doesn't works, when it worked IgniteEntity did nothing.
Maybe for the CS:S update IgniteEntity is bug? because worked well...


EDIT

Try this version:

-Cause damage without IgniteEntity
Attached Files
File Type: sp Get Plugin or Get Source (molotov.sp - 419 views - 3.2 KB)
File Type: smx molotov.smx (4.4 KB, 136 views)
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 08-24-2012 at 10:22.
Franc1sco is offline
Send a message via MSN to Franc1sco
shavit
AlliedModders Donor
Join Date: Dec 2011
Location: Israel
Old 08-24-2012 , 15:59   Re: [CS:S] Molotov Cocktails
Reply With Quote #16

Quote:
Originally Posted by Franc1sco View Post
Maybe for the CS:S update IgniteEntity is bug? because worked well...


EDIT

Try this version:

-Cause damage without IgniteEntity
I tried hooking player_hurt and with SDKHooks and I still can't get your plugin to burn people..
Also it didn't worked on my server because I removed Throwing Knives...
__________________
retired
shavit is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 10-12-2012 , 15:25   Re: [CS:S] Molotov Cocktails v1.1
Reply With Quote #17

New version!


v1.1
-Now added compatibility with Throwing Knives and Hosties
-Added cvars

Cvars:

Code:
sm_cssmolotov_ignite 1 // Enable/Disable ignite player
sm_cssmolotov_damage 0.0 // Fire damage on touch, per second (0.0 = no damage)
Note: ignite is burn of sourcemod and fire is the fire of env_fire entity (no is the same thing) so you can put damage in fire without ignite player


Use "css molotov plugin version2.zip" in the first post for the new version
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 10-12-2012 at 15:34.
Franc1sco is offline
Send a message via MSN to Franc1sco
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 10-12-2012 , 17:34   Re: [CS:S] Molotov Cocktails v1.1
Reply With Quote #18

Hi Francisco,

There's any way to do the Molotov do not hurt teammates ?? With ZR there's many TK =\
homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 10-13-2012 , 04:37   Re: [CS:S] Molotov Cocktails v1.1
Reply With Quote #19

Quote:
Originally Posted by homerjsimpson View Post
Hi Francisco,

There's any way to do the Molotov do not hurt teammates ?? With ZR there's many TK =\
Ok


Beta Version 1.2

-New cvars for teammates
Code:
sm_cssmolotov_ff 0 // Enable/Disable friendly fire

Try this and tell me if work
Attached Files
File Type: sp Get Plugin or Get Source (molotov.sp - 330 views - 4.8 KB)
File Type: smx molotov.smx (5.3 KB, 157 views)
__________________
Veteran Coder -> Activity channel
Coding on CS2 and taking paid and free jobs.

Contact: Steam, Telegram or discord ( franug ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 10-13-2012 at 04:37.
Franc1sco is offline
Send a message via MSN to Franc1sco
homerjsimpson
BANNED
Join Date: Feb 2009
Location: https://t.me/pump_upp
Old 10-13-2012 , 07:33   Re: [CS:S] Molotov Cocktails v1.1
Reply With Quote #20

Quote:
Originally Posted by Franc1sco View Post
Ok


Beta Version 1.2

-New cvars for teammates
Code:
sm_cssmolotov_ff 0 // Enable/Disable friendly fire

Try this and tell me if work
Worked like a charm

Thank you so much Francisco
homerjsimpson is offline
Send a message via ICQ to homerjsimpson Send a message via AIM to homerjsimpson Send a message via Yahoo to homerjsimpson Send a message via Skype™ to homerjsimpson
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 07:07.


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