bugfix: Fix obs overlay font adjustment after merge, normalize notification content, fix spectre multi notifs, add per type toggles and observer notification keybinds#507
Open
MrS-ibra wants to merge 1 commit into
Conversation
…cation content, fix spectre multi notifs, add per type toggles and observer notification keybinds
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR:
Fixes observer overlay font adjustment after merge.
Fixes a bug where the spectre notification would appear 3 times.
Changes notification content casing and normalizes it.
Adds a new notification for a GLA faction aquiring power "Player now has power".
Adds a notification for the player getting worker/dozer hunted.
Adds an early game milestone notifications skip in case of modded maps that start with high ranks or income.
Adds options to allow observers to disable specific notification types independently.
Defaults to yes and can be disabled by changing value to
noObserverNotificationSpecialPowerUsage = no
ObserverNotificationSpecialPowerPurchase = no
ObserverNotificationMilestone = no
Adds brightness for obs and notification overlay for better visibility.
Removes the following notifications:
Reached 20k cpm
Reached 50k cpm
Reached 100k cpm
Is floating 100k
Used, activated , deployed :
Frenzy
Spy drone
Spy satellite
GPS scrambler
Emergency repair
Inf drop
Tank drop
USA inf drop
Adds Shift+Left/Right keybinds to adjust observer notification font size in game
Persists observer stats and notification font sizes to preferences to survive game restarts
The key mapping can be changed in CommandMap.ini
Example of changing the key mapping to Shift =/-
CommandMap INCREASE_OBSERVER_NOTIFICATION_FONT
Key = KEY_EQUAL
Transition = DOWN
Modifiers = SHIFT
UseableIn = GAME
End
CommandMap DECREASE_OBSERVER_NOTIFICATION_FONT
Key = KEY_MINUS
Transition = DOWN
Modifiers = SHIFT
UseableIn = GAME
End