Template:KV BaseVehicle: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (removed a stray pair of curly brackets)
(fixed portal 2 vehicle scripts being shown separately from the others.)
Line 14: Line 14:
:** <code>choreo_vehicle_ep2_intro.txt</code> {{only|{{ep2}}}}
:** <code>choreo_vehicle_ep2_intro.txt</code> {{only|{{ep2}}}}
:** <code>choreo_vehicle_ep2_Outland_02.txt</code> {{only|{{ep2}}}}
:** <code>choreo_vehicle_ep2_Outland_02.txt</code> {{only|{{ep2}}}}
:** <code>choreo_vehicle_ep2_playertrapped.txt</code> {{only|{{ep2}}}}}}
:** <code>choreo_vehicle_ep2_playertrapped.txt</code> {{only|{{ep2}}}}{{#if: {{{all|}}} |
{{#if: {{{all|}}} | :** <code>player_ending.txt</code> {{only|{{portal2}}}}
:** <code>player_ending.txt</code> {{only|{{portal2}}}}
:** <code>player_down.txt</code> {{only|{{portal2}}}}
:** <code>player_down.txt</code> {{only|{{portal2}}}}
:** <code>br_player_look.txt</code> {{only|{{portal2}}}}
:** <code>br_player_look.txt</code> {{only|{{portal2}}}}
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:12, 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:
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