Template:KV BaseVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Looks cleaner.)
No edit summary
 
Line 17: Line 17:
:** <code>choreo_vehicle_ep2_playertrapped.txt</code> {{#if: {{{all|}}} |
:** <code>choreo_vehicle_ep2_playertrapped.txt</code> {{#if: {{{all|}}} |
:** {{p2|2.bold}} only<nowiki>:</nowiki>
:** {{p2|2.bold}} only<nowiki>:</nowiki>
:** <code>player_ending.txt</code> {{only|{{portal2}}}}
:** <code>player_ending.txt</code>
:** <code>player_down.txt</code> {{only|{{portal2}}}}
:** <code>player_down.txt</code>
:** <code>br_player_look.txt</code> {{only|{{portal2}}}}
:** <code>br_player_look.txt</code>
:** <code>br_player_view.txt</code> {{only|{{portal2}}}} }}
:** <code>br_player_view.txt</code> }}
:* 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}}}}

Latest revision as of 22:42, 17 September 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?