Raised This Month: $344 Target: $400
 86%   Almost there!

[REQ] sv_server_graphic


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 07-23-2014 , 22:57   [REQ] sv_server_graphic
Reply With Quote #1

They just added a new convar to CSGO.

- Added convar sv_server_graphic which allows the server to specify a 360x60 px image file (must be 16k or smaller) in /csgo/ that will display in the spectator view. Supports PNG transparency.

Would be nice with a plugin that could rotate pictures every round/map. So server owners could rotate sponsors or advertisement there.

Last edited by Ejziponken; 07-23-2014 at 22:57.
Ejziponken is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 07-24-2014 , 01:53   Re: [REQ] sv_server_graphic
Reply With Quote #2

Would every round even work? To me (and this is only having heard about it, not even having seen it at all) it sort of seems like this would work like sprays and sv_skyname do, and would require a rejoin or mapchange to see it change.

Can you confirm how often you're able to change it?
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 07-24-2014 , 04:06   Re: [REQ] sv_server_graphic
Reply With Quote #3

To my knowledge, you have to change map before it works. So a plugin would have to change the convar with the new picture name every time before it changes map. And then have a cvar or config file for the different picture names.
Ejziponken is offline
mukunda
Member
Join Date: Sep 2012
Old 07-25-2014 , 19:31   Re: [REQ] sv_server_graphic
Reply With Quote #4

here

config goes in sourcemod/config

EDIT: updated for 8/4/14 patch
Attached Files
File Type: cfg server_graphics.cfg (160 Bytes, 512 views)
File Type: sp Get Plugin or Get Source (graphic_rotation.sp - 616 views - 3.1 KB)
__________________

Last edited by mukunda; 08-05-2014 at 17:09.
mukunda is offline
Ejziponken
AlliedModders Donor
Join Date: Apr 2008
Old 07-25-2014 , 20:21   Re: [REQ] sv_server_graphic
Reply With Quote #5

Quote:
Originally Posted by mukunda View Post
here

config goes in sourcemod/config
thx!
Ejziponken is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 07-30-2014 , 05:07   Re: [REQ] sv_server_graphic
Reply With Quote #6

where to put the .png files ?
__________________
nguyenbaodanh is offline
ecca
Sexy Santa
Join Date: Jan 2011
Old 07-30-2014 , 06:25   Re: [REQ] sv_server_graphic
Reply With Quote #7

- Added convar sv_server_graphic which allows the server to specify a 360x60 px image file (must be 16k or smaller) in /csgo/ that will display in the spectator view. Supports PNG transparency.
__________________
ecca is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 08-05-2014 , 06:10   Re: [REQ] sv_server_graphic
Reply With Quote #8

please update to the new update thanks
__________________
nguyenbaodanh is offline
mukunda
Member
Join Date: Sep 2012
Old 08-05-2014 , 17:10   Re: [REQ] sv_server_graphic
Reply With Quote #9

updated / edited post
__________________
mukunda is offline
rodiono
New Member
Join Date: Oct 2010
Old 07-03-2015 , 04:36   Re: [REQ] sv_server_graphic
Reply With Quote #10

I want to show sv_server_graphic1 to all of the players and all time visible
rodiono 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 11:40.


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