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
(updates)
(Valve often use trigger tool texture for this entity and player control texture isn't available in any games since Source 2007 (except TF2).)
 
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{lang|Func vehicleclip}}
{{Ent not in fgd}}
{{hl2 brush|func_vehicleclip}} It 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.
{{CD|CFuncVehicleClip|file1=bmodels.cpp}}
 
{{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]].  
{{code class|CFuncVehicleClip|bmodels.cpp}}
{{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!}}


==Keyvalues==
==Keyvalues==
{{KV BaseEntity|base=1}}
{{KV Targetname}}


==Inputs==
==Inputs==
{{I BaseEntity|prel4d=1|base=1}}
{{I EnableDisable}}
 
==Outputs==
{{O BaseEntity}}

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.