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
m (Updated old entity format to {{this is a}}. This action was perfomed by a bot.)
(Valve often use trigger tool texture for this entity and player control texture isn't available in any games since Source 2007 (except TF2).)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{this is a|e2|name=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.
{{Ent not in fgd}}
 
{{CD|CFuncVehicleClip|file1=bmodels.cpp}}
{{code class|CFuncVehicleClip|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]].  
{{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}}
{{KV Targetname}}


==Inputs==
==Inputs==
{{I EnableDisable}}
{{I EnableDisable}}
{{I BaseEntity}}
==Outputs==
{{O BaseEntity|l4d=1}}

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.