Template:KV BaseVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(added the choice between a Src13-specific version (the new default) and a generic version.)
m (removed a stray pair of curly brackets)
Line 25: Line 25:
{{#if: {{{all|}}} | {{KV BaseEntity}} | {{KV BaseEntity|base=1}} }}
{{#if: {{{all|}}} | {{KV BaseEntity}} | {{KV BaseEntity|base=1}} }}
[[Category:Vehicle Entities]]
[[Category:Vehicle Entities]]
}}<noinclude>[[Category:Keyvalue Templates|BaseVehicle]]</noinclude>
<noinclude>[[Category:Keyvalue Templates|BaseVehicle]]</noinclude>

Revision as of 14:04, 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.
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:
  • There is also reference_vehicle.txt, which you can modify to make your own vehicle or use as-is.
  • prop_vehicle_sin: sincar.txt / sincar_pit.txt (only in SiN)
Scale of action input / framerate (actionScale) <float>
Todo: How fast the vehicle turns/accelerates?
Note.pngNote:Page left for viewable history, content moved to prop_physics