ULB Module – Arma 2

From Bohemia Interactive Community
m (Text replacement - "[[Image:" to "[[File:")
m (Some wiki formatting)
 
Line 1: Line 1:
{{TOC|side}}
{{TOC|side}}
== Usage ==


== Usage ==
=== Usage ===
=== Usage ===
# Switch to ULB using ''''ULB'''' item in action menu
 
# Click '''LMB''' to 'fire' the laser. Player where you aim is target.
# Switch to ULB using '''"ULB"''' item in action menu
# When conditions are good (HUD in top left corner - AMMO > 0, ACC > 0), press ''''Ctrl + LMB'''' or action from menu to fire a missile from player's vehicle
# {{Controls|LMB}} to 'fire' the laser
# When conditions are good (HUD in top left corner - AMMO > 0, ACC > 0), press {{Controls|Ctrl|LMB}} or action from menu to fire a missile from player's vehicle


=== Default Controls ===
=== Default Controls ===
* ''''ULB' option in action menu''' - switch to ULB view
* '''Enter [Num]''' - exit the ULB view
* '''Ctrl + LMB''' - fire weapon from original helicopter
* '''Q''' - Up
* '''Y''' - Down
* '''X''' - Turn left
* '''C''' - Turn right
* '''B''' - Mark position


* '''LMB in map''' - place new waypoint
* "ULB" option in action menu - switch to ULB view
* '''Ctrl + LMB in map''' - add new waypoint to currently existing ones
* {{Controls|NumEnter}} - exit the ULB view
* {{Controls|Ctrl|LMB}} - fire weapon from original helicopter
* {{Controls|Q}} - Up
* {{Controls|Y}} - Down
* {{Controls|X}} - Turn left
* {{Controls|C}} - Turn right
* {{Controls|B}} - Mark position
 
* {{Controls|LMB}} in map - place new waypoint
* {{Controls|Ctrl|LMB}} in map - add new waypoint to currently existing ones
 


== Startup ==
== Startup ==
=== Editor setup ===
 
=== Editor Setup ===
 
[[File:ULB.jpg]]
[[File:ULB.jpg]]
# '''ULB manager''' - module manager, can be found in ''Modules (F7) -> ULB''.
# '''ULB manager''' - module manager, can be found in ''Modules (F7) -> ULB''.
# '''ULB''' - unit with parent ''isULB = 1''. More ULBs can be assigned to one manager, the latest have the greatest priority.
# '''ULB''' - unit with parent <syntaxhighlight lang="cpp" inline>isULB = 1</syntaxhighlight>. Multiple ULBs can be assigned to one manager, the latest has the greatest priority.
# '''Units with access''' - any units without ''isUAV = 1;'' config param. They'll have 'ULB' action in menu.
# '''Units with access''' - any units without <syntaxhighlight lang="cpp" inline>isUAV = 1</syntaxhighlight> config param. They will have 'ULB' action in menu.
 
=== Optional Parameters ===


=== Optional parameters ===
Set variables to ULB manager with desired values:  
Set variables to ULB manager with desired values:  


*'''name = <string>;''' - name of ULB (displayed in action menu)
* '''name = <string>;''' - name of the ULB (displayed in action menu)
::Example: ''BIS_heli_uav_0 setvariable ["name","AH-6X"];''
:: Example: <sqf inline>BIS_heli_uav_0 setVariable ["name", "AH-6X"];</sqf>
::Default value: empty string
:: Default value: empty string


*'''unitList = <array>;''' - List of units with access to ULB. Same as synchronization to non-ULB units.
* '''unitList = <array>;''' - List of units with access to ULB. Same as synchronization to non-ULB units.
::Example: ''BIS_heli_uav_0 setvariable ["unitList",[hco_west_1,hco_west_2]];''
:: Example: <sqf inline>BIS_heli_uav_0 setVariable ["unitList", [hco_west_1, hco_west_2]];</sqf>
::Default value: units synchronized in editor
:: Default value: units synchronised in editor


*'''UAVList = <array>;''' - List of ULBs. Same as synchronization to ULB units.
* '''UAVList = <array>;''' - List of ULBs. Same as synchronization to ULB units.
::Example: ''BIS_heli_uav_0 setvariable ["UAVList",[ULB_1,ULB_2]];''
:: Example: <sqf inline>BIS_heli_uav_0 setVariable ["UAVList", [ULB_1, ULB_2]];</sqf>
::Default value: ULBs synchronized in editor
:: Default value: ULBs synchronised in editor




{{GameCategory|arma2|Editor Modules}}
{{GameCategory|arma2|Editor Modules}}

Latest revision as of 04:15, 2 January 2026

Usage

Usage

  1. Switch to ULB using "ULB" item in action menu
  2. Left Mouse Button to 'fire' the laser
  3. When conditions are good (HUD in top left corner - AMMO > 0, ACC > 0), press Ctrl + Left Mouse Button or action from menu to fire a missile from player's vehicle

Default Controls

  • "ULB" option in action menu - switch to ULB view
  • NUM Enter ↵ - exit the ULB view
  • Ctrl + Left Mouse Button - fire weapon from original helicopter
  • Q - Up
  • Y - Down
  • X - Turn left
  • C - Turn right
  • B - Mark position
  • Left Mouse Button in map - place new waypoint
  • Ctrl + Left Mouse Button in map - add new waypoint to currently existing ones


Startup

Editor Setup

ULB.jpg

  1. ULB manager - module manager, can be found in Modules (F7) -> ULB.
  2. ULB - unit with parent isULB = 1. Multiple ULBs can be assigned to one manager, the latest has the greatest priority.
  3. Units with access - any units without isUAV = 1 config param. They will have 'ULB' action in menu.

Optional Parameters

Set variables to ULB manager with desired values:

  • name = <string>; - name of the ULB (displayed in action menu)
Example: BIS_heli_uav_0 setVariable ["name", "AH-6X"];
Default value: empty string
  • unitList = <array>; - List of units with access to ULB. Same as synchronization to non-ULB units.
Example: BIS_heli_uav_0 setVariable ["unitList", [hco_west_1, hco_west_2]];
Default value: units synchronised in editor
  • UAVList = <array>; - List of ULBs. Same as synchronization to ULB units.
Example: BIS_heli_uav_0 setVariable ["UAVList", [ULB_1, ULB_2]];
Default value: ULBs synchronised in editor