Arma 3
Anti Wall Glitch Fix by Nerexis
109 Comments
Reticuli 9 Jul @ 9:13am 
Yes, changing their direction and pathfinding would be a good idea. They keep wanting to continue to go in the same direction of the barrier. Oh, and I'm getting a zillion barriers being created. And a good chunk of the problems with this mod have to do with getting into vehicles.
治水的大宇啊 25 Jun @ 12:52am 
here is a idea about that you could change ai's direction when this system working
kgp227 6 Feb @ 11:01am 
If you ever update this again, please consider adding a module that we can sync only the AI we want this script to run on. The fact it runs on every Ai in the mission creates a lot of problems for unit pathing.
malice20191 31 Jan @ 9:36am 
i tried this because zombies go through doors/walls,i could not prevent that with this mod.
Lelik 13 Oct, 2024 @ 3:30am 
Чувак, эта вещь с падением ботов с последующим превращением их регдолл с*сёт. Было бы круче если боты просто не проходили сквозь стены
ꑭᛟ Danon ꑭᛟ 11 Oct, 2024 @ 9:52am 
боты врезаються в стену, регдоляться а потом либо не смогут встать либо будут ходить с анимацией лежания :steamthumbsdown:
Adeptus 17 Sep, 2024 @ 4:21pm 
you could make teleport to opposite dir with added jump actually jump with enhanced movement ig? idk just suggesting
_mickey_ 28 Aug, 2024 @ 1:12pm 
After using this mod for a year, I can say that unfortunately this mod will have a bad effect on the AI, even if you do not use the "AI Recalculation Path" option.

Part of the AI units ​​(infantry) with this mod, will lose the ability to move and will stop, without the slightest reasons turning into stupid targets. They will stop forever, even in an empty place on the map and will stand like statues. They (AI) will remain in the same place, even when their AI-commanders go hundreds of meters ahead. And if the commander stops, then the entire squad will lose the ability to move.

Too sad...
STyx2909 29 Jul, 2024 @ 1:38pm 
Probably disabling the MOD when AI is entering a vehicle could save most of the issues we are encountering.
Faceman 18 May, 2024 @ 10:23pm 
I hope my comment helps you improve the mod, I think it is great, but when an AI encounters an event in which the mod must act, it does so appropriately, however, when you ask the AI ​​to move to another place The AI ​​no longer responds, it does nothing, it completely loses the ability to walk or do any action.
Hannibal 4 May, 2024 @ 10:03am 
yeah Ive been having this terrible problem with an issue where ai or myself will try to enter or exit a vehicle only to fall to ground. Eventually you can get up but takes awhile. This was happening soo much in crucial moments I had to research which mod I recently added was doing this. I finally tracked it to this one. I mean literally you would have the ai board a helo and they would just fall to the ground, no injuries present just glitching on the ground. This even occurred with camo nets. Soon as they got near a pole theyd fall to the ground.
STyx2909 23 Mar, 2024 @ 11:29am 
Have you considered limiting this MOD to a customizable radius around players, so it doesn't use extra CPU for units that are out of sight?
Era 7 Feb, 2024 @ 9:18pm 
So- Arma mission making, and the dedicated server- has been really funky over the last month
This weekend, my mission wouldn't boot on the server, as well as the backup mission that two others made in the unit

Removed one mod (anti-wall glitch mod), didn't work
Removed another mod (necroplague, which was probably responsible for the error log below), didn't work
Removed Intel documents from a mission, it worked?
Added back one mod, loaded same mission, works
Added back both mods, still works
Tried both original missions that wouldn't work, works (???)

Was arma being arma I guess, not this mod
The only two things that were referenced in the log though was necroplague and antiwallglitch

Apologies for the false positive report :steamfacepalm:
nerexis | nmilsim.wordpress.com  [author] 7 Feb, 2024 @ 9:25am 
@Era try without any other mods, it’s working fine on my dedicated server
Era 5 Feb, 2024 @ 11:06pm 
2:24:25 Error in expression <HitFace max HitNeck>
2:24:25 Error position: <HitFace max HitNeck>
2:24:25 Error Undefined variable in expression: hitface
2:24:25 Error compiling 'HitFace max HitNeck' in 'hithead'
2:24:25 Error in expression <HitPelvis max HitAbdomen max HitDiaphrag>
2:24:25 Error position: <HitPelvis max HitAbdomen max HitDiaphrag>
2:24:25 Error Undefined variable in expression: hitpelvis
2:24:25 Error compiling 'HitPelvis max HitAbdomen max HitDiaphragm max HitChest' in 'hitbody'
2:24:25 Error in expression <HitArms>
2:24:25 Error position: <HitArms>
2:24:25 Error Undefined variable in expression: hitarms
2:24:25 Error compiling 'HitArms' in 'hithands'
2:24:25 "ner_antiwallglitch_init_unit_event called"
2:24:25 EPE manager release (0|24|0)

This has suddenly stopped working, stopping any mission with AI spawned from booting on the dedicated server, not sure why, no mod changes
nerexis | nmilsim.wordpress.com  [author] 1 Dec, 2023 @ 7:48am 
We use the settings below for MP PVP server:
https://pastebin.com/XuY1AQpc
J-Money 1 Dec, 2023 @ 3:05am 
What are the best settings simply for AI to not run through walls and buildings?
STyx2909 16 Oct, 2023 @ 2:06am 
@liambaker14 try different "punishment" settings.
liambaker14 15 Oct, 2023 @ 1:25pm 
This mod caused a.i. squad members to run into each other and just fall down to the point they get stuck on the ground. I have noticed when this happens with this mod loaded.
_mickey_ 7 Oct, 2023 @ 6:11am 
I hope the author of this wonderful mod will find some solution!
_mickey_ 7 Oct, 2023 @ 6:07am 
This mod is absolutely great, but it has a few major problems.

If "Recalculate AI Path at Bad Location" is enabled, then some AI units or even entire ai-squads will get stuck on the map, ignoring their waypoints - https://youtu.be/pVDHsQ20FCo

If "Recalculate AI Path at Bad Location" is disable, then the problem with waypoints disappears - https://youtu.be/7zQjNTW7z68

but another problem arises - https://youtu.be/OsOoxrOBaVY
STyx2909 1 Oct, 2023 @ 2:00am 
Ok, will test, thank you.
Stray 30 Sep, 2023 @ 8:40pm 
@Styx2909 Try disabling the Option. "Path Planning" it worked for me but it could just be luck but it stopped happening after disabling it
STyx2909 24 Sep, 2023 @ 3:09am 
Until then, for months, i was using the Resetting their velocity and movement destination settings. But it seems it can cause the AI to get frozen a bit too much.
Switched to Adding an opposite force to push them back instead.

No bugs to report .
Used weekly and more in Antistasi, without FPS drop.
killenbigbugs72 2 Sep, 2023 @ 11:40am 
Its almost like they are disabling simulation
killenbigbugs72 2 Sep, 2023 @ 11:39am 
Seems to causing units to not be able to be deleted when the A.I touch each other
Reticuli 25 Aug, 2023 @ 3:38pm 
I was using 0.75 to 3 seconds, but have not tried the latest. Also, crouched, floating dudes.
nerexis | nmilsim.wordpress.com  [author] 25 Aug, 2023 @ 3:21pm 
@Reticuli I just added some performance optimizations. If you still experience lags, change the "Check Interval" option to a higher value like 0.5 then make sure to RESTART MISSION. I'm personally not getting any lag with 250 AI on map and 0.1 check interval.
Reticuli 25 Aug, 2023 @ 2:25pm 
Horrible lag. I stopped using it in its current form.
STyx2909 23 Aug, 2023 @ 3:50am 
I experience lag with this MOD in SP only. In MP it is running smoothly.
nerexis | nmilsim.wordpress.com  [author] 23 Aug, 2023 @ 3:07am 
@Panzer_Brigade Change the punishment type in the Addons Options
Reticuli 22 Aug, 2023 @ 10:27am 
The idea of this only working within a short range of the player is a great one.
Panzer_Brigade 22 Aug, 2023 @ 3:56am 
If I try to order KI's into a vehicle they automatic bounce and fall to the ground. Do you know why?
nerexis | nmilsim.wordpress.com  [author] 21 Aug, 2023 @ 1:28pm 
@SSG 1) We can add such feature in the next update
2) Dead bodies aren't checked, if you still see some issue please contact me via Steam
[SLAV]Lord_Frey [ru] 21 Aug, 2023 @ 6:16am 
Can i reupload&repack this mod in our server mod
Reticuli 19 Aug, 2023 @ 12:16am 
It's doing something still to injured people not even supposed to be moving, because some of the selections to mitigate going through walls causes them to bounce repeatedly for long periods. I presume it might also be still working on a corpse, which is not good. His improvement on units inside vehicles may have helped slightly, but not enough. Also, if you choose to add barriers, you get the ugly blue barrels sticking up everywhere through floors like planters or something.
SSG 18 Aug, 2023 @ 9:22pm 
Hi, further on this, got a few suggestions for the framerate issue:
1) does it help to check AI glitching for only AIs within, say, 50m of the players? Right now it feels like global and can easily drop 20fps in a mid-scale fighting
2) can AI glitching be stopped on dead bodies? Not sure if bodies are still being calculated but the glitch blocks are surely there
Reticuli 18 Aug, 2023 @ 3:03pm 
Cool, if you can get this framerate-friendly, it'd be a godsend to use. Now, if only we can find someone to fix the dreaded floating AI doing squats :-)
nerexis | nmilsim.wordpress.com  [author] 18 Aug, 2023 @ 9:57am 
@Reticuli I found a major issue when checking is still running for units inside vehicles, will be fixed soon in the next update. Thanks for reporting it.
Reticuli 12 Aug, 2023 @ 9:26pm 
Even with only head detection and checking ever 3 seconds, this cuts my frame rates by a third.
Dead_Head_Larry 12 Jun, 2023 @ 2:51pm 
@GRIZZLY The AI are going uncon when disembarking vehicles because you didn't change the punishment type. Go to the mod settings and select a different punishment type - like reset velocity and movement destination.

The AI are probably clipping through the vehicle somehow when disembarking, so the script punishes them by pushing or knocking them out. The punishment type is set to that by default.

Also skill issue. If you're testing new mods on the workshop, grandma's advice is to always load the bare minimum mods along with it to figure out what causes what issues, not all 200.
Rumbero ☸ 9 May, 2023 @ 12:03pm 
Thank you for your work! :steamhappy:
_mickey_ 15 Apr, 2023 @ 3:46am 
This great mod conflicts with another great mod - "Project SFX Remastered"

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2129532219

If player turn on extra basess when the player fires, then in some cases ( not every weapon ) strange sounds will be generated with a delay from the player shot. Video example here - https://www.youtube.com/watch?v=-Rd-fLyCJhU

Kindly request the authors of the mod to fix this conflict
doc it be like that 12 Apr, 2023 @ 9:15am 
the mod is cool though
doc it be like that 12 Apr, 2023 @ 9:15am 
disable the mod I can the mod but if your talking about stuff spawning in no i can not.
☠ Kibbe_Surdo ☠ 10 Apr, 2023 @ 6:13pm 
Hello, I just noticed that it causes one of the missions in the vanilla campaign to never trigger a completed task when you kill everyone in an enemy FOB..the mission where you start by commanding your squad to kill two guys in two different towers at the same time, thanks in advance
nerexis | nmilsim.wordpress.com  [author] 10 Apr, 2023 @ 10:56am 
@doc it be like that you can disable it via mod options right?
doc it be like that 9 Apr, 2023 @ 10:56pm 
can you fix the barrels from spawning in it happens for me love the mod but cant play when invincible barrels spawning in
STyx2909 20 Mar, 2023 @ 4:50am 
@Hakan, nope. Not to my knowledge.
evm 20 Mar, 2023 @ 4:21am 
Does it affect fps?