How To Add Server Messages To Your Killing Floor Server
What You Need:
FTP Client
Step 1:
Unzip the ServerAdsSE.zip folder and upload the folders System and Web to your Killing Floor root folder using a FTP Client. (It should not copy over any exsiting files, only add files to the System and Web folders on your server)
(As you can see in the image below, I am draging the folders System and Web from the ServerAdsSE folder into my Killing Floor Server root folder using FileZilla as my FTP Client.)
Step 2:
We are now going to edit the Killing Floor config file. It may be best to stop your server for this step.
To stop your server login to your NuclearFallout Control Panel, go to your Killing Floor server. Now click the link called Server Control. You should see a drop down box with an option called Stop the server in it, select that option and press the button next to the drop down box called Do it.
Step 3:
To edit your killing floor config file, click the link called File Manager and then in the 1st drop down box pick your Killing Floor Config file (Default config file is KillingFloor.ini). In the 2nd drop down box pick Edit and then click the Submit button. This should open up an inline editor for changing the file.
Now in the editor, look for [Engine.GameEngine] and add this line under it ServerActors=ServerAdsSE.ServerAdsSE
Now look for [UWeb.WebServer] and add Applications[X]=ServerAdsSE.WebAdmin and then right under that add ApplicationPaths[X]=/ServerAdsSE.
Note: Change the X to the next number to be used and put both new lines under the other Applications[X]= and ApplicationPaths[X]= lines.
EG:
Applications[0]=xWebAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=xWebAdmin.UTImageServer
ApplicationPaths[1]=/images
Applications[2]=ServerAdsSE.WebAdmin
ApplicationPaths[2]=/ServerAdsSE
Now the final bit of code to add. Go to the bottom of your Killing Floor config file and add these lines.
[ServerAdsSE.ServerAdsSE]
bEnabled=True
fDelay=20.000000
sLines[0]=This is the first message!
sLines[1]=And this is the second message!
sLines[2]=#This is an Admin Message in the center of the Screen!
iAdType=0
iGroupSize=1
bWrapAround=True
iAdminMsgDuration=5
cAdminMsgColor=(B=0,G=255,R=0)
and then click the Save button.
Step 4:
Time to start your server and add some messages. Click on your Server Control link. In the drop down box select Start the server and then press the Do it button.
Now you will use your web admin to config your messages.
Type in your web admin url and then after the port number add /ServerAdsSE/
EG: myserverip:8075/ServerAdsSE/
Once logged in you can add and change your messages in the Lines box. Remember to click the Update List button when done.
Note: You may need to restart your server for new messages to take effect.
How to Center Messages On Screen
To center a message on the screen add # to the front of the line. However remember that this may be a good way to make sure your players see your messages, it also interupts the players gaming as it tends to get in there way for sighting the enemy.
Have Fun
Scott,
[TUTORIAL] Adding Server Messages to Killing Floor
-
- This is my homepage
- Posts: 93
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Sep 15, 2011 1:23 pm
- Location: Newfoundland
[TUTORIAL] Adding Server Messages to Killing Floor
Scott AKA Elochai
Let the Clips Fall Down!
Let the Clips Fall Down!
Re: [TUTORIAL] Adding Server Messages to Killing Floor
Thanks, Scott!