Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] - Improve ceasefire side relations (#101)
* Ceasefire UI, first draft * UI handler function - Added a clientside function to draw and update the ceasefire UI - Added a default RscTitle to the mission description * Implemented server/client handling - Added serverside function to initiate (or terminate) a ceasefire - Added clientside function to handle ceasefire limitations on the player (god mode, captivity, projectile removal) - Added component initialisation with default mission start duration of 60 seconds (subject to change) * Zeus integration, Zen module - Added a Zen module to handle ceasefire from Zeus - Ceasefire UI no longer shows in the debug camera (no longer - Player captivity is no longer reset when exiting Zeus during a ceasefire - Removed "Default" RscTitle (`cutFadeOut` does the job aswell) * Component init - Added ceasefire component init to the client group (necessary for global vars initialisation ) * ACE throwing, UI improvements - Fixed ACE throwing not being detected as fire event; now inhibited during ceasefire - Player captivity no longer gets reset when toggling player visibility as Zeus during ceasefire - Added a fade-in animation to the ceasefire UI - Added sounds to the ceasefire UI * Initial justification Added a configuration macro to override the justification text for the initial ceasefire (on mission start) * Removed SafeStart/SafeEnd components With the completion of the Ceasefire component, SafeStart and SafeEnd are now obsolete and have thus been removed * Removed border on safestart box to align with rest of CAFE UI design, fixed config indent alignment. Re-centered mission.sqm camera position. * Removed UI outline * Side relations - Enforced ceasefire on AI via side relations * *notices missing semicolon* OwO who did this * Update fn_ceasefire.sqf - Initialised global variable to prevent an error on first execution - Fixed varname casing for _ceasefireStateChanged Co-authored-by: Bubbus <splambob@googlemail.com>
- Loading branch information