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.
This is a complete re-build of DayZ_SafeObjects. It was necessary to remove all the duplicated entries. DayZ_SafeObjects gets defined by multiple arrays now. This makes it much easier to update. Also every building with gear gets maintained now. Every single buildable epoch building is included within the maintain array and DayZ_SafeObjects.
- Add 8 harvestable plants with proper output - Server Admins can add them to the game
- Add 2 Compost barrels - an empty and a full version
- Re-work of player_harvestPlant to fix a few bugs when different types of harvestable plants are near
- Add harvestable plant output config
Removing and Deconstructing Objects
- Now adds colored helpers to modular objects.
- Green: Refund one kit.
- Blue: Refund entire recipe of parts (multiple items).
- Red: No refund will be given. Either because the object is too damaged, or the refund feature is disabled.
- If the object has a door open while selected, no helper will display/float in the open door space.
- The gear panel will only open if a refund is available.
- If a lit fire barrel is removed, the flame will now be extinguished.
- If a plot pole is removed, plot boundary helpers will now be deleted.
- Refunds for non-modular objects are handled by their respective config settings.
- Removed non-lockable storage objects will now refund their contents.
- The corresponding storage kit will be refunded.
- If there is room outdoors, backpacks will be arranged in a neat circle close to the refund point.
- If the spawn point is too close to a building, backpacks will spawn at the player's location.
- Helpers will now appear on wrecked/ruined modular objects.
- Helper color arrays were changed to helper transparency values only, to make it easier (and safer) for server owners.
Upgrading, Downgrading, Maintaining and Packing Objects
- Now includes colored helper spheres for improved player experience.
- Reapply damage to upgraded/downgraded object if necessary.
Changes made by @Victor-the-Cleaner
This adds for every type of arma 2 static weapon an epoch version for it. This also adds to every epoch static weapon a magazine class so it can be build easily. The new weapons can found under: DayZ Epoch Static Weapons in the editor. Server admins have to add Battleye Filters for most of the static weapons. Since adding it to all server would weaken also servers which do not use those new static weapons.
This also re-arranges the configVariables.sqf and loads the variables for both (server and client) first. This allows to check for certain variables like Z_SingleCurrency and stops the loading of all other Z_SingleCurrency variables even when Z_SingleCurrency was not on.