Skip to content

Tools for map compiling in Source Engine, tailored for Garry's Mod (and metastruct, sorry)

Notifications You must be signed in to change notification settings

PMArkive/map-compiling-toolkit

 
 

Repository files navigation

MS Map Compiling Toolkit

A self-contained map editing and compiling environment in a folder.

Features

  • Map compiling (vbsp, vvis, vrad, vrad HDR). It's a batch file so configure to your liking yourself.
    • Low priority, abort on error, etc
  • Instances support using VMFII
  • Auto map versioning (incremental numbering)
  • Automatic copying to game directory, etc
  • Autopack required custom content (and custom defined custom content)
  • Automatic cubemaps creation (LDR, HDR)
  • Workshop map uploading
  • Map testing game launch before uploading
  • navmesh
  • Experimental: Pack used CS:S/TF2 VMTs into BSP to be able to modify them if they are missing (less black and purple textures with proper lua)

Requirements

  • Steam
    • Source SDK Base 2013 Multiplayer
    • Garry's Mod
    • CS:S
    • TF2
  • Metastruct Map Datas (one repo for map files and one for map assets) (or your own map)
  • NO LONGER NEEDED Python3 (Choose add python.exe to path during installation)
  • Git (Choose commit-as-is and choose add git.exe to system PATH during installation)
  • A lot of time

Setting up for metastruct map

  1. Download metamap_devenv.cmd
  2. Place it on a empty folder that has no spaces in the folder path, with 5GB free disk space. It will download more folders to that folder.
  3. Run it. Hope it finds everything automatically.
  4. Configure the opened user_config.cmd! (look inside common.cmd for configurable params)
  5. DONE! You're on your own now, maybe attempt launch hammer
  6. If everything goes wrong delete the folder where metamap_devenv is and redo everything with fixes

Troubleshooting

  • If hammer.cmd asks for a game to use, something is wrong.
    • If hammer does start, look at hammer's "console" to see if it failed to find for example the VPROJECT or TF2.

Automatic uploading

There is a system to upload to workshop. After it is configured you can ideally just hit upload after compile test cycle and it should update the workshop addon. Help is still TODO.

You need addon.json and jpg and maybe other things.

CS:S / TF2 Bundling (TODO)

CS:S and TF2 VMTs can be bundled into the map to allow players see devtexture instead of checkerboard. This needs lua too, though. This feature is enabled by default so you may want to disable it to save some space.

About

Tools for map compiling in Source Engine, tailored for Garry's Mod (and metastruct, sorry)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 87.2%
  • Batchfile 7.5%
  • Python 5.3%