Template:KV BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(allowed you to choose between the two versions of KV BaseVehicle.)
Line 1: Line 1:
{{ScrollBox|title=BaseDriveableVehicle|noscroll=true|
<noinclude>{{tip|Put <code>{{!}}all{{=}}1</code> when calling this template to have it show the CS:GO version of the template instead of the Src13 version.}}
; Starts locked <code>(VehicleLocked)</code><code><[[bool]]></code>
</noinclude>{{ScrollBox|title=BaseDriveableVehicle|noscroll=true|
: Players cannot enter vehicle until it is unlocked.
{{KV|Starts locked|intn=VehicleLocked|bool|Players cannot enter vehicle until it is unlocked.}}
{{KV BaseVehicle}}
{{KV BaseVehicle|all={{{all}}}}}
}}<noinclude>[[Category:Keyvalue Templates|BaseDriveableVehicle]]</noinclude>
}}<noinclude>[[Category:Keyvalue Templates|BaseDriveableVehicle]]</noinclude>

Revision as of 14:06, 29 April 2022

Tip.pngTip:Put |all=1 when calling this template to have it show the CS:GO version of the template instead of the Src13 version.
BaseDriveableVehicle:
Starts locked (VehicleLocked) <boolean>
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?