Summary
Dependency mod for realistic helicopter sling loading: pendulum swing, visible hook and sling, true weight, and now optimized for MP! Includes overriden Hueys, jeeps and supply pallets.
Description
EoH Logistics is a sling loading and cargo framework for Reforger. It's meant to be used as a dependency, so if you want your helicopters to carry stuff or your vehicles to be liftable, add it to your mod, put a few components on your prefabs and you're set. No scripting necessary, the prefabs have various sliders so you can fine tune the load precisely as you'd like it to behave or roll with what ive set as default!
What's in it
The load swings like an actual pendulum. It trails behind you when you fly forward, turns into the wind and settles when you hover. You also feel the weight, the helicopter needs more collective, climbs slower and takes longer to stop, and it all goes through the game's own flight model so there's no rubber-banding online.
The pilot's PC handles the swing, so it looks smooth for the pilot and for whoever's watching. We had a lot of jitter early on and this is what finally fixed it.
There's a cargo hook on the Huey with a four-leg sling that goes tight and slack as the load moves, and everyone can see it. The pilot or co-pilot can drop the lase on the cyclic.
If you slam the load into the ground at speed the sling snaps. Loads keep their speed when you drop them and land properly, and if one somehow ends up under tp.
Also 4 cargo pallets you can request at the helipad (items or Conflict supplies). They get heavier the more you put in them and you can carry them around by hand.
Everything was tested on a dedicated server with friends.
Comes with: UH-1H Hueys with a cargo hook, l.
Setting it up in your own mod
1. Add EoH Logistics to your project's depen
2. Helicopter (the prefab or an override of it):
- Add EOH_SlingloadCarrierComponent
- Max Lift Weight Kg = heaviest load it can pick up
- Hook Local Offset = how far below the helicopter the load hangs (0 -8 0 works for the Huey)
- Optional: drag Prefabs/EoH_Hook/EOH_Hook.et in as a child and put it where the hook should be. The sling hangs from it and draws itself.
- Optional: for the cockpit release, add EOH_SlingloadCockpitReleaseAction to the ActionsManagerComponent on a context on the cyclic. On the Huey I used take_controls_pilot and take_controls_copilot.
3. Anything you want to lift:
- Needs a dynamic RigidBody and an RplComponhave both already)
- Add EOH_SlingloadableComponent. Drag area lidity under 1 if it's an open or nettedload.
- Add EOH_SlingloadAttachAction and EOH_SlingloadDetachAction to a context in its ActionsManagerComponent that players can reach.
4. If you want carryable pallets or props: EOH_PalletCarryComponent plus two EOH_PalletCarryAction (tick Let Go on one). EOH_PalletMassComponent if you want the weight to follow what's inside.
5. For testing, tick Debug Log on the carrier and the load (Log / Log Changes on pallets) and it prints everything. Untick it all before you publish.
In game
Pilot hovers over the load, someone on the ground uses Attach Sling Load, pilot lifts off. To drop it, the ground guy uses Detach Sling Load or the pilot uses Emergency Cargo Release on the stick. Pallets are Grab Pallet / Let Go of Pallet.
Planned
-Pallets loading onto the back of Trucks, enchancing their ability to move supplies.
- Ground crew rigging, where you rig the sling on the load first and then hook it up(requires meshes)
- The broken sling staying on the hook after a snap
Maybe later
- Internal storage of vehicles (requires massive model!), towing, loading pallets on trucks, addition of trailers, and more?!
License
Arma Public License Share Alike (APL-SA)