The 4wd controller enables you to connect and disconnect a driveshaft and allows you to control a range box. The configuration needs to provide the correct powertrain device names (shaft and rangeBox) for it to work.
You can also use multiple 4wd controllers at once if desired, each one controlling a different set of devices.
Filename | 4wd.lua |
Path | /lua/vehicle/controller/4wd.lua |
Type | Auxiliary |
Usage type | Multiple |
"controller": [
["fileName"],
["4wd", {"shaftName":"driveshaftF", "rangeBoxName":"rangeBox"}]
],
Was this article helpful?