Difference between revisions of "Banners"

From WolfWiki
Jump to: navigation, search
(made it more fancy and hopefully semantic correct)
Line 1: Line 1:
 
Admins may display banners to the clients on their server.
 
Admins may display banners to the clients on their server.
  
== Banner Cvars: ==
+
==cvars==
  
'''b_banners''' (default:0)<br/>
+
;b_banners
Defines the number of banners you would like displayed in rotation. The default value of 0 disables banners altogether. (valid values: 0-999)
+
:Defines the number of banners you would like displayed in rotation. The default value of 0 disables banners altogether.<br />
 +
:(valid values: 0-999, default: 0)
  
'''b_banner<n>''' (default: not set)<br/>
 
Define the banner text, where n is 1 to whatever number you set b_banners to.  For example, you could set b_banners to 2 and use the following commands to define the banner text: <br/>
 
set b_banner1 "This is the first banner"<br/>
 
set b_banner2 "This is the second banner"<br/>
 
  
'''b_bannerlocation''' (default: 128)<br/>
+
; b_banner<n>
Defines the locations where banners are printed add together the following values: <br/>
+
: Define the banner text, where n is 1 to whatever number you set b_banners to. For example, you could set b_banners to 2 and use the following commands to define the banner text:
*8 - player chat area<br/>
+
: <code>set b_banner1 "This is the first banner"<br />set b_banner2 "This is the second banner"</code>
*16 - left popup area (not recommended)<br/>
+
:(default: not set)
*32 - centered above the chat area<br/>
+
*64 - console only <br/>
+
*128 - banner area (recommended).<br/>
+
For compatibility, the old-style locations (from 0-4) are also supported. The client defaults to b_logbanners 1, which effectively adds 64 to the locations list if it's not already present, so adding 64 isn't necessary unless you want to force the messages to be logged to the console.
+
  
'''b_bannertime''' (default: 0)<br/>
+
 
The time in seconds between the display of banners
+
;b_bannerlocation
 +
:Defines the locations where banners are printed. Add together the following values:
 +
:*'''8''' - player chat area
 +
:*'''16''' - left popup area (not recommended)
 +
:*'''32''' - centered above the chat area
 +
:*'''64''' - console only
 +
:*'''128''' - banner area (recommended)
 +
:For compatibility, the old-style locations (from 0-4) are also supported. The client defaults to <code>b_logbanners 1</code>, which effectively adds 64 to the locations list if it's not already present, so adding 64 isn't necessary unless you want to force the messages to be logged to the console.
 +
 
 +
 
 +
;b_bannertime
 +
:The time in seconds between the display of banners.
 +
:(default: 0)
  
 
[[Category:ETPro:Server_Cvars]]
 
[[Category:ETPro:Server_Cvars]]

Revision as of 15:51, 17 September 2006

Admins may display banners to the clients on their server.

cvars

b_banners
Defines the number of banners you would like displayed in rotation. The default value of 0 disables banners altogether.
(valid values: 0-999, default: 0)


b_banner<n>
Define the banner text, where n is 1 to whatever number you set b_banners to. For example, you could set b_banners to 2 and use the following commands to define the banner text:
set b_banner1 "This is the first banner"
set b_banner2 "This is the second banner"
(default: not set)


b_bannerlocation
Defines the locations where banners are printed. Add together the following values:
  • 8 - player chat area
  • 16 - left popup area (not recommended)
  • 32 - centered above the chat area
  • 64 - console only
  • 128 - banner area (recommended)
For compatibility, the old-style locations (from 0-4) are also supported. The client defaults to b_logbanners 1, which effectively adds 64 to the locations list if it's not already present, so adding 64 isn't necessary unless you want to force the messages to be logged to the console.


b_bannertime
The time in seconds between the display of banners.
(default: 0)