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

Func vehicleclip: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(not really a stub)
(Valve often use trigger tool texture for this entity and player control texture isn't available in any games since Source 2007 (except TF2).)
 
(11 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{hl2 brush|func_vehicleclip}}
{{Ent not in fgd}}
 
{{CD|CFuncVehicleClip|file1=bmodels.cpp}}
==Entity description==
{{this is a|brush entity|name=func_vehicleclip}} It acts as a functional [[clip]] or barrier affecting vehicle entities, such as the [[prop_vehicle_jeep|jeep]] or [[prop_vehicle_airboat|airboat]].  
Acts as a functional [[clip]] or barrier affecting vehicle entities, such as the jeep or airboat. Should be used with the <code>tools/toolscontrolclip</code> texture.
{{warning|This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated [[instance]]s, it will not be rotated correctly!}}
 
{{in code|class=class_c_func_vehicle_clip.html CFuncVehicleClip|file=bmodels_8cpp-source.html bmodels.cpp}}


==Keyvalues==
==Keyvalues==
{{KV Targetname}}
{{KV Targetname}}
{{KV Parentname}}
{{KV Global}}


==Inputs==
==Inputs==
{{I Targetname}}
{{I EnableDisable}}
{{I Parentname}}
{{IO|Kill|Removes this entity from the world.}
 
==Outputs==
{{O Targetname}}
 
[[Category:Entities]][[Category:Brush Entities]]

Latest revision as of 23:46, 16 August 2025

Icon-NotInFGD.png
This entity is not in the Counter-Strike: SourceDay of Defeat: SourceTeam Fortress 2Left 4 DeadLeft 4 Dead 2Counter-Strike: Global Offensive FGD by default.
See below for instructions on making it available.
C++ Class hierarchy
CFuncVehicleClip
CBaseEntity
C++ bmodels.cpp

func_vehicleclip is a brush entity available in all Source Source games. It acts as a functional clip or barrier affecting vehicle entities, such as the jeep or airboat.

Warning.pngWarning:This entity will set its angles to 0 0 0 upon spawning. This means if this entity is present inside rotated instances, it will not be rotated correctly!

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Inputs

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.