This reverts commit edf07aa89d2aa78923685dc60b71b514ebb105f0.
This is the ERS Lite Version. It only supported a limited selection of trucks and does not have full winch support
Default Controls:
[E] - At bed to attach / detach vehicle (useable in vehicle on bed as well) [LeftArrow] - Attach, Wind winch [RightArrow] - Unwind winch [UpArrow] - Raise Bed (automatic, click once) [DownArrow] - Lower Bed (automatic, click once) [G] - Remove Rope
How to use:
For ROLLING beds:
- Lower bed
- Ensure the vehicle is behind the truck close to the bed
- Press Left Arrow next to the flatbed truck body to attach the winch
- Press Left Arrow again to wind the winch
- Press E when the vehicle is ON the bed. If the vehicle is inside the bed, or too high, press E to disconnect then E again to reconnect the car.
For Static beds:
- Ensure the car is behind the truck.
- Press E next to the truck, or inside the car.
Exports / Events:
wind start/stop winding the winch
targetflatbedWind(truck)
OR connect target or wind start/stop winding the winch
targetflatbedWind(truck, target)
event:
"ebu_flatbeds_ers:client:targetflatbedWind"
start/stop unwinding the winch
targetflatbedUnWind(truck)
event:
"ebu_flatbeds_ers:client:targetflatbedUnWind"
attach/detach vehicle on bed
targetflatbedAtt(truck)
event:
"ebu_flatbeds_ers:client:targetflatbedAtt"
delete rope attached to truck
targetflatbedRope(truck)
event
"ebu_flatbeds_ers:client:targetflatbedRope"
toggle wheel lift on truck (if applicable)
targetflatbedWheel(truck)
event:
"ebu_flatbeds_ers:client:targetflatbedWheel"
Raise / stop the bed
targetflatbedRaise(truck)
event:
"ebu_flatbeds_ers:client:targetflatbedRaise"
Lower /stop the bed
targetflatbedLower(truck)
event:
"ebu_flatbeds_ers:client:targetflatbedLower"