Feature #19201

Allow mission makers customize sling rope

Added by ZZEZ over 4 years ago. Updated almost 4 years ago.

Status:Closed Start date:04/26/2011
Priority:Normal Due date:
Assignee:rocko % Done:

100%

Category:-
Target version:1.12
Component: Affected Version:
Close Reason:

Description

It would be nice to let mission makers define which vehicles can airlift what vehicles.
I can find many uses for it instead of using a custom airlift script.

Associated revisions

Revision 469b2b8f
Added by rocko almost 4 years ago

~ADDED: Possibility to exclude certain cargo types from being slingloaded, fixes #19201

History

Updated by rocko over 4 years ago

  • Target version set to Planned (Needs Contributors)

Updated by rocko over 4 years ago

examples?

Updated by ZZEZ over 4 years ago

An example would be to allow Ospreys to lift MTVRs/Humvees but forbid it from lifting anything else for gameplay purposes, I don't want the players using the Osprey to steal enemy trucks or cars.
I would imagine that it would look like a simple check for each vehicle that allows it to lift other pre-defined vehicles.

Updated by Sickboy over 4 years ago

The request seems to be about being able to specify these config variables, through script:

        ACE_canLift = 1;
        ACE_GeoLifterAttachment[] = {{0,1.2,-4.8}};
        ACE_MaxLoad = 3000;
        ACE_Weight = 5370;

Just means 4 getter and 4 setter functions, which first check for getVariable on the object, and when not set, fall back to the config.

Updated by rocko over 4 years ago

IMO OP wants to define that for example UH60 can lift all cars and wheeled APCs, but not tracked APCs - and CH47 can slingload All vehicles, except Tanks.

Something like:

ACE_SlingLoadRule = [["CH47_EP1",["BMP2","Blabla","Blabla2"],["UH60",["x2","x3"]];

Updated by ZZEZ over 4 years ago

Yes rocko, exactly like that..sorry for not being clear enough.

Updated by rocko almost 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by rocko almost 4 years ago

  • Assignee set to rocko
  • Target version changed from Planned (Needs Contributors) to 1.12

To exclude certain vehicle classes from being slingloaded:

helicopter113 setVariable ["ACE_Slingload_Rule",["VehicleClass1","VehicleClass2",...]];

Updated by rocko almost 4 years ago

  • Status changed from Resolved to Closed

Available in ACE for OA 1.12 RC1.

Also available in: Atom PDF