Author: Enigx
Author Website:

Requirements: No addons required

Version: 1.00

Short description: allows you to call and manage a heli transport to and from a specific clickable area on the map.

Date: 2021-01-30 12:48


Comments: (0)
Rating:



 





EGX_HeliTransport system

by
Enigx


Description:
The system allows you to call and manage a heli transport to and from a specific clickable area on the map.

Features:
System consists of two separate modules:

** CallHeli
Allows you to spawn a helicopter and make it land on a map position. It can be used to call an exfiltration.
- You can call heli wherever you want on the map
- You can call heli whenever and as many times as you want
- Graphical interface window for options selection
- Different helicopters available for selection
- Automatic procedure to identify a safe landing position close to the selected one
- You can select heli route clicking on intermediate waypoints on map
- Multiple helicopter calls
- No need to place heli from editor. It is spawned at each call

** OrderHeliGO
Allows you to order a helicopter, in which you are on board, to go and land at a point on the map. Useful to simulate and manage an insertion to specific zone.
- Graphical interface window for options selection
- Automatic procedure to identify safe landing position close to the selected one
- You can select heli route clicking on intermediate waypoints on map
- You must within a copter to work
- Once landed you can choose to send it away and delete it

Both modules can be activated by ACE self interaction menu for authorized players only or for everyone.
SP/MP compatible.


Installation / Usage:
1) Copy folder EGX_HeliTransport\ into mission folder
2) Create description.ext in mission folder (if not already present) and copy this string

#include "EGX_HeliTransport\Heli_cfgFun.hpp"; // <- add to description.ext

3) Create initPlayerLocal.sqf in mission folder (if not already present) and add these strings in it

authPlyrsHeliTr = ["XXXXXXX", ... , "YYYYY"]; // <-- ADD HERE THE STEAM ID OF THE PLAYER/S ENABLED TO MANAGE HELI TRANSPORT BY ACE COMMANDS
_uidP = getPlayerUID player;
if (_uidP in authPlyrsHeliTr) then {
_actionHeli = {execVM "EGX_HeliTransport\CallHeli.sqf";};
_CallHeliEGX = ['CallHeli', 'Call helicopter', '', _actionHeli, {true}] call ace_interact_menu_fnc_createAction;
[player, 1, ["ACE_SelfActions"], _CallHeliEGX] call ace_interact_menu_fnc_addActionToObject;

_actionHeliGo = {execVM "EGX_HeliTransport\OrderHeliGO.sqf";};
_OrderHeliGo = ['OrderHeliGO', 'Order heli GO', '', _actionHeliGo, {true}] call ace_interact_menu_fnc_createAction;
[player, 1, ["ACE_SelfActions"], _OrderHeliGo] call ace_interact_menu_fnc_addActionToObject;
};

You need the ACE mod loaded in your mission.
Detailed steps and explanations in included README.txt file.


Notes:
It needs the following mods loaded in your mission:
- ACE for the interaction menu
- RHS USAF for the definition of the RHS helicopters option. Otherwise you can use vanilla copter option.
Mods:
ace
ACE Compat - RHS United States Armed Forces
CBA_A3
RHSUSAF


Credits & Thanks:
Sceptre for sharing his Custom Dialog System (CDS)


License / Disclaimer:
EGX_HeliTransport is free for use. Wherever possible, please keep it as it is. Have fun with it.


Changelog:
1.00
First official version 1.0


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!