Creating Multiple Engineer Buildings in TF2


First off, this requires server-side modification, but if you don’t have access to your own dedicated server, this can be done with a listen server. Your friends can then connect using our listen server guide.

On a dedicated server:

  1. Navigate to the “/tf/scripts” directory on your dedicated server.
  2. Open objects.txt in a text editor. This file is split into sections for sentries (OBJ_SENTRYGUN), dispensers (OBJ_DISPENSER), teleporters (OBJ_TELEPORTER) and sappers (OBJ_ATTACHMENT_ SAPPER).
  3. Find the line labeled “MaxObjects” and change the “1” to a “-1”. Repeat in each section that you want multiple entities of, except for sappers.
  4. Restart the game server.
  5. Once on the server, in the console type “build x“, x being the building number below. If you are planning on putting down a lot of sentries, it may be easier to bind this to a key, e.g. bind mouse5 “build 2”.
    0 = dispenser
    1 = teleporter entrance
    2 = sentry
    3 = teleporter exit ( “1 1” will also work)

On a listen server:

It’s a little more difficult enabling multiple buildings on listen servers. To keep this article future proof, the most recent objects.txt file should be used as Valve occasionally makes changes to it.

  1. Download and install GCFScape from Nem’s Tools.
  2. In Windows Explorer, navigate to the path “C:\Program Files (x86)\Steam\steamapps”.
  3. Open “team fortress 2 content.gcf” in GCFScape.
  4. Expand the tree down to “root\tf\scripts” and locate the objects.txt file.
  5. Either right-click and “Extract” or just drag the file onto to your desktop.
  6. Open objects.txt in a text editor. This file is split into sections for sentries (OBJ_SENTRYGUN), dispensers (OBJ_DISPENSER), teleporters (OBJ_TELEPORTER) and sappers (OBJ_ATTACHMENT_ SAPPER).
  7. Find the line labeled “MaxObjects” and change the “1” to a “-1”. Repeat in each section that you want multiple entities of, except for sappers.
  8. Copy the modified file into “C:\Program Files (x86)\Steam\steamapps\[user name]\team fortress 2\tf\scripts”. If the scripts folder does not exist, you will need to create it.
  9. Start your listen server.
  10. Once on the server, in the console type “build x“, x being the building number below. If you are planning on putting down a lot of sentries, it may be easier to bind this to a key, e.g. bind mouse5 “build 2”.
    0 = dispenser
    1 = teleporter entrance
    2 = sentry
    3 = teleporter exit ( “1 1” will also work)

That’s the whole process. It’s much easier than I made it look.

1 Comment

  • Ethan
    21 Dec 2014

    I cannot find my objects.txt file plz help

Leave a Comment