STRV 103 Experimental
STRV 103,
NOTE
THIS DOES NOT WORK WITH AUTOPILOT PAINT OR ANY KIND OF AUTO DRIVING MOD
THIS IS DUE TO THE LACK OF API ON VEHICLE DRIVE STATE, THE SCRIPT CAN ONLY DETECTS PLAYER INPUTS AND DRIVE THE TRACKS
Features
STRV 103 with proper tank steering and hull aiming, spawnable.
Controller support for tank steering.
Simple tank steering examples included. Feel free to make a Local Copy.
Tank Steering Script with debug mode and comments.
Make your OWN Tank Steering Vehicle KEY POINTS
Copy the TankControl script into your own mod
In the editor, parent your vehicle under the TankControl script
Split your vehicle into separate vehicles, main body where the player sits in, and tracks
Connect your split vehicles with joints or etc, you want them to stay together
Your main control vehicle, the one that the player will sits in, should have the tag tank_steering_main
Your track vehicles, should have either tank_steering_l_track or tank_steering_r_track, you can have multiple of them
Your track vehicles also needs to be tagged with nodrive, else the player might accidentally enter the wrong vehicle
You may need to put suspension and damping and strength of the track vehicle to something high, due to the additional load of the main vehicle