Template:KV BaseVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(fixed portal 2 vehicle scripts being shown separately from the others.)
mNo edit summary
Line 20: Line 20:
:** <code>br_player_view.txt</code> {{only|{{portal2}}}} }}
:** <code>br_player_view.txt</code> {{only|{{portal2}}}} }}
:* There is also <code>reference_vehicle.txt</code>, which you can modify to make your own vehicle or use as-is.
:* There is also <code>reference_vehicle.txt</code>, which you can modify to make your own vehicle or use as-is.
:* {{ent|prop_vehicle_sin}}: <code>sincar.txt</code> / <code>sincar_pit.txt</code> {{only|{{sin}}}}
:* {{ent|prop_vehicle_sin}}: <code>sincar.txt</code> / <code>sincar_pit.txt</code> {{only|{{sineps}}}}
{{KV|Scale of action input / framerate|intn=actionScale|float|{{todo|How fast the vehicle turns/accelerates?}}}}
{{KV|Scale of action input / framerate|intn=actionScale|float|{{todo|How fast the vehicle turns/accelerates?}}}}
{{#if: {{{all|}}} | {{KV BasePropPhysics}} | {{KV BasePropPhysics|old=1}} }}
{{#if: {{{all|}}} | {{KV BasePropPhysics}} | {{KV BasePropPhysics|old=1}} }}

Revision as of 01:08, 26 July 2023

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:
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