CPropVehicle
Jump to navigation
Jump to search
Code classes:
CPropVehicle
CBaseProp
(props)CBaseAnimating
(models)CBaseEntity
(all ents)
CPropVehicle
is a code class inherited by all vehicle entities in Source.
Classnames:
prop_vehicle
(Available in all games. Unenterable.)
ConVars/Commands[edit | edit source]
ConVar/Command | Parameters or default value | Parameter Type | Effect |
---|---|---|---|
vehicle_flushscript |
| Reloads all vehicle scripts. This is extremely useful for fine-tuning their behavior. | |
r_JeepFOV |
| No effect! | |
g_debug_vehiclebase |
| No effect! |
Flags[edit | edit source]
- 1: Always Think (Run physics every tick) To do: Is there any noticeable difference?
Keyvalues[edit | edit source]
- Scale of action input / framerate
(actionScale)
<float>
- To do: Description.
- Vehicle Script File
(vehiclescript)
<string>
- Path to a file that defines properties about this vehicle. Look in
scripts/vehicles/
for examples.