-
-
Notifications
You must be signed in to change notification settings - Fork 23
Setting up a SF2 Modified server
As of 1.5.0, the tutorial became outdated to follow through, so this is a revised tutorial on how to install SF2 Modified using Sourcemod 1.12. This tutorial assumes you have Sourcemod 1.12 installed (Don't go below 1.12) and you have a understanding on how to install plugins.
These plugins either will break SF2M in it's state or will crash the server. DO NOT INSTALL THEM IF YOU'RE GOING TO INSTALL SF2M.
-
Roll the Dice
-
Emotes
-
Stamm
-
Gravestone Markers
-
Store (Zephyrus Store works fine)
Operating system
So do you need Linux? Nope. The Windows build from our experiences is cross compatible with Linux, at the end of the day, the choice is up to you.
Plugins and extensions
Slender Fortress Modified requires plugins and extensions for it to run, most of which you can easily grab but some of these have multiple downloads due to outdated gamedata or inc files. Without any one of these, you are unable to compile SF2 Modified.
- TF2 Attributes
- TF2 Items (Pick up the working gamedata file here)
- SteamWorks
- More Colors
- Native Votes
- CollisionHooks
- CBaseNPC
As of version 1.7.5, all old config files are incompatible and require to be rewritten, this is where the config rewriter comes into play. Pick this up and as you get bosses, feed their config files in this config rewriter.
Plugin files
The files for SF2 Modified can be found here. Extract all the files in the server files here, server name or location/tf2/tf/. If the system prompts you if you want to replace the files, go right ahead.
Models, materials, and sounds
Once you learn how to do this, you basically don't even have to come back here to learn how to install new content in the future. Again, a download of all of SF2 Modified files can be here. On the screenshot you should take the highlighted items and drag and drop them to the server files, which can look similar to the second screenshot (Just make sure not to drag and drop each file into the highlighted items).
Maps
The same process can be applied to maps, but each bsp and nav file must be moved into the maps folder, all maps must require a nav file otherwise no bosses nor proxies can spawn
Its no secret that after you get the content put down, you have to do some minor configurations before you push your server out to the public. A documentation of all commands and variables can be found here. Each command or variable can be put into the server.cfg located in cfg/server.cfg.
When it comes to nominating or going to next maps, a specific txt file must be created called mapcycle_sf2.txt. Create a txt file in tf2/tf and name it mapcycle_sf2. Inside of the txt file, you should place down all map names that you want to be selected by their exact name on each line. If for some reason a single error is present, that map will not load.
To get this file to load, go back to the server.cfg and see if there is a command called mapcyclefile, if there is, then simply input mapcycle_sf2.txt as the value, otherwise you should input this line of code into the config file.
mapcyclefile mapcycle_sf2.txt
If all goes well, you should be done with the map cycle, just be sure to open the txt file whenever you want to add new maps.
As stated before, make sure each map has a designated .nav file, which Sourcepawn Navmesh can read off of, allowing bosses to move, proxies to spawn, and do other commands using the NAV file. Both the BSP and NAV files must all be found inside of tf2/tf/maps.
One last thing you can do is go into the server.cfg and punch in 2 commands.
tv_enable 1
tv_name "SlenderTV" //Name this whatever you want
This will allow the boss name to show in the kill feed, its optional, but just about every SF2 Modified server uses this function, so consider giving it a shot.
If all goes well and bosses do not crash your server when they first spawn, you're basically done with setting up SF2 Modified. Now if you want to, you can add more plugins to your server, one plugin you for sure cannot have is RTD if the bat spell roll is enabled, if it is and players use it on the boss, the server will instantly crash. Also, the Stamm Health Regeneration plugin extension is never required for proxies and Boxing maps, as its simply too overpowered. Anti-Fall damage should not be used as not only can you hear ghosts take fall damage, but bosses with a fall damage type won't kill you.
You don't have to rely on public content yourself, you can actually make your own content yourself, a tutorial on how to make SF2 maps (Not maps in general) can be found here. Alternatively a tutorial for making bosses can be found here.
Have fun with the new version.
-Mentrillum