AI Enhancement Mods
The following listing of mods are all the AI enhancement mods in COWarModI44
Note: these files are located in the customization folder
- All Round Defence
- ASR AI Addons
- Infantry Stealth and Recognition Skills
- Mechanized Infantry Tactics Addon
- Driving AI fix
- Zeus AI Combat Skills & AI Spotting modular
Makes the AI use the Glock and the Revolver at the correct distance.
Included .pbo files:
All Round Defence
All Round Defense (ARD) is a formation typically used by the British Army (and other fighting forces)
after a firefight to 're-org' the squad, making sure everyone has ammunition and tending any wounds.
As per it's name, it can also be used defensively, providing 360 degree coverage.
Included .pbo files:
ASR AI Addons
AI units equip with weapons and ammo on their own.
- Take what's needed from about anywhere possible: crates, vehicles, stuff dropped on the ground, dead soldiers and their backpacks.
- Also rearming from their own backpack or from another (alive) AI's pack in the group.
- Equip with primary weapons, launchers and sidearms, ammo, frag grenades, smoke grenades, binoculars, NVGs.
- Take rocket launchers if not carrying a rucksack (OA or ACE) or the primary weapon is a sniper rifle, machine gun or automatic rifle.
- Grab a little extra ammo when using specialist weapons (sniper, MG, AR) since they won't take a launcher.
- Will only take items when there's space for them in the inventory unless the items are important (launcher ammo or medic kits).
- Will try and grab all useful items found in a place on a single run.
- Do not rearm if any of these conditions is met: option globally disabled / unit is: busy doing something / in a vehicle / captive / hiding / in combat / unconscious
- Units rearm even while in combat if they have no weapons to fight with (unless they're commanded to stay put).
- Configurable options can also be set at the beginning or during the mission by changing the global variables (turn rearming on/off or allow civilians to rearm etc.)
- Some options can also be set in game using the comms menu (0-8).
AI skills and awareness improvements
- Every unit, for every skill defined, has a base minimum skill level to which a small random level is added. The base
level and the random value added depend on the unit type.
The goal was to make the AI better, more diverse and distinct by type. Some units will be better skilled than others.
For example, a team leader will usually be better than a regular grunt, a SF unit will have the highest skills, while
an armed villager will present the lowest threat.
By default, these skills are set: aimingAccuracy, aimingShake, aimingSpeed, spotDistance, spotTime, courage.
Users can configure the other skills and set their own levels by editing a userconfig file.
All Arma2, OA, BAF, PMC and ACE units are fully supported by this addon but most 3rd party mods should be too, with
exceptions, like when a regular or insurgent type unit is created based on a SF unit etc.
- AI radio net (only for servers and single-player).
When a group learns enough about an enemy, it will broadcast information about that enemy over radio to all friendly
groups within a configured range. The info is sent with a delay, so to prevent breaking breaking stealth, quick takedowns
are required. Sending and receiving groups must have radios. No waypoints are set, no orders given, just information sent,
default game AI decides what to do with it.
- When crewmen or pilots have to bail out of their vehicle because it was damaged, they won't be as willing to charge
the enemy as before. They might flee or run for cover instead, until they get into another vehicle when they gain some
- AI spotting distance automatically reduced at night (and restored at day). Default is half distance at night, can be changed
Included .pbo files:
Infantry Stealth and Recognition Skills
This mod allows the user to adjust several specific AI variables that effect the stealth movement
and recognition skills of the game. It comes with a file an HPP file that goes into the userconfig folder,
which is where the adjustments are made (instructions are located in the file).
Attributes that can be adjusted:
- Audible - How load a unit is when moving
- Camouflage - How easy a unit is to see
- Sensitivity - How well and how far the given unit senses other units
- SensitivityEar - How well can the given unit hear others units
- Units defined:
- All vanilla factions/units - Then broken down into 3 categories each (if required)
- Categories include:
- Basic Infantry units
- Snipers, spotters, marksmen, scouts and units with silenced weapons
- Launchers including AT, AA and RPG units
Included .pbo files:
Mechanized Infantry Tactics Addon
This is the addon version of the Mechanized Infantry Tactics script and will cause the
AI to use this standard behavior.
Explanation of the script and its standard behavior:
This is a script which makes infantry fighting vehicles and their infantry squad cooperate better.
It does so in a simple way, when the vehicle discovers an enemy and the enemy is
within preset engagement range then:
1. The vehicle stops.
2. The infantry squad dismounts and get locked out of their vehicle.
3. The infantry goes in to combat mode and moves to the enemy position.
4. The vehicle follows the infantry and support its attack.
5. After the engagement the infantry mounts up.
Also their exist a radio command that will lock up all the infantry in to their ifvs cargo.
Their also exist one to unlock. They will only be locked in to their cargo until the group reaches next waypoint.
If you want it to activate for certain waypoints it can be made, instructions in "3. Add and disable options.".
Standard behavior is that the script will detect all ifv on the map with infantry in their group on mission start.
Bind these infantry to the ifv and activate the script for these.
Radio command exist that will lock the cargo of the vehicles until the group reaches their next waypoint.
I am/was a trained mech infantry soldier, so when i saw the standard behavior of the ai during assault, with its constant dismount and mount up with no logic and that the ifv wondered off i decided to code my own ai script to solve this. So i started this summer and got a basic version up fast, but now i got a good version up which is highly customizable. The original thread is in the mission section here http://forums.bistudio.com/showthread.php?t=105064 .
- Provides more realistic combat behavior from mechanized infantry squads.
- Default behavior is that the script identifies every ifv with a squad on the start of the mission, in cargo or dismounted, and connects these to each other via code (2 arrays with same index) and activates the script for these units.
- Can be changed via init file value so it discovers new vehicle with infantry continually during game run.
- Can easily be modified so it only activates the script for the vehicles you pass to the script, just disable the automatic discovery code and pass an array with vehicle objects in the init file, instructions are on the top of the script file in comments and in the init file.
- In init their is a variable to make the ifv halt and stand still during combat.
- Easy to customize the behavior during different parts of the combat.
- Script only tested with IFV and APC.
- Tested with vanilla Arma2. But i have AO also.
- Added so you can lock the infantry in to the cargo with radio command or by global value.
Included .pbo files:
Driving AI fix
It tweaks the AI driving variables to the point that vehicles are able to turn more accurately,
with fewer back and forth motions.
The bigger trucks had a ridiculous and unrealistic turn radius making them hit everything.
This has been corrected.
The AI can drive for what could be called a boring amount of time, without crashing
or getting stuck on fences and streetlamps.
Included .pbo file(s):
Zeus AI Combat Skills & AI Spotting modular
This mod improves the ability of AI soldiers in a number of key areas:
- Improves AI's ability to spot and engage enemy, extending engagement ranges
out to 500m and beyond
- Changes the speed at which an AI can get a bead on a target
- The AI now reacts to effective enemy fire, before taking casualties
- Accuracy is changed to ensure sustained firefights take place, allowing
movement under contact with good use of cover. Ammunition dispersion and
weapon accuracy are not changed
- AI use smoke and frag. Be aware of your enemy's ability to throw frags!
- AI hearing ability is reduced to realistic levels, enabling a player to make
stealthy close quarter approaches providing he can remain unseen
- Vehicle gunners now react to enemy fire
- Building on the native game feature, AI characters have varying ability to
spot enemy according to role. This is to represent equipment and training
variation, e.g. Observers, Snipers and Officers with Binoculars have greater
ability to detect enemy
- Sniper teams that make effective use of tactics, cover & concealment can now
carry out their mission, especially at extended engagement ranges
- Careful movement and correct use of formation is now an important factor in
improving a soldiers survivability, as are planned ingress and egress routes
- AI react more aggressively under contact and don't give up as easily
- Injuries occur more frequently in firefights. Good drills and wise medics are
now an essential part of the game
It is fully tested in single and multiplayer and causes no known issues.
For coop multiplayer, it is recommended to be installed both on the server and
If the server is running the mod and you choose not to install it client side,
then any AI you command will be at a disadvantage compared to the server
Included .pbo files:
SLX AI Files
SLX_AI: Replaces A2 danger.fsm to improve AI reactions.
SLX_AI_Diff_Armor_Balance: Make people armor not be affected by difficulty setting.
SLX_AI_Difficulties: Make skill settings reset to 1 no matter what the precision is.
Removed do to Zeus AI does close the same thing but better, as well as ASR rearming/Skill
SLX_AI_Dodge: Resource for SLX_AI and SLX_ShotEffects. Makes AIs do evasive moves towards cover.
SLX_AI_Identify: Lets AI identify obvious object types better (Something in the air is probably an aircraft, etc.), changes AI hearing ranges for vehicles (can't hear someone
sneaking up when inside a tank), changes default threat levels, helps AI spend less time firing on a target they can't hit, makes AI keep low in combat, shoot more than stay in
formation, faster aiming in CQB, calling things by more proper names, special operations people are sneakier/harder to hear, AIs reach waypoints better in vehicles, changes
the default spotability and audibility of vehicle types, makes AIs not attempt to shoot at plane pilots if they can't attack the plane.
SLX_AI_NoAutoEngage: Make AI people not suicide engage/attack on their own. Intended for use with GL3 to make AIs attack only when they should,
when they have the advantage so they don't suicide engage. Vehicles still attack on their own.
SLX_AI_SpawnSkill: Sets the skill of AIs that are spawned using createUnit command depending on their loadout, such as in warfare mode.
It appears to be an A2 bug that AIs are now created with full skill instead of .5 skill.
SLX_AI_Steering: Makes AI drive/pilot cars/helicopters/planes better with much less crashing.
SLX_AISkill: Changes AI skills for more variable accuracy and faster more aware AI.
Removed do to Zeus AI does close the same thing but better
SLX_Alpha_Teams: Makes the color coded team names in english be called by the phonetic alphabet. (red is alpha, green is bravo,
blue is charlie, yellow is delta, white is echo)
SLX_FindCover: AI utility functions for finding cover and making AI's make a course diversion then continue on to their original destination.
SLX_Wounds: Based on real life footage and statistics (W. E. Fairbairn, FBI, police, thehighroad.org, etc).
Dependencies: SLX_NetCode, SLX_Shout, SLX_VehicleEffects (optional).
Location based wound effects on people when they are hit.
Arms - Small chance of an accidental discharge of their primary weapon. Small chance of dropping primary and/or secondary weapon when arms are very damaged.
Legs - Good chance of falling down prone if legs are very damaged. No effect when already prone.
Torso - Good chance of getting knocked down and out of breath for a second if damage is over 50%. If the torso is over 80% damaged and overall health is less than 60% then the person is critically wounded.
Head - 30% chance of temporary deafness and a 40% chance of temporary deafness, disorientation, and falling down if head is less than 50% damaged, most likely caused by grenade blasts. 90% chance of temporary deafness and falling if head is over 50% damaged.
If the person is hit in the head, body, or legs and overall health is less than the "SLX_Wounded" value then they are critically wounded.
Critically wounded :
The person drops their primary weapon and lays on the ground writhing and screaming until either they are healed or die. They are unable to shoot any weapons, but can still throw hand grenades, so watch out. Killing wounded people that pose no threat at the moment(haven't thrown a hand grenade) will deduct 450 rating points. So if you have 0 rating points and killing a soldier gets +200 rating points and you kill a wounded soldier you end up with -250 rating points.
Wounded or dead people can be dragged to a safer location for giving first aid, corpse recovery, or item scavenging. Be careful of moving heavily wounded people though, moving them might kill them. Objects can also be dragged.
Giving first aid to wounded:
Giving first aid is based on the skill of the person giving first aid. If first aid is unsuccessful in stabilizing the wounded person's condition then you will have to wait for a while before trying again. Giving first aid gives you rating points proportional to the skill of the person first aid is being given to.
If a wounded enemy is healed they will surrender. They can be taken captive and you can tell them to stay or follow you. If the captive is too far from you they will try to escape and continue fighting. Taking captives gives you rating points proportional to the skill of the person being taken captive. Killing captives suffers the same rating deduction as for killing wounded. For a zero skilled soldier you should get 200 points for giving them first aid and taking them captive, the same as if you had killed them, but if you kill them after giving first aid and taking them captive you still end up losing 50 rating points.
Moving people/objects in vehicles:
People/objects can be moved into vehicles by getting into the vehicle while dragging or by using the Drag or Follow action when in a vehicle to load more than one object. Make sure the action is in your action menu when entering the vehicle or you won't be able to use it. There must be free cargo space in the vehicle for the person to enter. Try moving the person to the other side of the vehicle from where you enter, then look at the person and the action should show up. An action is added to the vehicle to unload wounded and dead people.
Dropped weapons can be destroyed by using the action menu close to them or by damaging(by shooting, etc) them to 50%. They can only be picked up by the action menu. They are affected by physics and can get thrown into the air from explosions.
AI's helping wounded/dead:
AI's will automatically try and help wounded or dead people. They will attempt to drag them into a safer position before giving first aid or scavenging weapons. AI's immediately go into alert mode when someone is wounded or killed.
AI's taking secondary weapons and machine guns:
If someone with a secondary weapon or a machine gun dies then another AI from their squad will
attempt to come and pick up the weapon.
If a person is killed with a high explosive and their velocity is high enough then they will be torn apart. Can be disabled by setting number of gibs to zero.