Arma 3
1,213 ratings
ACSTG AI Cannot See Through Grass
29
15
3
10
8
4
2
2
2
3
3
3
5
4
3
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Data Type: Mod
Mod Type: Mechanics
File Size
Posted
Updated
2.173 MB
14 Mar, 2023 @ 6:41am
23 Apr, 2023 @ 2:21pm
15 Change Notes ( view )

Subscribe to download
ACSTG AI Cannot See Through Grass

Description
With this mod the AI will lose sight of the player if its line of sight (LOS) is obstructed by grass. Unlike with Real Engine and Dynamic Camo mods, this means you can be hidden while on tarmac, bare ground, with wrong camouflage, you can be prone, crouching or standing upright - and remain hidden - IF enemy AI's LOS to you is obstructed by grass.

The first two videos above are with the Mod, the 3rd video is default Arma3 (for an easy comparison; coloured indicators are for clarity, they are not part of the mod).

It's been over a 10 year wait (more if you count Arma 2 etc?), but it is finally in Arma 3. The mod was tested on the default maps - Altis, Stratis, etc, but should work on any map that has a string "grass" in grass texture files name.

How it is without the mod in vanilla Arma3 right now: AI has X-ray vision through grass. It is able to spot the player through the grass and, once spotted, maintain lock despite the player being obstructed by grass and changing directions hundreds of meters away. Playing without grass is not an option (very ugly), same with short grass mods (ugly ). Being unable to disengage and use grass for concealment is also boring, as is being relentlessly pinged by the omniscient AI after the first shots have been fired, and our Dynamic Camo mod/Real Engine mod cover is blown. Short/medium grass looks great in Arma 3 and allows for deeper tactics - when this grass isn't ignored by the AI that is 🙂

------------------------------------------------------

Move slowly and make use of LCtrl+W and LCtrl+S to gradually change your stance to carefully peek around and through the grass. Fast, abrupt movements can blow your cover.

All (?) AI mods are compatible with this mod, as it does not change anything in the AI logic. It is also compatible with Real Engine and Dynamic Camo mods, since its algorithm is completely different to them.

The mod is doing quite a few calculations, but I have noticed no fps drop with 20 AI simultaneously swarming the player.

Our AI teammates may also use grass for concealment. However, their system is simplified compared to the player's (more like RE than ACSTG - to reduce the computation load). It works only when our AI teammates crawl through the grass. But, this should be enough to approach and disengage as a concealed unified squad - under many circumstances. See this video for a demo: https://youtu.be/VbTFwcXq_I8

Licensing - standard Arma APL-ND https://www.bohemia.net/community/licenses/arma-public-license-nd .

EDIT: Updated the mod to work in Campaign missions and not just Eden Editor ones. Other minor improvements.
EDIT2: Updated the mod to work in multiplayer. Multiplayer signatures were tested on a sever (big thanks to @Gunter Severloh!) and appear to finally be working. Make sure you delete old bikey files and use the bikey from the current version (ACSTG_2.bikey). The mod needs to run on both the server and the clients.
EDIT3: Added AI teammates' concealment.
Popular Discussions View All (4)
38
26 Apr @ 9:16am
Incompatible Mods?
claudiopolez
21
1 Mar, 2024 @ 8:04am
Multiplayer feedback and discussion
claudiopolez
5
19 Sep, 2024 @ 4:12am
Error when joning dedicated server with this mod enabled
M700N
365 Comments
claudiopolez  [author] 19 Jul @ 10:55pm 
@Sablus Maximus Decimus, a late reply, but... :) this mod is about grass only, bushes are not affected. See the attached demo videos
Sablus Maximus Decimus 31 May @ 3:03pm 
AI seems to still be shooting people accross the bushes
RASTAFARI 3 Mar @ 12:22pm 
Notice: This mod is server killer! Not recommended for MP.
ThorbenFP 17 Feb @ 1:21am 
Playing antistasi with 3 people and no performance issues! Works great. No more bullshit deaths
Silverion 6 Feb @ 3:30am 
10/10 Best lag machine ever. Would not recommend.
claudiopolez  [author] 28 Jan @ 4:25am 
@Jeff Dangls, thanks for the suggestions! The code is a bit different to the one I've posted on the forums, e.g., _pspeed was a hacky temporary measure that was done away with once I've switched to my own custom made wall object. The grass for loop I will check - thanks!
@BlackKnight - see the message by Silence, below
[PTH] Citizen Battle 10 Jan @ 8:20pm 
Stay AWAY from this mod for large-groups on a dedicated server. It kills performance
Jeff Dangls 10 Dec, 2024 @ 10:46am 
Hello. If the code on bohemia [forums.bohemia.net] is the same as the current one here, which I suspect it is given the similar dates, I suggest the following improvements to the code:

1) Replace the _pspeed if clauses with a three-case switch
2) move the toLowerANSI grass check outside the for loop so that if != “grass”, we don't need to calculate anything since we're not on grass.

But regardless, thanks for the mod and the work involved.
thy 10 Dec, 2024 @ 4:35am 
Server owner, be aware!!! This mod is absolutely performance-killer in multiplayer. As much players you have, bye-bye Server CPU. This literally creates 'walls" around EACH player for EACH enemy, checking those "walls existence" multiple times per second.
We give up this solution on our server until this be solved somehow.

For single-player or you and someone else, perfect solution.
BlackKnight 30 Nov, 2024 @ 4:37am 
Could you get this to work on Antistasi Ultimate ?