Search the Community
Showing results for tags 'artificial commander'.
Found 1 result
HETMAN - Artificial Leader [NR6 Edition]
NinjaRider600 posted a topic in ARMA 3 - ADDONS & MODS: COMPLETENewest Versions: -HAL 1.22 HAL 1.22.10 RC3 [NR6] (SCRIPT VERSION ONLY) -HAL 1.23 (discontinued) HAL 1.23.4 [NR6] (SCRIPT VERSION ONLY) Mod version of the NR6 pack under construction. Download Links: HAL 1.22: HAL 1.22.10 RC3 [NR6] (Google Drive) HAL 1.22.10 - Brief Radio RC3 [NR6] (Google Drive) HAL 1.23 "WIP" (discontinued, features from .23 will be eventually added to .22) HAL 1.23.4 [NR6] (Google Drive) 1.23 has been discontinued on HAL NR6 for now since the modifications I've made are larger than the ones 1.23 contain over 1.22 and remaking 1.23 altogether would be easier. Old Versions Archive Armaholic: HAL 1.22 [NR6] (Armaholic) User manual from original mod: PDF manual Mission Samples And Set up Template for Big Boss and Large Scale scenarios: Sample Pack 1.01 (HAL 1.23.3 + NR6 Reinforcements + NR6 ZBE_Cache) (OLD, NEW SAMPLE SOON) Note: Most of these samples use CUP and RHS. If you want a clear demo of how I usually setup missions, use the Stratis sample and the template included in the pack. NR6 PACK containing HAL and many more expansions: NR6 ZBE_Cache for HAL (contained also in the NR6 PACK): INTRODUCTION This is a a modified/updated version of HETMAN - HAL by Rydygier which includes various changes/upgrades concerning battlefield immersion, new features and compatibility with dedicated server. The functionality of the script itself is expanded and upgraded but works almost the same way as the original HAL does. For a detailed description of the original system by Rydygier, you can find his here. The original scope I had for this project was to add some immersion with better player to AI commander interactions but it turned out to be something vastly more complex. The intended NR6 HAL experience contained in the NR6 Pack, my main project which can be found above the introduction. There you will find tons of new utilities and scripts that expand the battlefield with the intention of making HAL an almost autonomous battlefield generator which would require as little mission making as possible. USAGE So far, I have only made a script version of the modified system which means that you will have to include all the contents of the script's files in the directory of the mission on which you want the system to run. AS OF 1.22.8: Simple mode is activated by default meaning that you have to set up HAL as previously done, but instead of placing objectives as RydHQ_Obj1,RydHQ_Obj2, RydHQ_Obj3, RydHQ_Obj4, you do not need to place them at all. Instead, you must add objectives by placing down objects (such as gamelogics or triggers) and putting these objects in the array of your leader (ex: RydHQ_SimpleObjs = [myobj1,myobj2,myobj3]). Unlike the previous system, there is no specific order they will follow to capture these objectives other than distance and convenience. There is also no limit of how many objectives you can place down. Additionally, I have added a preinit.sqf file in which you can place variables and empty arrays you want to be defined before anything else is loaded in the mission. This can be useful if you want to use the pushback command for adding your objectives to the array instead of naming them. I will have example missions for this in the near future. Even though the new system is faster to setup and more flexible, please read the original documentation concerning how to use HAL. This is the only major difference other than the additional features. Quoted from the original thread: "To activate HAL for one side, one of the units of that side must be named LeaderHQ. Essential also is the placement on the map of any object (for example, an empty trigger) named RydHQ_Obj1. The location is entirely your choice. Its position will designate a target point which the Artificial Commander will try to conquer at first (for example, a spot near the leader of the opposing side). Analogously, there should be placed in freely chosen areas (eg in cities, strategic positions or simply nearby opposite Leader) three other objectives (RydHQ_Obj2, RydHQ_Obj3, RydHQ_Obj4), which will be conquered in numerical order. If the mission designer wants less than four objectives, then simply place the unneeded objectives at same position as the ultimate objective. For the script version only, to initialize HAL the following code should also be executed in some way, e.g., by placing the following script in the init field of any object (for example, in the activation field of an empty trigger or waypoint): nul =  execVM "RydHQInit.sqf"; Alternatively, that line may be placed at the end of a mission's init.sqf. Init.sqf is recommended place for init config variables (beacuse of better readability), especially for bigger configs, eg containing RHQ arrays. See included manual for all details, and there is lots of them." As said by Rydygier on the original thread, it is important to read the user manual in order to properly setup HAL and fully enjoy its capabilities. FEATURES -[ADDED] Radio chat with both sound and text from other AI groups and LeaderHQ work on both dedicated server and singleplayer (added a sideradio function); -[ADDED] Orders from HQ usually given through OLYMPUS work on dedicated server as well; -[CHANGED] Contents of the order messages from HQ use squadID instead of mission names and come from the Leaders themselves instead of OLYMPUS channel; -[CHANGED] New markers for debug of a more aesthetic variant with additional info such as groupID; -[CHANGED] Revamped the task system for players to work on dedicated server (instead of only giving a notification) and to include more immersive tittles and description while also using tasktypes for more interesting tasks; -[CHANGED] Removed the markers for players in the debug since the task system takes care of it. Made the markers for players same as for AI groups; -[CHANGED] Fixed different typos; -[CHANGED] Changed the contents of the radio calls to something that I find more immersive; -[ADDED] "AreaTakenA" or "AreaTakenB" config values to add in init of Gamelogic representing objective for BigBoss -[ADDED] Ability to deny tasks and enable/disable tasking. Set RydHQ_TaskActions = true to enable system; -[ADDED] Ability to deny tasks and enable/disable tasking using ACE Interactions instead. Set RydHQ_TaskActionsAceOnly= true to enable system alongside RydHQ_TaskActions; -[ADDED] New Big Boss system can assign up to 4 objectives per Leader; -[ADDED] BFT style markers for friendly and known enemy (update each cycle); -[CHANGED] Tasks now show up for entire group and players who are not always squad leaders; -[CHANGED] New defensive mode guards all Big Boss objectives; -[CHANGED] Fixed cargo system; -[ADDED] Option to use NR6 Site's defense for garrisons if NR6 Sites is installed; -[ADDED] Complete overhaul of HAL's objectives. New simple mode is activated by default. Removes the limit of 4 fixed objectives per leader and removes the need of Big Boss for having multiple objectives captured at once. -[ADDED] Lots of new features, documentation of them will be added at a later date. NEW CONFIG VARIABLES: General: RydHQ_TaskActions = true; Makes player actions for tasks active; (Regular actions don't work in vehicles, only ACE ones) (Boolean) RydHQ_SupportActions = true; Adds support actions (request infantry, armored, CAS, transport support) RydHQ_TaskActionsAceOnly = true; Makes player task actions only visible in ACE actions (Boolean) RydxHQ_GarrisonV2 = true; Activates NR6 Site's CBA Defense script to replace HAL garrisons (Boolean) RydxHQ_NoRestPlayers = true; Removes withdraw orders for player led groups recommended if using actions RydxHQ_NoCargoPlayers = true; Removes cargo assignment for player led groups recommended if using actions RydxHQ_ReconCargo = true; Recon missions will use cargo system RydxHQ_InfoMarkersID = false; Adds groud ID next to BFT markers Leader specific: RydHQ_InfoMarkers = true; Activates BFT for the Leader (Boolean) RydHQ_BBAOObj = 1; Sets the number of objectives that can be captured at once with Big Boss (Integer from 1 to 4, ) RydHQ_SimpleMode = true; Activates simple mode (default true) RydHQ_SimpleObjs =  Array of objectives for that leader. Place the objects you want to use as objectives for that leader in this array RydHQ_MaxSimpleObjs = 5 Maximum objectives to capture at once in simple mode RydHQ_CRDefRes = 0.5; Ratio of how many groups will remain as reserve patrolling among different objectives in defensive mode (these groups can be used as defensive attack/recon when the Leader is still in defensive stance) Simple Objective Specific: this setvariable ["SetTakenA",true]; sets given simple objective captured for the leader mentioned (A,B,C,D,E,F,G,H) Important to be used on objectives already captured at mission start otherwise the leader will capture its own objectives first. Group specific: this setvariable ["Unable",true]; Makes Group unable to follow tasks while keeping it under HAL control, used in player task actions and Sites Advise me if I forgot any. NOTES: If using Big Boss, turn simple mode off. Capture orders are now less simple minded. If you use RydHQ_NoRec = 100 and RydHQ_RapidCapt = 0 to remove recon missions in order to speed thing up, groups will disembark 400 to 600m before the objective and will approach them more strategically meaning that even though the Leader is sending its troops without any recon, they will act as if they don't know what's there yet and use caution. CHANGE LOG HAL 1.22 -HAL 1.22.9 RC1-RC6 -New tasking menu; -New tasking system; -Additional logistics requests (fuel/ammo/med/repair/ammodrop); -Improved infantry/armor/CAS supports to provide support regardless of known enemy presence; -New secondary tasks about the status of objectives (ignore the Error Type Group, expected Array,String,Object); -Tweaked Attack/Defend modes for commanders which alternate according to threat; -Defend mode more aggressive in threat response; -Option to replace idle orders with patrol orders between captured objectives; -Simple Objectives can be turned to patrol points; -Cargo system now constantly provides lifts to AI squads instead of only doing so at the issuing of the order; -RHQAutofill function now run on every order cycle to ensure proper order issuing; -Included squads are now also always evaluated to make sure they get the proper orders. Players can now hop in a new vehicle and get the proper tasks linked to the role of that vehicle; -More variables and options to be documented in the user manual; -Garrison squad busy check improved; -Improved ammo drop precision for fixed wing drops; -Commander now checks on each cycle whether objectives have been captured or not instead on relying on the completion of capture orders. This allows players to capture objectives on their own without the need of orders (simple mode, BB runs a separate check); -Improved behavior of air units to use proper ROE and not have their NAV lights on when approaching an AO. CREDITS All credits for the original system go to Rydygier who created this powerful script that has been greatly improving large scale battlefield scenarios since previous versions of Arma. BUG REPORTING If you encounter any bugs concerning this new version of HAL, do not hesitate to provide feedback on this thread as it will help me improve the script.