Template:KV BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Added to Keyvalue Templates category)
mNo edit summary
Line 1: Line 1:
{{ScrollBox|title=BaseDriveableVehicle|noscroll=true|
{{ScrollBox|title=BaseDriveableVehicle|noscroll=true|
; Starts locked <code><[[bool]]></code>
; Starts locked <code>(VehicleLocked)</code><code><[[bool]]></code>
: Players cannot enter vehicle until it is unlocked.
: Players cannot enter vehicle until it is unlocked.
{{KV BaseVehicle}}
{{KV BaseVehicle}}
}}<noinclude>[[Category:Keyvalue Templates|BaseDriveableVehicle]]</noinclude>
}}<noinclude>[[Category:Keyvalue Templates|BaseDriveableVehicle]]</noinclude>

Revision as of 12:15, 23 September 2020

BaseDriveableVehicle:
Starts locked (VehicleLocked)<bool>
Players cannot enter vehicle until it is unlocked.

BaseVehicle:

Vehicle Script File (vehiclescript) <string>
The vehicle script files contained in scripts\vehicles\ define the behaviour and handling of a vehicle. It is important to match the right script to the right entity/model:
Scale of action input / framerate (actionScale) <float>
Todo: How fast the vehicle turns/accelerates?