Template:KV BaseDriveableVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(allowed you to choose between the two versions of KV BaseVehicle.)
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<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.}}
<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.}}
</noinclude>{{ScrollBox|title=BaseDriveableVehicle|noscroll=true|
</noinclude>{{minititle|BaseDriveableVehicle}}
{{KV|Starts locked|intn=VehicleLocked|bool|Players cannot enter vehicle until it is unlocked.}}
{{KV|Starts locked|intn=VehicleLocked|bool|Players cannot enter vehicle until it is unlocked.}}
{{KV BaseVehicle|all={{{all}}}}}
{{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?