Arma 3
397 ratings
Advanced Sling Loading
 
Rate  
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Helicopter
File Size
Posted
Updated
0.135 MB
Feb 3, 2016 @ 5:39am
Sep 6, 2016 @ 8:30pm
18 Change Notes ( view )

Subscribe to download
Advanced Sling Loading

Subscribed
Unsubscribe
In 2 collections by duda
Advanced Ropes (Sling Loading + Towing + Rappelling)
4 items
Advanced Arma Pack
9 items
Description
SP & MP Compatible. Full replacement for in-game sling loading.

Completely optional, but if you want to give back for any of my addons, I would greatly appreciate Donations[www.paypal.com]!

Want more? Check out my latest mods!



Also check out my Advanced Towing and Advanced Rappelling
addons for more rope features!

Features:

- Ropes can no longer attach automatically! You need to either get out of your helicopter or have someone on the ground pick up your cargo ropes and attach them to an object.
- Helicopters support up to 3 sets of cargo ropes, depending on the size of the heli.
- Once cargo ropes are deployed, any player can go to the end of the rope and pick it up.
- Once the ropes are picked up by a player, they can be attached to pretty much every object in the game.
- Players can drop ropes if they're carrying them
- Players on the ground can detached ropes from an object
- Helicopters can lift heavy vehicles

Installation:

1. Subscrive via steam or dowload latest release from https://github.com/sethduda/AdvancedSlingLoading/releases
2. If installing this on a server, add the addon to the -serverMod command line option

Default Sling Loading Rules:

- Helicopters can sling load all objects
- You can't sling load locked vehicles (see settings below)
- You can't sling load in an exile safe zone (see settings below)

Notes for Mission Makers:

You can customize which classes of objects can "deploy" cargo ropes by overriding the ASL_SUPPORTED_VEHICLES_OVERRIDE variable in an init.sqf file.

ASL_SUPPORTED_VEHICLES_OVERRIDE = [ "Air" ];

This will only allow objects of class Air deploy cargo ropes.

You can customize what can and can't be sling loaded by defining the ASL_SLING_RULES_OVERRIDE variable in the init.sqf file.

ASL_SLING_RULES_OVERRIDE =
[ ["Air", "CAN_SLING", "Ship"],
["Air", "CANT_SLING", "Air"]
];

In this example, all objects of class Air can sling load Ships but not Air.

You can allow sling loading of locked vehicles by defining ASL_LOCKED_VEHICLES_ENABLED in your init.sqf file. It defaults to false.

ASL_LOCKED_VEHICLES_ENABLED = true;

You can allow sling loading in an Exile safe zone by defining ASL_EXILE_SAFEZONE_ENABLED in your init.sqf file. It default to false.

ASL_EXILE_SAFEZONE_ENABLED = true;

**Not working on your server?**

Make sure you have the mod listed in the -mod or -serverMod command line option. Only -serverMod is required for this addon. If still not working, check your server log to make sure the addon is found.

FAQ

This addon is only required on the server - is it going to slow down my server?

No - while this addon is server-side only, it installs itself on all clients without them downloading the addon. Most of the time, the towing code actually runs client-side, even though you installed the addon only on the server. Magic!

Battleye kicks me when I try to do xyz. What do I do?

You need to configure Battleye rules on your server. Below are the files you need to configure:

setvariable.txt

Add the following exclusions to the end of all lines starting with 4, 5, 6, or 7 if they contain "" (meaning applies to all values):

!="ASL_Ropes" !="ASL_Ropes_Vehicle" !="ASL_Ropes_Pick_Up_Helper" !="ASL_Cargo"

setvariableval.txt

If you have any lines starting with 4, 5, 6, or 7 and they contain "" (meaning applies to all values) it's not going to work. Either remove the line or explicitly define the values you want to kick. Since the values of the variables above can vary, I don't know of a good way to define an exclusion rule.

Also, it's possible there are other battleye filter files that can cause issues. If you check your battleye logs you can figure out which file is causing a problem.

The sling actions appear when looking at a vehicle, but do nothing when I select them. How do I fix that?

Most likely your server is setup with a white list for remote executions. In order to fix this, you need to modify your mission's description.ext file, adding the following CfgRemoteExec rules. If using InfiStar you should edit your cfgremoteexec.hpp instead of the description.ext file. See https://community.bistudio.com/wiki/Arma_3_Remote_Execution for more details on CfgRemoteExec.

class CfgRemoteExec
{
class Functions
{
class ASL_Pickup_Ropes { allowedTargets=0; };
class ASL_Deploy_Ropes_Index { allowedTargets=0; };
class ASL_Rope_Set_Mass { allowedTargets=0; };
class ASL_Extend_Ropes { allowedTargets=0; };
class ASL_Shorten_Ropes { allowedTargets=0; };
class ASL_Release_Cargo { allowedTargets=0; };
class ASL_Retract_Ropes { allowedTargets=0; };
class ASL_Deploy_Ropes { allowedTargets=0; };
class ASL_Attach_Ropes { allowedTargets=0; };
class ASL_Drop_Ropes { allowedTargets=0; };
class ASL_Hint { allowedTargets=1; };
class ASL_Hide_Object_Global { allowedTargets=2; };
};
};

Issues & Feature Requests

https://github.com/sethduda/AdvancedSlingLoading/issues

If anyone wants to help fix any of these, please let me know. You can fork the repo and create a pull request.

Special Thanks for Testing & Support:

- Stay Alive Tactical Team (http://sa.clanservers.com)

Got Questions? Join my Discord channel:
https://discord.gg/RHkGYCt
Popular Discussions View All (12)
25
Sep 7, 2016 @ 7:37am
Can not Pickup cargo ropes from any helicopter
Barq83
7
Jun 5 @ 5:47pm
Scroll Options Disappearing
Sammi
4
Jun 22, 2017 @ 10:53am
[Suggestion]Parachute drop cargo
Bucketsmith
< >
251 Comments
MrPredatorr_ 15 hours ago 
Is there any way of disablling heavy lifting? ASL_HEAVY_LIFTING_ENABLED = false; dosent work.
Salmack Sep 2 @ 6:48am 
I am having an issue getting this to work. Advanced Tow works, Advanced Sling shows its loading in the log but I do not get the ropes menu when in a chopper.
DEADSHOTEYE Aug 22 @ 5:01am 
Hey duda bigfan and firstly great work on all your mods, liked and rated, just a quick question.
and its probably me being and total scripting noob.... ive been throught all the BI post and most of the post on here...tried all the combos, ["all","can_sling","all"] in the init.sqf, _min _lift =0, even set the atms mass to 0.0001, now i think i know why its not working.

im trying to lift an editor placed altis ATM (
CLASS:
Land_Atm_01_F

VEHICLE CLASS:
Structures_Commercial

KIND OF:
N/A

SIZE (Width, Length, Height):
[1.73409,0.715738,2.76965]

SELECTION NAMES:


PARENTS:
["Land_Atm_01_F","House_Small_F","House_F","House","HouseBase","NonStrategic","Building","Static","All"]

OBJECT TYPE:
8 - TypeVehicle - Some entity added by game)

is this because the vehicle clase is structre??
and ideas??
any way around it??

map is ISLA DUALA

MODS from steam
CBA
ACE
ALiVE
yours
unsung

Any help at all would be apericated thanks again for all your work

Skorpio Aug 13 @ 1:12pm 
Greetings! Great mod, however, I was wondering if there is anyway to enable sling-loading while still in the helicopter without disembarking, or is there no option for that still? Thanks for your help in advance!
Äukia Jul 24 @ 4:55am 
I even tried this

I even tried upping this in the script ~

ASL_Rope_Get_Lift_Capability = {
params ["_vehicle"];
private ["_slingLoadMaxCargoMass"];
_slingLoadMaxCargoMass = getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "slingLoadMaxCargoMass");
if(_slingLoadMaxCargoMass <= 0) then {
_slingLoadMaxCargoMass = 16000;
};
_slingLoadMaxCargoMass;
};


Any suggestions?
Äukia Jul 24 @ 4:55am 
Duda, I have an issue that I can't seem to resolve.

I have the Stallion Helis, (RHS / CUP / BASE ect. ect.) and I'm trying to have the ability to transport the RHS boat, patrol style / attack boat.

Here is my issue, R3F when you lift it it just falls off after a short time, but no Heli can lift this boat using your mod. Here is what I have in my Init file

ASL_SUPPORTED_VEHICLES_OVERRIDE = ["Air"];
ASL_SLING_RULES_OVERRIDE = [
["RHS_UH60M_MEV_d", "CAN_SLING", "rhsusf_mkvsoc"],
["CUP_B_CH53E_VIV_USMC", "CAN_SLING", "rhsusf_mkvsoc"],
["CUP_B_CH53E_VIV_GER", "CAN_SLING", "rhsusf_mkvsoc"],
["CUP_B_CH53E_USMC", "CAN_SLING", "rhsusf_mkvsoc"],
["CUP_B_CH53E_GER", "CAN_SLING", "rhsusf_mkvsoc"],
["rhsusf_CH53E_USMC_D", "CAN_SLING", "rhsusf_mkvsoc"],
["heli_transport_01_base_f", "CAN_SLING", "rhsusf_mkvsoc"],
["heli_transport_02_base_f", "CAN_SLING", "rhsusf_mkvsoc"]


Äukia Jul 4 @ 8:48am 
Duda, as much as I love this script. I am having doubts. Players on my server are losing cargo they can't seem to go any faster than auto hover or the cargo goes flying off the ropes and drops to the ground. Any way I can put an override in that secures the cargo?
duda  [author] Jun 21 @ 5:49am 
You can add this to your init.sqf file, and change the values in the ASL_SLING_RULES_OVERRIDE to specify exactly which vehicle classes can or can't lift other classes.

ASL_HEAVY_LIFTING_ENABLED = false;
ASL_SLING_RULES_OVERRIDE =
[ ["Air", "CAN_SLING", "Ship"],
["Air", "CANT_SLING", "Air"]
];
*ZN Anhor Jun 21 @ 3:23am 
Hi Duda, just a Question: Is it possible to configure wich Vehicle can Slingload? Example: A UH1-D can lift max. 900 till 1000 Kg ......... a Ural Truck weight empty more than 8 Tons. So it´s bullshit that a Huey can lift a truck.
Same with the Little Bird ........ this Chopper can lift maybe a motorcycle, not more.
What I mean is, can I configure the exact class name of a chopper who can lift?
Jakes Jun 8 @ 11:41am 
Hi Duba, im busy making a South African NAtion Defence Force Mod and id like to ask permission to include this mod to my SANDF mod. You will offcourse be credited in the mod notes.
It would be greatly apprechiated if this is possbile