GOM_fnc_foggyBreath V1.2
Purpose of this script:
Adds authentic visible breath for missions taking place in colder climates.
Features:
Adds effect to all units (players and AI) in mission, also works for units being spawned mid mission.
Visible Breath below 8°C, getting more prominent the lower the temperature, maximum reached at -9°C
You can determine the current mission temperature by defining a global variable
Units getting hit/injured will exhale, resulting in visible breath
Breath frequency increases depending on fatigue, slowly returns to initial frequency when unit catches its breath
How to use this script:
Copy all files and folders except mission.sqm from the demo mission inside your own mission.
Backup all of your files before overwriting anything!
The script runs on its own, nothing else needed besides setting the temperature as mentioned below:
Files:
description.ext:
scripts\GOM\foggyBreath\GOM_fnc_foggyBreathInit.sqf:
scripts\GOM\foggyBreath\GOM_fnc_foggyBreath.hpp:
Updates:
Options:
GOM_fnc_temperature = -9;
This will set the temperature to -9°C, giving the maximum effect.
At +8°C the fog will stop.
Decided to do it this way so you can give every unit an individual temperature, so if a unit is on top of a mountain it will obviously have a colder temperature than a unit near the beach.
Download GOM_fnc_foggyBreath V1.2 Demo Mission
Changelog:
V1.2:
Fog is now more influenced by wind, also helicopter downwash etc
Is less prominent at higher temperatures
Fog now also works for unit in open vehicles
Fog will stop once in a closed vehicle/inside a building
Known Issues:
None so far.
Enjoy!