Team Fortress 2 Base w/ Bots
This is a fork of the TF2-Base, a repo which provided the old Team Fortress 2 source code from late January 2008 ported to Source Engine 2013. This repository ports over the reverse-engineered TFBot and NextBot code from Team Fortress 2 Vintage 1.0 (https://github.com/TF2V/TF2Vintage/tree/1.0). This codebase does NOT contain any code from the leaked 2018 TF2 codebase. No other features were implemented.
Nav files from these sources:
- tf2_misc_dir.vpk
- https://fladnag.net/downloads/jeux/serveur/tf2/maps/
- https://gamebanana.com/gamefiles/3023
If you are looking for the original TF2-Base, here is a link to the original repository: https://github.com/NicknineTheEagle/TF2-Base
Dependencies
Windows
macOS
Linux
- GCC 4.8
- Steam Client Runtime
Building
Compiling process is the same as for Source SDK 2013. Instructions for building Source SDK 2013 can be found here: https://developer.valvesoftware.com/wiki/Source_SDK_2013
Assets that need to be used with compiled binaries: https://mega.nz/file/fMIThQqZ#_qq1b0ZGj_92UMd4FkIJ7QhJ7emJAs5hHwGOHF8rACk
Note that the above archive is not a playable build. It does not contain binaries and assets are stored as loose files instead of VPKs. It is meant for developers who want to make a new Source mod.
Installing:
Client:
-
Go to the Tools section in your Steam Library and install Source SDK Base 2013 Multiplayer.
-
Download the asset package and extract its contents to <Steam>\steamapps\sourcemods.
-
Restart Steam. "Team Fortress 2 1.0.1.8 Port" should appear in your Steam Library.
-
Put your compiled binaries into "bin" directory.
NOTE: If you're on Linux or Mac, Steam client currently has a bug where it doesn't attach -steam parameter when running Source mods like it's supposed to. You'll need to manually add -steam parameter to the mod in your Steam Library.
Server:
-
These instructions assume you know how to host a dedicated server for TF2 and/or other Source games. If you don't, refer to these articles:
-
Use SteamCMD to download app 244310 (Source SDK Base 2013 Dedicated Server).
-
Download the asset package and extract its contents to where you installed Source SDK Base 2013 Dedicated Server.
-
If you're on Linux, go to <server_install_folder>/bin and make copies of the files as follows:
-
soundemittersystem_srv.so -> soundemittersystem.so
-
scenefilecache_srv.so -> scenefilecache.so
-
-
Put your compiled binaries into "bin" directory.
Note: This and the original version of this repository cannot be used as the basis for releasing a mod on Steam due to the use of leaked code. Read this article for more information: https://www.eurogamer.net/articles/2018-10-25-team-fortress-2008-mod-transports-tf2-back-in-time-and-its-coming-to-steam