Raised This Month: $66 Target: $400
 16% 

HNS Danger Meter


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   Hawk552 (427)
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-27-2009 , 16:34   HNS Danger Meter
Reply With Quote #1

HNS Danger Meter

Description
  • Basically this plugin was made for HNS mod, can be used in other mods too but is kinda useless.
  • Based on how much players are <IN_MAX_RANGE> and on distance between you and them it show a danger percentage and the direction of the nearest enemy.
  • The meter is showed only for terrorists, so you don't need anytime to check whole area to see if someone is comming, just watch meter and the direction.
Credits
Changelog
  • v1.0 - Initial Release
Info
  • #define TASK_DELAY 0.5 - HUD message update interval.
  • #define MAX_DANGER_RANGE 1500.0 - Maxim range for detecting enemyes. (I suggest to not change this values).

Attached Files
File Type: sma Get Plugin or Get Source (danger_meter.sma - 3573 views - 5.0 KB)
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 07-27-2009 at 18:17.
Alka is offline
ALIENMODSX
BANNED
Join Date: Nov 2008
Old 07-27-2009 , 16:52   Re: HNS Danger Meter
Reply With Quote #2

Pony with bunny ears?

EDIT:
Oh.. maybe I should say something on topic.

Nice work. ^^
ALIENMODSX is offline
Jon
Veteran Member
Join Date: Dec 2007
Old 07-27-2009 , 17:16   Re: HNS Danger Meter
Reply With Quote #3

sexeh, screenies?
Jon is offline
Sp3rMiNaToR
BANNED
Join Date: Apr 2009
Location: Greece ^_^
Old 07-27-2009 , 17:18   Re: HNS Danger Meter
Reply With Quote #4

Man this is awesome work!!!
Sp3rMiNaToR is offline
Send a message via MSN to Sp3rMiNaToR
Jack86
Veteran Member
Join Date: Dec 2008
Location: Belgrade, Serbia
Old 07-27-2009 , 17:32   Re: HNS Danger Meter
Reply With Quote #5

Quote:
Originally Posted by Jon View Post
sexeh, screenies?
Yea, we definitely want more screens of the pink pony
__________________

Jack86 is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 07-27-2009 , 18:16   Re: HNS Danger Meter
Reply With Quote #6

Screenies for a HUD message? lol.
Removed useless code from plugin and added engine way for ent think.
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
zacky
Senior Member
Join Date: Mar 2008
Location: Sweden
Old 07-27-2009 , 18:33   Re: HNS Danger Meter
Reply With Quote #7

Nice Alka, i haven't tried it, but i'll probably use this on my server

+karma
zacky is offline
Send a message via Skype™ to zacky
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 07-27-2009 , 22:29   Re: HNS Danger Meter
Reply With Quote #8

PHP Code:
// reindexing wil ltake less performance than using iPlayers[i] all the time

static iPlayers[32], iNum;
    
get_players(iPlayersiNum"ae""TERRORIST");

static 
id;
while( ... )
{
    
id iPlayers[i];

__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
kobri
Senior Member
Join Date: Oct 2005
Location: Bulgaria
Old 07-28-2009 , 06:00   Re: HNS Danger Meter
Reply With Quote #9

Why not make a proximity meter for CTs too, HNS is played like a deadly tag game anyway, the hiding and seeking part is boring to the players, they prefer the chase!
__________________
Founder of the legendary OptiLAN, MANIA and SECTOR.BG Gaming Communities
Providing everyday fun for over 15000 Bulgarian players!

http://about.me/kobri
kobri is offline
Send a message via Skype™ to kobri
Jon
Veteran Member
Join Date: Dec 2007
Old 07-28-2009 , 08:39   Re: HNS Danger Meter
Reply With Quote #10

Quote:
Originally Posted by kobri View Post
Why not make a proximity meter for CTs too, HNS is played like a deadly tag game anyway, the hiding and seeking part is boring to the players, they prefer the chase!
I agree, then I'd use this.
Jon 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 07:18.


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