TeamSpen's Hammer Addons
Jump to navigation
Jump to search

Note:TeamSpen's Hammer Addons is included with
Portal 2: Community Edition
Note:All
Team Fortress 2 branch-based games (
,
,
, and
) - Does not include FGD changes from February 18, 2025 engine update, which added vscript-related Keyvalues and radial fog KeyValue to env_fog_controller.
Note:
Portal 2: Community Edition includes its own fork of HammerAddons.


TeamSpen's Hammer Addons are a set of tweaks and enhancements for
Hammer, developed by TeamSpen210. They include a modified FGD for every game, based on a unified system that allows changes to easily be applied to multiple games. A postcompiler is also included, adding support for several custom internal entities along with other useful features.
While development is mainly focused on Portal 2, the addons include FGDs for most
Valve titles, as well as some non-Valve games. The postcompiler will also work with any
Source game, provided the game does not make extensive changes to the map format.


Features
- Improved FGDs, with rearranged base classes better matching the engine's layout, entities and keyvalues that are normally missing, additional helpers, and various other tweaks
- Nearly every point entity is now represented as an icon sprite, instead of the default colored cube.
- Portal 2 entities such as prop_portal and prop_indicator_panel have new custom models, accurately representing their in-game appearance
- The
Targetname
base class is nowBaseEntityPoint
/BaseEntityBrush
- Automatic packing of custom content detected in the map, or specified in
comp_pack
entities. - Several other
comp_
entities that allow doing normally impossible things, like positioning entities outside the map or renaming an entity in a specific copy of an instance. - Static Prop Combine support for all games, generally more reliable than Valve's implementation
- In games supporting VScript, an
Init Code
field is added to all entities, which can be used to directly write code that's executed inside the entity's script scope on spawn. - Additionally, backtick ( ` ) characters used in
Init Code
and theRunScriptCode
input will be converted to quotes in-game, allowing strings to be passed. - For
Portal 2, a set of
comp_vactube_
entities are added to automate the creation of vactube systems.
Documentation
Supported games
FGD included
Alien Swarm
Counter-Strike: Global Offensive
Half-Life 2
Half-Life 2: Episode One
Half-Life 2: Episode Two
Left 4 Dead
Left 4 Dead 2
Portal
Portal 2
Team Fortress 2






- Third party games/mods
Compatible, but no FGD included
- Valve games
Counter-Strike: Source - CSS in Unified FGD Database
Day of Defeat: Source - DODS in Unified FGD Database. See draft pull request
Dota 2 - DOTA2 in Unified FGD Database. Pre-Reborn version.
Half-Life: Source - HLS in Unified FGD Database
Half-Life Deathmatch: Source - not in Unified FGD Database
Half-Life 2: Deathmatch - not in Unified FGD Database
Portal 2 Sixense Perceptual Pack - P2SIXENSE in Unified FGD Database
- Portal 2: Education Edition - P2EDU in Unified FGD Database
Source Filmmaker - SFM in Unified FGD Database
- Third party games/mods
Alien Swarm: Reactive Drop - ASRD in Unified FGD Database
Entropy : Zero - EZ1 in Unified FGD Database
Entropy : Zero 2 - EZ2 in Unified FGD Database
- Kreedz Climbing - KZ in Unified FGD Database
Mapbase - MBASE in Unified FGD Database
Portal 2: Desolation - P2DES in Unified FGD Database
The Stanley Parable - STANLEY in Unified FGD Database


External links
|