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

[Any] Smoke Bomb!


Post New Thread Reply   
 
Thread Tools Display Modes
delirium_trigger
SourceMod Donor
Join Date: Apr 2009
Location: Washington
Old 08-27-2010 , 14:49   Re: [Any] Smoke Bomb!
Reply With Quote #21

Tested on L4D2, works great. Nice job on making it for any game.

Do you think you could add support for admin only?

and

If it is admin only, could you make a setting where you can choose if you want the plugin to announce itself?

Last edited by delirium_trigger; 08-27-2010 at 14:54.
delirium_trigger is offline
Nuclear_Suspect
Member
Join Date: Oct 2009
Old 08-27-2010 , 15:25   Re: [Any] Smoke Bomb!
Reply With Quote #22

Quote:
Originally Posted by delirium_trigger View Post
Tested on L4D2, works great. Nice job on making it for any game.

Do you think you could add support for admin only?

and

If it is admin only, could you make a setting where you can choose if you want the plugin to announce itself?
For now you can change sm_smokecarry to 0 and admins can give bombs to themselves / others and that'll effectively make it 'admin only'

It'll still announce itself to the others and say they have 0 bombs though, its a cvar to switch that off we're looking for ;)

/EDIT
One from our community helped me makes the changes I was looking for (I had to bug him a bit)

Sadly I forgot to get the .sp from him as well so theres only the compiled plugin.
It removes the onspawn / teamchange announcement (The "You have X smokebombs! type !smokebomb to use one")
It also changes the "You are out of smokebombs! Go resupply" to just "You are out of smokebombs!"
We've also changed some default values:
sm_smokecarry 0
sm_smokecolorhandler 3

I can try getting the .sp from him tomorrow, but from what I understand he just removed some bits to clear up the confusion that was spreading when the plugin was on (People not understanding they had 0 smokebombs and then going crazy trying to figure out how to 'resupply')
Attached Files
File Type: smx SmokeBomb.smx (6.5 KB, 123 views)

Last edited by Nuclear_Suspect; 08-27-2010 at 16:32.
Nuclear_Suspect is offline
Elektramode
Senior Member
Join Date: Mar 2010
Old 08-27-2010 , 19:17   Re: [Any] Smoke Bomb!
Reply With Quote #23

loving this in l4d2 ... now boomer has some cover
Elektramode is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 08-28-2010 , 03:25   Re: [Any] Smoke Bomb!
Reply With Quote #24

I'm going to change it so if you "pick up" 0 bombs you don't get the message.
Also a cvar to prevent announcing stuff.
__________________
DarthNinja is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 08-28-2010 , 04:02   Re: [Any] Smoke Bomb!
Reply With Quote #25

Quote:
Originally Posted by Nuclear_Suspect View Post
For now you can change sm_smokecarry to 0 and admins can give bombs to themselves / others and that'll effectively make it 'admin only'

It'll still announce itself to the others and say they have 0 bombs though, its a cvar to switch that off we're looking for ;)

/EDIT
One from our community helped me makes the changes I was looking for (I had to bug him a bit)

Sadly I forgot to get the .sp from him as well so theres only the compiled plugin.
It removes the onspawn / teamchange announcement (The "You have X smokebombs! type !smokebomb to use one")
It also changes the "You are out of smokebombs! Go resupply" to just "You are out of smokebombs!"
We've also changed some default values:
sm_smokecarry 0
sm_smokecolorhandler 3

I can try getting the .sp from him tomorrow, but from what I understand he just removed some bits to clear up the confusion that was spreading when the plugin was on (People not understanding they had 0 smokebombs and then going crazy trying to figure out how to 'resupply')
Couldn't wait a whole day huh?

~New version is out:
  • V2.1.0
    • Added a cvar to change how much the plugin prints to chat
    • Fixed it printing to chat when player's "picked up" 0 bombs.
The plugin will not print "You picked up..." if the player "picks up" 0 bombs anymore.

Change the value of sm_smoke_helptext_handler to to set what the plugin prints to chat:
0 = (Default) Everything is printed to chat as before.
1
= Hides the "You picked up X Smoke Bombs...." text
2 = Hides #1, and also hides the "You have used a Smoke Bomb, you have X left...." text.
3 = Hides #1 and #2, and also removes the "You are out of smoke bombs" message.
The "An Admin has given you X Smoke Bombs" text is always shown (To the admin and targeted client).

If you want to make the plugin Admin Only, just set the default number to "0" and give yourself grenades via the command.
If enough people want it, I'll add an automatic feature for admins.
__________________
DarthNinja is offline
Nuclear_Suspect
Member
Join Date: Oct 2009
Old 08-28-2010 , 08:59   Re: [Any] Smoke Bomb!
Reply With Quote #26

Well its such a fun plugin that we just HAD TO HAVE IT!
Of course your new update does come with more options than just cutting it away, so good job on the update and great job on the plugin ;)
Nuclear_Suspect is offline
dogginny21
Junior Member
Join Date: Aug 2010
Old 08-29-2010 , 02:06   Re: [Any] Smoke Bomb!
Reply With Quote #27

Cool ! It's Work for L4d2 Too !! and there will be more to come
__________________
Grass grows, birds fly, sun shines, and brother , I kill Zombie !!
dogginny21 is offline
Send a message via ICQ to dogginny21 Send a message via AIM to dogginny21 Send a message via MSN to dogginny21 Send a message via Yahoo to dogginny21 Send a message via Skype™ to dogginny21
Predailien12
Senior Member
Join Date: Feb 2010
Location: Your as* hol*
Old 08-29-2010 , 09:09   Re: [Any] Smoke Bomb!
Reply With Quote #28

Transparancy Question.

what is more thick??

I mean 0 = Transparancy???

or 255 = Transparancy??
Predailien12 is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 08-29-2010 , 12:44   Re: [Any] Smoke Bomb!
Reply With Quote #29

a short lesson in applied logic:
a) the default is 255.
b) the default value won't be set to "spawn smoke, but make it fully transparent".
a+b -> with a value of 0 the smoke won't be visible.
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
Predailien12
Senior Member
Join Date: Feb 2010
Location: Your as* hol*
Old 08-29-2010 , 13:02   Re: [Any] Smoke Bomb!
Reply With Quote #30

Quote:
Originally Posted by [AAA] Thrawn View Post
a short lesson in applied logic:
a) the default is 255.
b) the default value won't be set to "spawn smoke, but make it fully transparent".
a+b -> with a value of 0 the smoke won't be visible.
THx!!!
Predailien12 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 20:57.


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