Difference between revisions of "Banners"

From WolfWiki
Jump to: navigation, search
Line 7: Line 7:
  
 
''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:  
+
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"
+
set b_banner1 "This is the first banner"<br/>
set b_banner2 "This is the second banner"
+
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:  
+
Defines the locations where banners are printed add together the following values: <br/>
8 - player chat area
+
8 - player chat area<br/>
16 - left popup area (not recommended)
+
16 - left popup area (not recommended)<br/>
32 - centered above the chat area
+
32 - centered above the chat area<br/>
64 - console only  
+
64 - console only <br/>
128 - banner area (recommended).
+
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.
 
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.
  

Revision as of 05:58, 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