Template:KV BaseVehicle: Difference between revisions
Jump to navigation
Jump to search
Tip:Put
Note:Page left for viewable history, content moved to prop_physics
Kestrelguy (talk | contribs) (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|{{ | :* {{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 00:08, 26 July 2023
|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:- prop_vehicle_airboat:
airboat.txt - prop_vehicle_apc:
apc.txt/apc_npc.txt - prop_vehicle_crane:
crane.txt - prop_vehicle_prisoner_pod:
prisoner_pod.txt - prop_vehicle_jeep:
jalopy.txt(only in
) / jeep_test.txt - prop_vehicle_choreo_generic:
- 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
)
- prop_vehicle_airboat:
- Scale of action input / framerate (actionScale) <float>
- Todo: How fast the vehicle turns/accelerates?