Template:KV BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
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>{{minititle|BaseDriveableVehicle}}
: 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>

Latest revision as of 06:04, 2 July 2024

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?