Difference between revisions of "Banners"

From WolfWiki
Jump to: navigation, search
m
Line 3: Line 3:
 
== Banner Cvars: ==
 
== Banner Cvars: ==
  
''b_banners'' (default:0)<br/>
+
'''b_banners''' (default:0)<br/>
 
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. (valid values: 0-999)
  
''b_banner<n>'' (default: not set)<br/>
+
'''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/>
 
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_banner1 "This is the first banner"<br/>
 
set b_banner2 "This is the second banner"<br/>
 
set b_banner2 "This is the second banner"<br/>
  
''b_bannerlocation'' (default: 128)<br/>
+
'''b_bannerlocation''' (default: 128)<br/>
 
Defines the locations where banners are printed add together the following values: <br/>
 
Defines the locations where banners are printed add together the following values: <br/>
 
8 - player chat area<br/>
 
8 - player chat area<br/>
Line 20: Line 20:
 
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.
 
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/>
+
'''b_bannertime''' (default: 0)<br/>
 
The time in seconds between the display of banners
 
The time in seconds between the display of banners
  
 
[[Category:ETPro:Server_Cvars]]
 
[[Category:ETPro:Server_Cvars]]

Revision as of 07:29, 4 July 2006

Admins may display banners to the clients on their server.

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

b_banner<n> (default: not set)
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"

b_bannerlocation (default: 128)
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 (default: 0)
The time in seconds between the display of banners