MSRevive / MasterSwordRebirth

Continuation of Master Sword Classic/Continued.
https://msrebirth.net/
Other
9 stars 6 forks source link

ID Hud Improvements #193

Closed Aze-M closed 1 year ago

Aze-M commented 1 year ago

Two new cvars: msui_id_offsetx msui_id_offsety

These are used to move the id ui around and can be negative, by default it is to the bottom right of the crosshair now

Additionally the health text has been given a new line with some more flavour text as well as coloring. If we want more health levels (like the ones in NWN) this is easily expandable by defining them for easy changing later as well as adding them to the elseif chain with the wanted colors.

Related Issue: #90

Aze-M commented 1 year ago

Added another cvar msui_id_background 1 or 0 depending on whether or not you want there to be a semi-transparent background.

it is still using 640x480 canvas size for the X which should be a fixed size since the font is a fixed size. Working on that next

Aze-M commented 1 year ago

More health tiering added, as well as making the panel scale to make sure we don't get the old cases where mobs could have a too long name ( still should try to keep the names within reasons )