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

[TF2] Scoreboard manipulation


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 08-05-2008 , 16:09   [TF2] Scoreboard manipulation
Reply With Quote #1

Is anyone aware of a way to manipulate the scoreboard's visuals, such as adding an icon to or around a player (the same way it does for Friends)? I think it would be useful to be able to put some sort of marker around the names for admins so players can know who to bother if there are issues while they are playing. Thanks!
__________________
msleeper is offline
#Barracuda
Junior Member
Join Date: May 2008
Location: Germany
Old 08-05-2008 , 22:50   Re: [TF2] Scoreboard manipulation
Reply With Quote #2

As far as I know, the HUD is managed on client side only and can't be manipulated with server mods.
#Barracuda is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 08-06-2008 , 01:14   Re: [TF2] Scoreboard manipulation
Reply With Quote #3

I second that.

The closest you can get it catching +scoreboard and maybe showing an overlay, but you won't be able to position the overlay on the fly.
__________________
Greyscale is offline
shubhishubhi
Senior Member
Join Date: Mar 2008
Old 08-06-2008 , 01:27   Re: [TF2] Scoreboard manipulation
Reply With Quote #4

Even I have tried manipulating the scores for teams but could not do so. Being client side it is not possible I guess.
shubhishubhi is offline
Greyscale
SourceMod Plugin Approver
Join Date: Dec 2007
Location: strYoMommasHouse[you];
Old 08-06-2008 , 02:55   Re: [TF2] Scoreboard manipulation
Reply With Quote #5

Code:
/**
 * Sets the score of a team based on a team index.
 * Note: This native should not be called before OnMapStart.
 *
 * @param index                Team index.
 * @param value                New score value.
 * @return                Score.
 * @error                Invalid team index.
 */
native SetTeamScore(index, value);
?
__________________
Greyscale is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 08-06-2008 , 05:41   Re: [TF2] Scoreboard manipulation
Reply With Quote #6

Quote:
Originally Posted by msleeper View Post
such as adding an icon to or around a player (the same way it does for Friends)? [. . .]put some sort of marker around the names for admins
Anyway, thanks for the info guys.
__________________
msleeper is offline
shubhishubhi
Senior Member
Join Date: Mar 2008
Old 08-07-2008 , 02:14   Re: [TF2] Scoreboard manipulation
Reply With Quote #7

The score value given using SetTeamScore does not get reflected on the Scoreboard. I have posted queries in this regard earlier!
shubhishubhi is offline
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 08-07-2008 , 10:22   Re: [TF2] Scoreboard manipulation
Reply With Quote #8

TF2 appears to use the the gamestats system for the scoreboard info. Setting the player's frags/deaths (which is the usual way of changing the score for other mods) doesn't work in TF2 because of the way the scoring is setup.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 08-07-2008 , 18:41   Re: [TF2] Scoreboard manipulation
Reply With Quote #9

Yeah I have already ran into that issue previously with The Hunted. With this I was wanting to add a border around the names of Admins, not change score or anything at all like that.
__________________
msleeper is offline
Tordecybombo
Junior Member
Join Date: Sep 2009
Old 02-11-2010 , 00:53   Re: [TF2] Scoreboard manipulation
Reply With Quote #10

Any other ideas for some way to "highlight" certain player names on the scoreboard?
Tordecybombo 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 02:14.


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