Adds a new oxygen meter to the game for when you are underwater. Using a custom Scaleform menu and SKSE plugin, based off the original Oxygen Meter by PO3.
Requirements
This mod does not have any known dependencies other than the base game.
The permissions are exactly the same as PO3's original version (https://www.nexusmods.com/skyrimspecialedition/mods/57452), but you must credit PO3 and myself if you change it etc.
File credits
Po3 for creating Oxygen Meter, of which this is roughly still 50% original code and the rest is based of Shrimperators Better Third Person Selection.
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version 1.0.7
Fixed bug where fast-travel / coc-ing would hide menu forever.
Updated mod to use FOMOD installer package.
Added support for version 1.6.640
Version 1.0.6
Added the ability to recolour the oxygen meter bar.
Added a flashing effect that by default shows at 50% oxygen remaining. This effect can be disabled or have it's colour changed.
Renamed oxygenmeter.swf to oxygenmeter2.swf because of the changes, to prevent old reskins from overwriting and causing weird issues. Reskins for the meter will need to be remade.
Merge pull request #5 from mrgrim/visibilityfix - An attempt at robust visibility management. Seems to fix a lot of edge cases with the meter getting into weird states.
Added support for 1.6.1170
Added a backport for 1.5.97
Changed name of ingame menu from OxygenMeter to OxygenMeter2
Changed name of swf from OxygenMeter.swf to OxygenMeter2.swf
Changed name of ini to OxygenMeter2.ini
Version 1.0.5
Updated to support 1.6.640
Another fix for QUI incompatibility, should prevent the hidden oxygen meter after opening containermenu properly now.
Version 1.0.4
Added compatibility code to not break due to how QUI opens the container menu.
Version 1.0.3
Improved menu hiding code to fully prevent breaking vanilla menu's.
Opening and closing the journal menu now causes the oxygen meter to reload its' settings file, this is to allow you to more easily change your settings and experiment with how it looks in game.
Version 1.0.2
Added AE version of the mod
Menu was not showing up on first load, users needed to save and load before it would appear. Should now show up straight away.
Version 1.0.1
Fixed the menu breaking crafting menus, and furthermore implemented a fix that should prevent this from happening to any other menus in future.
Fixed follower commands not working (go here, grab that etc)
Granular control over meter placement via ini file. (Position, scale and rotation)
Option to fade out meter when drowning.
Meter flashes when under 50% oxygen (Can be configured in ini)
No longer uses staff charge meter, now uses a custom scaleform widget as a newly implemented UI element, in the style of the vanilla UI
Color of meter can be changed in the ini.
Color of the flash can be changed in the ini.
Credits PO3 for writing the original Oxygen Meter, helping me wrap my head around c++ and cmake and looking over my code. Shrimperator for being incredibly patient with me and answering my dumb questions and just being generally wobbly. wSkeever for creating the video, thumbnail and being supportive as always. Ryan for CommonLib.
Further Info For modders, menu name is oxygenMeter2 if you want to use UI.Invoke on it or use HideMenu/ShowMenu console command.
Menu displays oxygenMeter2.swf, so if you want to skin it you should edit that. You can get the .fla from the source link below, or edit in jpex if you're more comfortable with that.
This is my first attempt at a SKSE plugin, so while I've tested it a good amount and I don't think there should be any issues, if you do have any please let me know.