AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   HNS Danger Meter (https://forums.alliedmods.net/showthread.php?t=98661)

Alka 07-27-2009 15:34

HNS Danger Meter
 
1 Attachment(s)
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).


ALIENMODSX 07-27-2009 15:52

Re: HNS Danger Meter
 
Pony with bunny ears? :(

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

Nice work. ^^

Jon 07-27-2009 16:16

Re: HNS Danger Meter
 
sexeh, screenies?

Sp3rMiNaToR 07-27-2009 16:18

Re: HNS Danger Meter
 
Man this is awesome work!!!:)

Jack86 07-27-2009 16:32

Re: HNS Danger Meter
 
Quote:

Originally Posted by Jon (Post 883279)
sexeh, screenies?

Yea, we definitely want more screens of the pink pony :D

Alka 07-27-2009 17:16

Re: HNS Danger Meter
 
Screenies for a HUD message? lol.
Removed useless code from plugin and added engine way for ent think.

zacky 07-27-2009 17:33

Re: HNS Danger Meter
 
Nice Alka, i haven't tried it, but i'll probably use this on my server :P

+karma

SchlumPF* 07-27-2009 21:29

Re: HNS Danger Meter
 
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];



kobri 07-28-2009 05:00

Re: HNS Danger Meter
 
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!

Jon 07-28-2009 07:39

Re: HNS Danger Meter
 
Quote:

Originally Posted by kobri (Post 883708)
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.


All times are GMT -4. The time now is 08:14.

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