prop_vehicle_jeep
Jump to navigation
Jump to search
Code classes:
CPropJeep
Episodic
CPropJeepEpisodic
CPropVehicleDriveable
CPropVehicle
CBaseProp
(props)CBaseAnimating
(models)CBaseEntity
(all ents)
prop_vehicle_jeep
is a point entity present in the Half-Life 2 series, but not Half-Life 2: Deathmatch. It's a driveable, four-wheeled vehicle. This is used for the jeep (or buggy) in HL2 and the yellow car (usually called the jalopy) in Episode 2. To do: How to get the HL2 jeep in Ep2 with all its functionality. The simplest way would probably be to give the jalopy its own entity.
Keyvalues[edit | edit source]
- Hopper Visible
(CargoVisible)
<boolean>
(only available inEpisodic
)
- Sets if the
weapon_striderbuster
holder is visible. Does not affect functionality! Functionality can be disabled by Killing the entity striderbusters get sensed by:trigger_vehicle_cargo
.
Inputs[edit | edit source]
- ShowHudHint (Not in FGD)
- Shows the driver the HUD hints for the turbo and handbrake. The jeep automatically sends this to itself the first few times the player enters it. Doesn't work in Episodic.
- StartRemoveTauCannon
- Moves the gun off the jeep. Meant to be immediately followed by FinishRemoveTauCannon.
- FinishRemoveTauCannon
- Disables and hides the gun. Bug: Any decals that got on the gun will still be visible.
- LockEntrance (only available in
Episodic
)
- Forbids
CNPC_PlayerCompanion
s from entering the vehicle (allowed by default). - UnlockEntrance (only available in
Episodic
)
- Allows
CNPC_PlayerCompanion
s to enter the vehicle. - LockExit (only available in
Episodic
)
- Forbids
CNPC_PlayerCompanion
s from exiting the vehicle (allowed by default). - UnlockExit (only available in
Episodic
)
- Allows
CNPC_PlayerCompanion
s to exit the vehicle. - EnableRadar (only available in
Episodic
)
- Shows the radar machine.
- DisableRadar (only available in
Episodic
)
- Hides the radar machine.
- EnableRadarDetectEnemies (only available in
Episodic
)
- Allows the radar to detect striders (when not carried by dropships) and hunters.
- AddBusterToCargo (only available in
Episodic
)
- Puts a
weapon_striderbuster
on the back rack. Additional busters placed by this input will fall to the ground. - DisablePhysGun (only available in
Episodic
)
- Disallows the gravity gun to punt the vehicle (allowed by default).
- EnablePhysGun (only available in
Episodic
)
- Allows the gravity gun to punt the vehicle.
CreateLinkController(only available inEpisodic
)
- Creates two
info_radial_link_controller
s under the car (no effect, however). DestroyLinkController(only available inEpisodic
)
- Destroys the two
info_radial_link_controller
s under the car. - SetCargoHopperVisibility
<boolean>
(only available inEpisodic
)
- Sets Hopper Visible.
Outputs[edit | edit source]
- OnCompanionEnteredVehicle (only available in
Episodic
)
- Fires when an NPC the player likes or is neutral to enters the vehicle.
- OnCompanionExitedVehicle (only available in
Episodic
)
- Fires when an NPC the player likes or is neutral to exits the vehicle.
- OnHostileEnteredVehicle (only available in
Episodic
)
- Fires when an NPC the player hates or fears enters the vehicle.
- OnHostileExitedVehicle (only available in
Episodic
)
- Fires when an NPC the player hates or fears exits the vehicle.