This article's documentation is for anything that uses the Source engine. Click here for more information.

Func detail blocker: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (added cs:go to game list)
No edit summary
 
(24 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{base point multi|func_detail_blocker|game1=Portal 2|game2=Alien Swarm|game3=Left 4 Dead 2|game4=Left 4 Dead|game5=Counter-Strike: Global Offensive}}
{{CD|CDetailBlocker|file1=effects.cpp|CServerOnlyEntity}}
 
[[File:Toolstrigger.gif|left]]
== Entity description ==
{{this is a|brush entity|semi-internal=1|name=func_detail_blocker|since=Left 4 Dead}} It disallows [[detail props]] from being placed inside its volume.
A brush entity that prevents detail sprites from being placed inside its volume.
{{AABBwarning|misc=AABB of individual brushes is considered in this case and not of the whole brush model which means tying many brushes into single func_detail_blocker will work identically as if they were separate{{confirm}}.}}
 
{{Confusion|Not related to {{ent|func_detail}} entity in any way}}
== Keyvalues ==
{{note|The blocking of detail props only functions during the compile process, effectively making this entity an [[internal entity]], however it is still present while in-game. It is safe to kill the entity via a [[logic_auto]] on map spawn to prevent wasted resources.}}
{{KV Targetname}}
{{note|This entity is available for Source SDK 2013 by replacing vbsp.exe with [https://github.com/wouterpleizier/source-sdk-2013/commit/8a102a7b6d6e821bc77925a3df241cfad70876e7 this modified version]}}
{{KV Parentname}}
{{note|This entity is also in {{gmod|4.1}},{{slamminsrc|4.1}}.}}
 
== Inputs ==
{{I Targetname}}
{{I Parentname}}
 
== Outputs ==
{{O Targetname}}
 
== See also ==
[[detail_props]]

Latest revision as of 11:55, 19 June 2025

C++ Class hierarchy
CDetailBlocker
CServerOnlyEntity
CBaseEntity
C++ effects.cpp
Toolstrigger.gif

func_detail_blocker is a semi-internal brush entity available in all Source Source games since Left 4 Dead Left 4 Dead. It disallows detail props from being placed inside its volume.

Warning.pngWarning:This entity applies its effect based on its AABB instead of its brush model. AABB of individual brushes is considered in this case and not of the whole brush model which means tying many brushes into single func_detail_blocker will work identically as if they were separate[confirm].[ Edit ]
Warning.pngRisk of Confusion:Not related to func_detail entity in any way
Note.pngNote:The blocking of detail props only functions during the compile process, effectively making this entity an internal entity, however it is still present while in-game. It is safe to kill the entity via a logic_auto on map spawn to prevent wasted resources.
Note.pngNote:This entity is available for Source SDK 2013 by replacing vbsp.exe with this modified version
Note.pngNote:This entity is also in Garry's Mod Garry's Mod,Slammin' Source Map Tools Slammin' Source Map Tools.