This also aims for the fix that the player still gets damaged while in debug. It looks like that allowDamage gets lifted when it should not. fn_exitSwim set too early the damage true which can be a problem. Ive decided to remove the handled damage from fn_exitSwim and set allowDamage always false before we enter this function.
This needs intensive testing to be sure it works without any new problems.
Thx to ndavalos and iben.
This adds 18 new buildings and replaces the given buildings on any map. Every building has a complete new interior, loot and zombie positions.
Thanks to @Helion4 for the new buildings and @DeVloek for the loot and zombie positions.
- Every missionfile has the configVariables.sqf added now since almost every server admin move their configVariables to the mission folder. Now it comes by default with it.
- The missionfile contains by default a custom variables and compiles.sqf too now. This makes it easier for server admins to add scripts.
- Having all configVariables in one place makes a map change much easier now.
- Only map specifc variables are still in init.sqf and should stay there.
Made by @Victor-the-Cleaner
- If the player is inside a building but near a large open doorway or full height windows, or out on a balcony, they may be considered outside.
- The UI visual stealth icon will update accordingly, so the player will know if they need to step back from open doors or windows to regain stealth.
- dayz_inside global variable will now only affect player temperature, stealth vs zombies, and blizzard effects.
- The new dayz_insideBuilding global variable stores the building name the player is currently inside of, or null if player is outside. This may be used for modding purposes.