Arma 3
288 ratings
AGC - Advanced Garbage Collector
Data Type: Mod, Server
File Size
0.125 MB
Apr 27, 2019 @ 6:10am
May 21, 2019 @ 4:25pm
4 Change Notes ( view )

Subscribe to download
AGC - Advanced Garbage Collector

Dead bodies take too many FPS? Want to have persistent bodies, but also playable FPS?
This mod is all you need, with every parameter configurable from CBA settings!

What does this mod do?
In short, this addon replaces dead bodies located far from players with simple object (right now - a body bag). When players approach the simple object, it is again replaced with that same body and every item and weapon on it.

Look at the pictures above to see difference with and without this addon (256 dead bodies, on crappy laptop with crappy laptop CPU, 1440p).
Of course, having 256 dead bodies is madness in itself, but it shows the difference. With crappy PC like mine, every frame counts. And with simple objects, you can have virtually unlimited number of dead bodies with little to no performance impact! Well, as long as all bodies are not present in same place as players. But the addon solves this problem too! Check all options in CBA settings (everything can be changed mid game!).

As of right now, this mod is server side and SHOULD not make dependencies to mission. But I still would recommend for everyone to download this, its below 1MB. And you would have the option to change settings in 3den/game.

You can exclude unit from AGC by adding unit to AGC blacklist in unit attributes (3den) or set
this setVariable ['GCblackList', true];

Update 01.05.2019:
- Faces and names are now saved and restored.
- Add an option to multiply check bodies on each script tick after body count threshold.
- Add body count for each side (need to bind key in CBA settings). Zeus can always check and send it to other players. Players can check it by themselves at any time, but only when it is allowed in CBA settings.

Update 22.05.2019:
- exclude units in vehicles from AGC
- fixed dead count (see CBA - AGC keybinds)
- item removal set on next frame
- fixed some missing ";"
< >
Squable Oct 31, 2021 @ 11:38pm 
Hey! Do you mind if I fold this into my units mod? With the credit of course.
Lufian Sep 15, 2021 @ 5:10am 
is this just server side?
Lufian Jul 14, 2021 @ 4:36pm 
seems to get desync issues using this with ACRE2.
lil Patty Apr 29, 2021 @ 1:09pm 
@Fell Used the mod for a bit now with RHS installed and no such problem has happened to us. Should be fine

@Madin Before using this mod we struggled with FPS before we even started the gunfight and dont get me started during and after. But with this mod installed the gameplay experience increased Drastically. Definitely one of my Core mods from now on.
Strelok Dec 29, 2020 @ 11:49am 
Has this bug been resolved?
- dead bodies become RHS-US Rifleman sporadically (sometimes before sometimes after player interaction with body)
Sceluswe Oct 11, 2020 @ 9:07pm 
@Madin Thank you! That'd be awesome!
Madin  [author] Oct 11, 2020 @ 11:42am 
@Sceluswe i agree, it should be as option, probably i add it soon™
Sceluswe Oct 11, 2020 @ 10:48am 
This doesn't seem to recognize players being close to a body while inside a vehicle. I see that the 22.05.2019 update seems to have made it that way. It's a poor design choice. If I leave a vehicle too close to a body it'll blow it up when the body spawns in. If possible it should be an option to exclude vehicles or to not exclude vehicles in addon options.
KyklopCZ Sep 9, 2020 @ 9:02am 
@Matx [Fr] As a coder
"- fixed some missing \";\" " :)
KycbMaH Jul 5, 2020 @ 4:53am 
Hi, listen, can I get your permission to place this mod in my modpack?