Template:KV BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Robot: fixing template case.)
mNo edit summary
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{KV BaseVehicle}}
<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.}}
* '''VehicleLocked'''
</noinclude>{{minititle|BaseDriveableVehicle}}
: {{boolean}} Starts locked
{{KV|Starts locked|intn=VehicleLocked|bool|Players cannot enter vehicle until it is unlocked.}}
{{KV BaseVehicle|all={{{all|}}}}}
<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?