TOH version of CBA.
Sling loading a light aircraft, sling camera example.
I created this for myself. I wanted an out of the box sling loading functionality as I like to quickly throw a few things into the editor and quickly create a basic functional mission for myself.
This allows sling loading operations to be easily created, without effecting any other missions created by others with their own sling loading scripts triggers etc.
Same as any other addon. If you are unsure, please search the forums for help.
A good starting point is here.
Only tested in single player. Although I did try and code it with MP in mind, I wouldn't be surprised if something didn't work seeing as it had no testing in that area.
This hasn't had a lot of testing, created it more for myself, but happy with the result and thought it might be enjoyed by others in the community.
I find it easier to disable my track ir when using the menus to connect the line to helicopters and objects. It requires you to place the cursor over them to make the menu item visible. The track ir makes knowing where the cursor position is hard.
Manual connection of the sling line to ensure no conflicts with other missions. To connect the line crawl under the helicopter until you get the menu item.
You can disconnect either by the remote release in the pilots seat(action menu) or crawling under to manually release via the action menu.
Electric hook releases for both loads and the line. Menu items.
Hot key for the menu items can be setup for use as buttons on a joystick if desired.
Found under custom controls in the controls dialog.
- User 1 = Line release.
- User 2 = Load release.
The ability to manually connect and un-connect a load to your line if the load is close enough to the helicopter. Menu option becomes available when close enough and looking at the object.
AI Loader unit Found under Civilian -> American -> People -> Blakes Loader in the editor.
- Loader will move to the nearest load it has been synced with in the editor if it is closer than 100m. Note if the loader is a member of your group you will need to order him to move close the the load. Designed to be in his own group of one ideally.
- If a helicopter with a sling line is close enough and slow enough the loader will attempt to hook the nearest load onto the line.
- Distance for connection is between helicopter and Load object. Must be less than the line length. Tried using a token object to track the end of the line, but they would bounce around like tied up rabbits until snapping off the line.
Set AI loader values:
Max hookup speed:
Place the code in the ai loaders initialization field. Units are m/s. Default value is 3
this setvariable ["maxhookupspeed",1.4,true];
Place the code in the ai loaders initialization field. Units are seconds. Default value is 6
this setvariable ["loadtime",10,true];
Turn on and off at the action menu.
Once on, there will be the option to change the zoom.
At this stage I haven't figured out how to define whether the overlayed version of the camera appears or not. In testing if i spawn the code in the init field, I get the overlay. Running the addon I only get the vehicle's monitor displaying? Hopefully as more people experiment with this a better understanding of how it functions will prevail.
Direct Download | Mod info
Community Base Addons
Edited by blakeace, 28 January 2012 - 22:23.