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

Bomb Site Helper


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 09-02-2013 , 09:11   Bomb Site Helper
Reply With Quote #1

Bomb Site Helper v1.2

Description:

This is a simple plugin, which shows bombsites. 3 mode avaliable (see above) Recommended for: unknown maps.

Show types:
  • Sprite (Default)
  • Line
  • Radar

Client commands:
say /bsh -> Show the menu
say_team /bsh -> Show the menu

Cvars:
bsh_line_red "0"
bsh_line_green "255"
bsh_line_blue "0"
(The line color)
amx_bsh "a"
Flags: a -> Sprite, b -> Line c -> Radar

Required modules:
  • Engine
  • fakemeta

Images:
Main Menu:
Spoiler

Show sprite:
Spoiler

Sprite + Line:
Spoiler

Sprite + Line + Radar:
Spoiler


Changelog:
1.0: First Release
1.1:
- Plugin Only Running bombsite maps.
- Added radar type
- Added advertiser
1.2:
- Remove PreThink
- Added info_bomb_target support
- Added new cvar amx_bsh
1.3:
- Added again prethink
- Fix "pause" function bad use.


PS.: Thanks for Black Rose for get bombsite origins!
Attached Files
File Type: zip resc.zip (8.3 KB, 316 views)
File Type: sma Get Plugin or Get Source (bombsitehelp.sma - 1220 views - 7.0 KB)
__________________

Last edited by kiki33hun; 09-22-2013 at 04:17. Reason: update v1.3
kiki33hun is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 09-02-2013 , 09:20   Re: Bomb Site Helper
Reply With Quote #2

Interesting idea.

The first spoiler doesn't work.
__________________




Last edited by dark_style; 09-02-2013 at 09:20.
dark_style is offline
Smatify
Senior Member
Join Date: Nov 2012
Location: Where ever you want
Old 09-02-2013 , 10:00   Re: Bomb Site Helper
Reply With Quote #3

Quote:
Originally Posted by dark_style View Post
The first spoiler doesn't work.
Works fine for me
__________________
Selling Hosting stuff such as Webspace and Game- & VoiceServer

I'm also selling Steam Keys.
For more informations, contact me.

(Homepage is under development)
Smatify is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 09-02-2013 , 10:02   Re: Bomb Site Helper
Reply With Quote #4

Maybe the author has fixed it ? :/
__________________




Last edited by dark_style; 09-02-2013 at 10:04.
dark_style is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 09-02-2013 , 10:19   Re: Bomb Site Helper
Reply With Quote #5

You should check if this map has bomb site at precache, and only if it has then, do all file precache, hook client commands, and especially prethink forward since it's quite expensive.

Edit. Remove connected/bot checks in user menu. Since menu can be seen only by typing things in chat, its obvious that bot's can do that, and if you can use chat, that use are connected for sure.
Code:
write_coord(floatround(origin[0]))
    write_coord(floatround(origin[1]))
    write_coord(floatround(origin[2]))
use instead -->

Code:
engfunc(EngFund_WriteCoord, origin[0]) ....
__________________


Last edited by NiHiLaNTh; 09-02-2013 at 13:21.
NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 09-02-2013 , 10:53   Re: Bomb Site Helper
Reply With Quote #6

I will update. Any requests?
__________________
kiki33hun is offline
StrinG
BANNED
Join Date: Aug 2013
Old 09-02-2013 , 13:05   Re: Bomb Site Helper
Reply With Quote #7

Quote:
Originally Posted by kiki33hun View Post
I will update. Any requests?
Not request, suggestion. Make cvar for what want to be used. Like if i use that plugin i would only allow the sprite not the line.
StrinG is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-02-2013 , 18:38   Re: Bomb Site Helper
Reply With Quote #8

You should add support for maps that have more and less than 2 bombsites (dynamically) : actually, if a map has only 1 site, null origin is considered for 2nd non existant site, and if there are more than 2 sites, only the 2 first returned sites are considerated.
You should add support for info_bomb_target class.
PreThink seems a bit overhead to show lines and/or sprites.
Don't tag private functions as stock.

Idea : you could add 'bombsites on radar' feature (already existing as standalone but there is no reason to run 2 similar plugins).


PHP Code:
    new scale floatround(fScale)
    
scale max(scale1)
    
scale min(scale2)
    
scale max(scale1
Da fuck ??
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 09-02-2013 at 18:44.
ConnorMcLeod is offline
HalfLife
Senior Member
Join Date: Aug 2013
Location: I'll tell you later ;)
Old 09-03-2013 , 07:28   Re: Bomb Site Helper
Reply With Quote #9

Very nice plugin
__________________
If you need any help regarding your HL Server, PM me and I can help you
My Tutorials:
How to install and use your SQL Database using AMX Mod X Plugins
HalfLife is offline
devilicioux
Veteran Member
Join Date: Jun 2013
Location: Delhi,India
Old 09-03-2013 , 08:40   Re: Bomb Site Helper
Reply With Quote #10

My Idea -_-
Quote:
Originally Posted by devilicioux View Post
Sweet !! can we direct player somehow to the closest bombsite or show him direction via some sprite or something or beam or anything ?
__________________
You keep bringing ANTICHRISTUS down .. He will rise again and kick asses !

#RespectList ANTICHRISTUS fysiks Bugsy

Most Common Errors You Can Encounter Every Now and Then
devilicioux is offline
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 21:31.


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