Template:KV BaseVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Added Postal 3 Segway.)
Line 20: Line 20:
:* 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|{{sineps}}}}
:* {{ent|prop_vehicle_sin}}: <code>sincar.txt</code> / <code>sincar_pit.txt</code> {{only|{{sineps}}}}
:* {{ent|p3_vehicle_segway}}: <code>segway.txt</code> {{only|{{p3}}}}
{{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?}}}}
[[Category:Vehicle Entities]]
[[Category:Vehicle Entities]]
<noinclude>[[Category:Keyvalue Templates|BaseVehicle]]</noinclude>
<noinclude>[[Category:Keyvalue Templates|BaseVehicle]]</noinclude>

Revision as of 22:57, 22 July 2024

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?