This shows you the differences between two versions of the page.
| a3_documentation:airfield_support_tug:how_to_use_the_tug [2025/05/14 17:17] – created rock | a3_documentation:airfield_support_tug:how_to_use_the_tug [2025/05/14 17:18] (current) – rock | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Lesh's Tow mod allows for towing of vehicles by other vehicles. ====== | + | ====== |
| For towing to work, both the towed vehicle and the towing vehicle need to be preconfigured with the correct config parameters in the vehicle class. The mod has most vanilla planes and helicopters configured and ready to go. Currently in vanilla only the UGV is capable of towing. Additionally the mod has a few optional configurations for various modded assets if you wish to use them. | For towing to work, both the towed vehicle and the towing vehicle need to be preconfigured with the correct config parameters in the vehicle class. The mod has most vanilla planes and helicopters configured and ready to go. Currently in vanilla only the UGV is capable of towing. Additionally the mod has a few optional configurations for various modded assets if you wish to use them. | ||
| Line 25: | Line 25: | ||
| ==== Config values for a vehicle that can be towed by other vehicles ==== | ==== Config values for a vehicle that can be towed by other vehicles ==== | ||
| - | **LESH_canBeTowed = 1;** //buzzard example - Again pretty self-explanatory. This is the first thing checked when someone tries to tow something by pressing the keybind. If not 1 or missing the vehicle will not be a valid target to be towed | + | **LESH_canBeTowed = 1;** //buzzard example - Again pretty self-explanatory. This is the first thing checked when someone tries to tow something by pressing the keybind. If not 1 or missing the vehicle will not be a valid target to be towed **LESH_towFromFront = 1;** //buzzard example This is incase you have a vehicle that is towed from the back. If the value is 1 then all directions and speeds are unchanged. If 0 or missing all directions and velocities used are reversed (which would equal being towed from behind)\\ **LESH_AxisOffsetTarget[] = {0, |
| - | + | ||
| - | **LESH_towFromFront = 1;** //buzzard example This is incase you have a vehicle that is towed from the back. If the value is 1 then all directions and speeds are unchanged. If 0 or missing all directions and velocities used are reversed (which would equal being towed from behind)\\ **LESH_AxisOffsetTarget[] = {0, | + | |
| - | + | ||
| - | **LESH_WheelOffset[] = {0,1.6}; **//buzzard example - This is the model space coordinates [x,y] for the wheel axis around which the target vehicle will rotate when it is being towed. Usually on the opposite side of the model compared to the AxisOffset. | + | |
| ===== How to add configs to a vehicle in a mission: ===== | ===== How to add configs to a vehicle in a mission: ===== | ||
| Line 40: | Line 36: | ||
| this setVariable [" | this setVariable [" | ||
| this setVariable [" | this setVariable [" | ||
| - | |||
| </ | </ | ||
| Line 48: | Line 43: | ||
| this setVariable [" | this setVariable [" | ||
| this setVariable [" | this setVariable [" | ||
| - | |||
| </ | </ | ||