• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Beta Release [Mutator] Brutus ServerAds ServerActor

FZFalzar

Grizzled Veteran
May 11, 2011
128
3
UCC.exe
This is a little mod that adds message broadcasting for dedicated servers, useful for displaying things like tips, server messages or useful information.

Features:
Configurable broadcasting intervals
Wildcards (Refer to below)

Download:
http://files.brutus.sg/BRTSServerAds_v101.zip

Installation:
Code:
Unzip BRTSServerAds.u to: %server_root%\killingfloor2\KFGame\BrewedPC\
Unzip KFBRTSServerAds.ini to: %server_root%\killingfloor2\KFGame\Config\
 
Edit %server_root%\killingfloor2\KFGame\Config\PCServer-KFGame.ini:
ServerActors=IpDrv.WebServer
ServerActors=BRTSServerAds.BRTSServerAds
Specifying Messages
Code:
You can add a new message to be broadcast inside the ini.
e.g
[BRTSServerAds.BRTSServerAds]
ServerAdsList=Your Message Here
 
More examples can be found with the default ini included.
Wildcard List:
Code:
Wildcards will draw out information for display within your messages.
 
Example:
ServerAdsList=Players: {PLAYERCOUNT}/{SERVERSLOTS}
 
This will show -> Players: 1/6
 
- These wildcards are case sensitive!
- bUse24HrFormat controls whether to use 24 or 12 hour format.
  If 24hr is used, AM/PM will be blank. Use 12hr if you wish to use AM/PM wildcard
 
{SERVERNAME}    - Returns server name as seen on the server browser
{DAY}           - Returns server time (Day)     > 1-31
{MTH}           - Returns server time (Month)   > 1-12
{YR}            - Returns server time (Year)    > XXXX
{HR}            - Returns server time (Hour)    > 00-23
{MIN}           - Returns server time (Min)     > 00-59
{SEC}           - Returns server time (Second)  > 00-59
{AMPM}          - Returns AM/PM (refer to NOTE)
{SDAY}          - Returns day as its respective name e.g Monday, Wednesday
{SMTH}          - Returns month as its respective name e.g January, February
{MAPNAME}       - Returns current map name
{PLAYERCOUNT}   - Returns number of players currently on the server
{SERVERSLOTS}   - Returns number of slots the server has

Queries? Leave a message here, on my Steam Profile or on my group page at www.brutus.sg

Cheers to a start in KF2 Modding :D
-Falzar
 
Last edited:
No problems so far. Rather unfortunate that the game doesn't support unicode characters, I would love to tailor my messages in a specific language.

Regarding that, UE3 actually supports unicode, just that the font KF2 uses is limited, truncated. I suppose it wouldn't be too hard to bring in a new font into the game once the SDK is properly released.
 
Upvote 0
Yes it does. It must be under [Engine.GameEngine] or the serveractor will not be detected and loaded on engine startup/restart. Sorry for not including that bit inside the readme, will amend with the next update.


Thank you, new to the game :)

EDIT:
Wait, do I add
Code:
[Engine.GameEngine]
in the KFGame.ini? because that section is NOT listed.
 
Last edited:
Upvote 0
will this work? cuz i have a max player mutator also

Code:
ServerActors=IpDrv.WebServer
ServerActors=KFMaxPlayers.KFMaxPlayers
ServerActors=BRTSServerAds.BRTSServerAds

A good test: Does the server run? Does it show [current]/[max-slots] as # of players? Do your ads show up?

If it does, then it works. Experimentation gets you farther than asking every nit-picky questions ;D
 
Last edited:
Upvote 0