Author: DMarkwick & lordprimate
Author Website:

Requirements: Community Base addons A3

Version: 0.5a
Signed: Yes, serverkey included

Short description: Adds flies to dead bodies.

Date: 2017-02-18 10:26

Comments: (0)


JTD Flies - lordprimate Edit

DMarkwick & lordprimate

Adds flies to dead bodies. After between 2-5 minutes, flies will begin to gather around a body, increasing in density each 15 minutes or so, up to a maximum fly density. You can tell *very roughly* how long a body has been dead, and coupled with a suitable blood addon that simulates blood splatter (there are a few, ACE2, GL4 and SLX for example), you can perhaps work out what, where and even when something happened, in a very general and rough way

Also, it might allow you to find a body among severe clutter when you're looking for one, for example when you're out of ammo or something.

And, because no-one wants to see flies underwater, any unit who is killed in the water will now bleed out instead of eject flies.

The logic is that if a unit dies underwater or > 1.5m below sea level (the new Underwater command is not very reliable) the unit will bleed heavily for about a minute followed by 2 to 3 minutes of lighter bleeding until it eventually stops. So it works inversley to the flies :)
Units who die in very shallow water will NOT bleed, because it looks like red smoke coming out of the water. So they will attract flies instead, even though they are in water.

There will be no flies if it rains OR if fog value exceeds 0.75.

To install JTD Flies - lordprimate Edit you should use modfolders to keep it seperate from the official game content to prevent issues.
With Arma 3 you can use different ways to set up your modfolders to use custom content you have downloaded.
Please visit the Arma 3 Mod install instructions page for more information about using custom mods and addons in Arma 3.

Included .pbo files:

Showing the addon working in Arma 2!

This is just temporary until Dmarkwick responds. this is just a few tweeks with a new key and sig so it can be used on servers with verifysignatures=2;
(dare i say i have not seen any mention about a license restriction but again. im not here to split hairs i just want to keep an awesome mod alive. So again, Dmarkwick if you dont approve of this please dont be to upset i just want to help, and ill be more then happy to remove it)

Your key for this mod has been broken for some time. so i have quickly resigned it, so other server admins can allow it on their servers.
and the changes i made to your code for testing were :
1: createvehicle [0,0,0]; optimization, this creates the logic that the fly's spawn or are dropped from. at the dead body. check bis code optimization page. 200 times faster to use [0,0,0], and then set the final location. so thats what i did there.
2. increased the distance the fly sound was heard from 20 m to 50m in the sound config. and increased the volume by 0.10 . to address several comments and personal experience not being able to hear it.
3. the command "say3d" has a format { object say3D [sound, maxDistance, pitch] } the way its written in your script say3d["soundname",1]; the "one" represents the Maxdistance heard. so i changed that to 50m as well. the idea here is that with a low volume they may not be able to hear it at 50 meters but its there as they get closer it fades in organically.
4. i changed some config settings in the "drop" command for the fly's particle. I reduced the timerperiod and the life time. now when fly's first start it looks like a few flys rather then a small hord, as time passes the effect of the mod is more dramatic. basically less particle life time means fewer overall / overlapping particles, in the beginning.
5. i also introduced / uncommented another check to make sure the body has died under water/ and body has ragdolled.
6. just added some weight to the blood particles they seem to float out of the water some times (in testing not sure if i added enough.)
7. and i just deleted some things that were redundant. comments etc.

Forum topic:
- BI forums

- Community Base addons A3

Enable javascript to be able to download from Armaholic please!

Tags: Ambient,   Effects,   Miscellaneous