Author: dylanplecki
Author Website: http://www.unitedoperations.net

Requirements: Advanced Combat Environment 2 OA - Core, Community Base Addons

Version: 1.0.2

Short description: This script adds an extra slot on each side of all Huey's.

Date: 2012-11-09 23:42


Comments: (1)
Rating:



 



Crackman's Extra Huey Slots Script

by
Crackman


Description:
This script an extra slot on each side of all Huey's so that a full squad and a pilot can fit into a single Huey. It's mainly designed for Vietnam Missions, but it can be used for any mission with Huey's. It also adds the action to "Roll Out" for the players sitting on the sides of the huey, which will allow them to "Duck & Roll" out of a hovering Huey and sustain no damage, as long as they are low enough to the ground.


Features:
-> 2 Extra Slots in each Huey, on the sides
-> Player can Get Out or Roll Out
-> No player damage sustained if the player rolls out while the Huey is hovering under 8 feet ATL
-> Mission Makers can add hueys to the list by adding the vehicle to the array CRACK_var_huey_allHueys
-> New hint to tell players how to get out of the huey
-> Easily changable positions and animations
-> Players will not see action if no seats are available
-> Added fail-safe for player death in the huey


Installation:
1. Put both the CRACK_mountHuey.sqf AND the CRACK_selfInteractMenu.sqf files in the "\scripts" folder in your mission directory.

2. Add the next line to your INIT.sqf:
nul = [] execVM "scripts\CRACK_mountHuey.sqf";


Included files:
scripts\CRACK_mountHuey.sqf
scripts\CRACK_selfInteractMenu.sqf


Usage:
Normal Syntax:
nul = [] execVM "scripts\CRACK_mountHuey.sqf";
(put in the mission's INIT.sqf file)

Use this line for any Huey's spawned during the mission:
["globalHueyAddToList", [Spawned_Hueys]] call CBA_fnc_globalEvent;

Examples:
This line can be put into a spawned Huey's INIT field:
["globalHueyAddToList", [this]] call CBA_fnc_globalEvent;

OR this line could be put into a script:
["globalHueyAddToList", [huey1, huey2, huey3, huey4]] call CBA_fnc_globalEvent;

OR this line could be put into a script:
["globalHueyAddToList", [_huey1, _huey2, _huey3, _huey4]] call CBA_fnc_globalEvent;


Notes:
This script has been tested in a Multiplayer Environment with 4 people and works perfectly, but does not function in SinglePlayer environments when the player switches between units.

Also, AI and players cannot be directly assigned to these seats, but I may create a function to do so later.

Please contact me at for any questions or concerns.


Change log:
v1.0.2
- FIXED: Turned off the ACE rotor backwash, which would cause players to rotate around and cough inside the huey

v1.0.1
- CHANGED: Made adding spawned Huey's to the list easier with the function
["globalHueyAddToList", [Spawned_Hueys]] call CBA_fnc_globalEvent;

v1.0.0
- NEW: 2 Extra Slots in each Huey, on the sides
- NEW: Player can Get Out or Roll Out
- NEW: No player damage sustained if the player rolls out while the Huey is hovering under 8 feet ATL
- NEW: New hint to tell players how to get out of the huey
- NEW: Easily changable positions and animations
- NEW: Players will not see action if no seats are available
- NEW: Added fail-safe for player death in the huey


Forums Topic:
- United Operations



- Advanced Combat Environment 2 OA - Core
- Community Base Addons




Enable javascript to be able to download from Armaholic please!



Tags: Crackman,   Huey,   Script,   Vietnam