Mapbase allows certain types of scripts to load on a map-by-map basis when they would normally only be loaded by mod files. This is best suited for maps which can’t have their own deriving mod with their own script changes. It also allows mappers to easily use scripts previously reserved for more complex modding. This system was inspired by existing code which loads level-specific soundscripts and soundscapes.


Map-specific scripts are normally loaded by an automatic manifest which searches for specific file names. The types of scripts which could be used with the map-specific file system are listed below.

Name Summary
maps/%mapname%_actbusy.txt (HL2) Actbusies are basically unscripted scripted sequences, allowing NPCs to play animations without actually entering an uninterruptible scripted state. See [the VDC article](https://developer.valvesoftware.com/wiki/Actbusy) for more information.
maps/%mapname%_talker.txt The Response System is a complex system which some NPCs use to decide what to say in response to an event, like seeing an enemy. See [the VDC article](https://developer.valvesoftware.com/wiki/Response_System) for more information.
maps/%mapname%_%language%.txt Localization files contain language-specific text. They can be used in `env_hudhint` or `game_text`. Existing localization tokens should not be overridden because changes cannot be reverted on map unload.