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

L4D2 Admin Realism Name Viewer


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
IronWarrior
Veteran Member
Join Date: Jan 2010
Old 05-04-2010 , 20:21   L4D2 Admin Realism Name Viewer
Reply With Quote #1

Could someone make a plugin that would allow admins only to view player tags on Realism VS/COOP servers please?

I admin a 10v10 Realism VS and if we get a TeamKiller or someone we need to kick, tracking them down is a hard job.

Options would be nice like the following.

Admins view team Survivor names on round start for x amount of seconds.
Admins view team Infected names on round start for x amount of seconds.
Admins view team Survivor names on round end for x amount of seconds.
Admins view team Infected names on round end for x amount of seconds.
Admins enable player names on or on both teams.

This would be nice.

Thank you.

Last edited by IronWarrior; 05-06-2010 at 13:09.
IronWarrior is offline
IronWarrior
Veteran Member
Join Date: Jan 2010
Old 05-06-2010 , 03:55   Re: L4D2 Admin Realism Name Viewer
Reply With Quote #2

Ah no one interested?
IronWarrior is offline
Elektramode
Senior Member
Join Date: Mar 2010
Old 05-06-2010 , 12:56   Re: L4D2 Admin Realism Name Viewer
Reply With Quote #3

this seems like a good idea. I'd like to see somthing like this and it doznt sound to hard to make.... id luv to do it if i had any IQ on making plugins lol.
Elektramode is offline
Mr. Zero
Veteran Member
Join Date: Jun 2009
Location: Denmark
Old 05-06-2010 , 19:34   Re: L4D2 Admin Realism Name Viewer
Reply With Quote #4

I don't think you can names appear for only one player?

sv_disable_glow_survivors is a server cvar, not client.
Just flick the disable glow cvar on round start and end, hm?
Mr. Zero is offline
FaTony
Veteran Member
Join Date: Aug 2008
Old 05-06-2010 , 22:17   Re: L4D2 Admin Realism Name Viewer
Reply With Quote #5

Well we can make a chat text when someone friendly fires.
FaTony is offline
IronWarrior
Veteran Member
Join Date: Jan 2010
Old 05-07-2010 , 02:03   Re: L4D2 Admin Realism Name Viewer
Reply With Quote #6

Quote:
Originally Posted by Mr. Zero View Post
I don't think you can names appear for only one player?

sv_disable_glow_survivors is a server cvar, not client.
Just flick the disable glow cvar on round start and end, hm?
Wouldn't that cause all players to be able to see each other?

I guess that would work, but later in the game if something happens, turning it on and off would lose the Realism edge for a little while.

I try this later today, if it works, do you think you could possible make a plugin that does this please?

Quote:
Originally Posted by FaTony View Post
Well we can make a chat text when someone friendly fires.
That would work for teamkillers, but it wouldn't for someone who is using the mic and needs to be kicked, but thats a good start.

The latter part ties in my idea here: http://forums.alliedmods.net/showthread.php?t=122724
IronWarrior is offline
HL-SDK
Member
Join Date: Jan 2009
Old 05-07-2010 , 10:52   Re: L4D2 Admin Realism Name Viewer
Reply With Quote #7

What about a plugin that lets admins have a command that, when triggered, shows them the name of the player they are looking at.

Like spray tracer, just with people. When I say "shouldn't be hard" I really mean this shouldn't be hard at all.
HL-SDK is offline
IronWarrior
Veteran Member
Join Date: Jan 2010
Old 05-07-2010 , 10:58   Re: L4D2 Admin Realism Name Viewer
Reply With Quote #8

That's a good idea.
IronWarrior is offline
Visual77
Veteran Member
Join Date: Jan 2009
Old 05-08-2010 , 05:25   Re: L4D2 Admin Realism Name Viewer
Reply With Quote #9

Only allowing one person to see player names is impossible (atleast if you want to see the names over their heads), but I kinda liked your idea about allowing admins to turn on survivor names for x seconds so I wrote something quickly. Use !checkname, !namecheck, !names in chat.
Use l4d2_namedisabletime for when you want the names to dissapear again.

PHP Code:
#include <sourcemod>

#define PLUGIN_VERSION "1.0.0"

new Handle:DisableDelay;

public 
Plugin:myinfo =
{
     
name        "[L4D2] Realism Name Checker",
     
author      "V!sual",
     
description "Allows admins to turn on names in realism versus",
     
version     PLUGIN_VERSION,
     
url         ""
};

public 
OnPluginStart()
{
     
RegAdminCmd("sm_checkname"RealismCheckADMFLAG_CHAT);  
     
RegAdminCmd("sm_namecheck"RealismCheckADMFLAG_CHAT); 
     
RegAdminCmd("sm_names"RealismCheckADMFLAG_CHAT);   
     
DisableDelay CreateConVar("l4d2_namedisabletime""10.0""Delay before realism versus name check is disabled (float in sec).");
}    

public 
Action:RealismCheck(clientargs)
{
     
SetConVarInt(FindConVar("sv_disable_glow_survivors"), 0);

     
PrintToChatAll("\x04(ADMIN)\x03 turned on player names for a short time.");
     
CreateTimer(GetConVarFloat(DisableDelay), TimerDisableDelay);


public 
Action:TimerDisableDelay(Handle:timer)
{
     
SetConVarInt(FindConVar("sv_disable_glow_survivors"), 1);
     
PrintToChatAll("\x04(ADMIN)\x03 turned off player names again.");


Last edited by Visual77; 05-08-2010 at 05:28.
Visual77 is offline
IronWarrior
Veteran Member
Join Date: Jan 2010
Old 05-08-2010 , 05:29   Re: L4D2 Admin Realism Name Viewer
Reply With Quote #10

Awesome, thank you.
IronWarrior 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 17:47.


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