ferstaberinde / F3

ArmA 3 mission development framework
http://www.ferstaberinde.com/f3/en/
58 stars 36 forks source link

replace dead body component? #660

Open captainblaffer opened 9 years ago

captainblaffer commented 9 years ago

Is it a good idea to replace the F3 remove body component with the A3 variant?

F3: https://github.com/ferstaberinde/F3/tree/master/f/removeBody

A3: https://community.bistudio.com/wiki/Description.ext#corpseManagerMode http://feedback.arma3.com/view.php?id=17532#c73262 http://feedback.arma3.com/view.php?id=19377#c79315

I have tested the A3 corpse manager locally and it seems to be working fine

Improvements this would bring: less server strain, support for removing bodies spawned mid-mission.

Sniperhid commented 9 years ago

IIRC (may be completely wrong), the vanilla version doesn't take into account bodies that you are near or allow you to 'whitelist' VIP/player bodies to not be removed?

Personally this isn't something I use so I don't mind either way.

captainblaffer commented 9 years ago

You may be right the whitelist feature is lost. Didn't consider that. Doesn't seem to be a check for nearby player either, but I don't mind that.

NickvdLee commented 9 years ago

The vanilla garbage collector won't remove dead units / groups not local to the server, so for example on a zeus client / HC. So it's probably better to use our own system.

On Mon, Jun 22, 2015 at 1:11 AM, captainblaffer notifications@github.com wrote:

You may be right the whitelist feature is lost. Didn't consider that. Doesn't seem to be a check for nearby player either, but I don't mind that.

— Reply to this email directly or view it on GitHub https://github.com/ferstaberinde/F3/issues/660#issuecomment-113967446.

captainblaffer commented 9 years ago

Interesting to now Nick that the A3 system only works for units local to the server.

The F3 system has essentially the same problem though, since it only scans through all units at mission start. Zeus units (and possibly HC depending on timing) won't be detected by F3 either.

Wolfenswan commented 8 years ago

I've been using this for a while, I can probably PR it for the next release https://github.com/Wolfenswan/A3-Missions/blob/F3_ws/f/garbageCollector/f_garbageCollectorLoop.sqf

ferstaberinde commented 8 years ago

@Wolfenswan - changing this to a component improvement for v3-4-0; assigning to you.