TeamSpen's Hammer Addons: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 
 Note:TeamSpen's Hammer Addons is included with
Note:TeamSpen's Hammer Addons is included with  Portal 2: Community Edition
 Portal 2: Community Edition
 Note:All
Note:All  Team Fortress 2 branch-based games (
 Team Fortress 2 branch-based games ( ,
,  ,
,  , and
, 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.
) - 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:
Note: Portal 2: Community Edition includes its own fork of HammerAddons.
 Portal 2: Community Edition includes its own fork of HammerAddons.
		
	
| No edit summary | SirYodaJedi (talk | contribs)  | ||
| (8 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
| {{TeamSpen|4}} are a set of tweaks and enhancements for {{hammer|4}}, developed by [[User:TeamSpen210|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. | {{TeamSpen|4}} are a set of tweaks and enhancements for {{hammer|4}}, developed by [[User:TeamSpen210|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 {{portal2|4}}, the addons include [[FGD|FGDs]] for  | While development is mainly focused on {{portal2|4}}, the addons include [[FGD|FGDs]] for most {{valve|4}} titles, as well as some non-Valve games. The postcompiler will also work with any {{src|4}} game, provided the game does not make extensive changes to the map format. | ||
| {{note|TeamSpen's Hammer Addons is included with {{p2ce|4}}}} | {{note|TeamSpen's Hammer Addons is included with {{p2ce|4}}}} | ||
| Line 23: | Line 23: | ||
| == Supported games == | == Supported games == | ||
| === FGD included === | |||
| ===  | * {{as|4.1}} | ||
| * {{ | * {{csgo|4.1}} | ||
| * {{ | * {{hl2|4.1}} | ||
| * {{ | * {{hl2ep1|4.1}} | ||
| * {{ | * {{hl2ep2|4.1}} | ||
| * {{ | **{{note|{{hl2}}{{hl2ep1}}{{hl2ep2}} - Does not include FGD changes from 20th anniversary that added features such as radial fog, HDR color override, etc...}} | ||
| * {{ | * {{l4d|4.1}} | ||
| * {{l4d2|4.1}} | |||
| * {{l4d|4}} | |||
| * {{l4d2|4}} | |||
| **{{note|{{l4d2}}'s FGD is missing features added in the The Last Stand update, and so the default FGD file should be kept for references.}} | **{{note|{{l4d2}}'s FGD is missing features added in the The Last Stand update, and so the default FGD file should be kept for references.}} | ||
| * {{ | * {{portal|4.1}} | ||
| * {{portal2|4}} | * {{portal2|4.1}} | ||
| * {{ | * {{tf2|4.1}} | ||
| * {{ | {{Note|All {{tf2branch|2}}-based games ({{css}}, {{dods}}, {{hl2dm}}, and {{tf2}}) - Does not include FGD changes from February 18, 2025 engine update, which added [[vscript]]-related Keyvalues and radial fog KeyValue to {{ent|env_fog_controller}}.}} | ||
| * {{ | ; Third party games/mods | ||
| * {{bms|4.1}} | |||
| === Third party games/mods  | * {{gmod|4.1}} | ||
| * {{ | * {{infra|4.1}} | ||
| * {{ | === Compatible, but no FGD included === | ||
| * {{ | ; Valve games | ||
| * {{ | * {{css|4.1}} - {{code|CSS}} in Unified FGD Database | ||
| * {{ | * {{dods|4.1}} - {{code|DODS}} in Unified FGD Database. See [https://github.com/TeamSpen210/HammerAddons/pull/300 draft pull request] | ||
| * {{ | * {{dota2|4.1}} - {{code|DOTA2}} in Unified FGD Database. Pre-Reborn version. | ||
| * {{hls|4.1}} - {{code|HLS}} in Unified FGD Database | |||
| * {{hldms|4.1}} - not in Unified FGD Database | |||
| * {{hl2dm|4.1}} - not in Unified FGD Database | |||
| * {{portal2sixense|4.1}} - {{code|P2SIXENSE}} in Unified FGD Database | |||
| * [[Portal 2: Education Edition]] - {{code|P2EDU}} in Unified FGD Database | |||
| * {{sfm|4.1}} - {{code|SFM}} in Unified FGD Database | |||
| ; Third party games/mods | |||
| <!-- only list notable games and mods, as well as those which have some tags in the unified FGD database --> | |||
| * {{asrd|4.1}} - {{code|ASRD}} in Unified FGD Database | |||
| * {{ez|4.1}} - {{code|EZ1}} in Unified FGD Database | |||
| * {{ez2|4.1}} - {{code|EZ2}} in Unified FGD Database | |||
| * [[Kreedz Climbing]] - {{code|KZ}} in Unified FGD Database | |||
| * {{mapbase|4.1}} - {{code|MBASE}} in Unified FGD Database | |||
| * {{p2d|4.1}} - {{code|P2DES}} in Unified FGD Database | |||
| * {{tsp|4.1}} - {{code|STANLEY}} in Unified FGD Database | |||
| {{note|{{p2ce|4.1}} includes its own fork of HammerAddons.}} | |||
| == External links == | == External links == | ||
Latest revision as of 11:26, 14 May 2025

 
 TeamSpen's Hammer Addons are a set of tweaks and enhancements for
 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.
 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
 Portal 2, the addons include FGDs for most  Valve titles, as well as some non-Valve games. The postcompiler will also work with any
 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.
 Source game, provided the game does not make extensive changes to the map format.
 Note:TeamSpen's Hammer Addons is included with
Note:TeamSpen's Hammer Addons is included with  Portal 2: Community Edition
 Portal 2: Community EditionFeatures
- 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 Targetnamebase class is nowBaseEntityPoint/BaseEntityBrush
 
- Automatic packing of custom content detected in the map, or specified in comp_packentities.
- 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 Codefield 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 Codeand theRunScriptCodeinput will be converted to quotes in-game, allowing strings to be passed.
- For  Portal 2, a set of Portal 2, a set ofcomp_vactube_entities are added to automate the creation of vactube systems.
Documentation
Supported games
FGD included
 Alien Swarm Alien Swarm
 Counter-Strike: Global Offensive Counter-Strike: Global Offensive
 Half-Life 2 Half-Life 2
 Half-Life 2: Episode One Half-Life 2: Episode One
 Half-Life 2: Episode Two Half-Life 2: Episode Two
 Left 4 Dead Left 4 Dead
 Left 4 Dead 2 Left 4 Dead 2
 Portal Portal
 Portal 2 Portal 2
 Team Fortress 2 Team Fortress 2
 Note:All
Note:All  Team Fortress 2 branch-based games (
 Team Fortress 2 branch-based games ( ,
,  ,
,  , and
, 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.
) - Does not include FGD changes from February 18, 2025 engine update, which added vscript-related Keyvalues and radial fog KeyValue to env_fog_controller.- Third party games/mods
Compatible, but no FGD included
- Valve games
 Counter-Strike: Source - Counter-Strike: Source -- CSSin Unified FGD Database
 Day of Defeat: Source - Day of Defeat: Source -- DODSin Unified FGD Database. See draft pull request
 Dota 2 - Dota 2 -- DOTA2in Unified FGD Database. Pre-Reborn version.
 Half-Life: Source - Half-Life: Source -- HLSin Unified FGD Database
 Half-Life Deathmatch: Source - not in Unified FGD Database Half-Life Deathmatch: Source - not in Unified FGD Database
 Half-Life 2: Deathmatch - not in Unified FGD Database Half-Life 2: Deathmatch - not in Unified FGD Database
 Portal 2 Sixense Perceptual Pack - Portal 2 Sixense Perceptual Pack -- P2SIXENSEin Unified FGD Database
- Portal 2: Education Edition - P2EDUin Unified FGD Database
 Source Filmmaker - Source Filmmaker -- SFMin Unified FGD Database
- Third party games/mods
 Alien Swarm: Reactive Drop - Alien Swarm: Reactive Drop -- ASRDin Unified FGD Database
 Entropy : Zero - Entropy : Zero -- EZ1in Unified FGD Database
 Entropy : Zero 2 - Entropy : Zero 2 -- EZ2in Unified FGD Database
- Kreedz Climbing - KZin Unified FGD Database
 Mapbase - Mapbase -- MBASEin Unified FGD Database
 Portal 2: Desolation - Portal 2: Desolation -- P2DESin Unified FGD Database
 The Stanley Parable - The Stanley Parable -- STANLEYin Unified FGD Database
 Note:
Note: Portal 2: Community Edition includes its own fork of HammerAddons.
 Portal 2: Community Edition includes its own fork of HammerAddons.External links
| 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||































