-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hud remake #20
Hud remake #20
Conversation
Someone please make a compat layer for hunger & thirst 😓 |
Any preview? |
fixed :) |
* locale updates * prevent error when not logged in * fix onMoneyChange slightly * update onMoneyChange styling * Remove unnecessary print statements in togglehud event * Refactor compass display logic and variable names * Fix vehicle indicator lights behavior and add audio notification for low fuel * Fix progress bar background color and add garbage collection*** * feat: Oxygen font
The old form is more beautiful and better at adding other interactions |
wth are you yapping about, i'm gonna rework it anyway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you just delete some locales?
client/vehicle.lua
Outdated
}, | ||
{ | ||
type = 'speedmax', | ||
speed = GetVehicleEstimatedMaxSpeed(cache.vehicle) * 5.6 -- meh idk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the meh idk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a kinda random value, just noticed i should check for the mph/kmh too, but yeah it's just trying to be a bit above the estimated max speed, which can and mostly isn't the actual max speed
Don't want to keep locales that i cannot verify to be valid, especially since i changed things so old locales may not be good anymore |
… banking script, and cash changes are shown anyway with ox_inventory
Great job, the code looks much more developer friendly 👍 |
I don't have a problem with it if it was intentional |
👍🏻 Might consider adding an engine light or something like that tho 🤔 |
or engine breaking noises |
I found this in smallresources. It might be worth integrating this into qbx_hud. |
Description
Remade the whole resource #5,
This probably needs some fancy compat layer.
Features
Disclaimers & stuff
It's kinda like qbx_hud lean edition, it has less bloat than qb_hud, and is way simpler/better!
(Player hud subject to being hated on 😢)
The nitrous gauge icon is a placeholder, couldn't find a nice svg for it :c
To avoid errors due to "we're not currently using statebags for those you idiot",
search for every Functions.SetMetaData related to hunger or thirst and add
Player(src).state:set('hunger', newHunger, true)
or
Player(src).state:set('thirst', newThirst, true)
(modify it to work with the situation ofc)
Also the onMoneyChange stuff needs a rework, it's really not great
Checklist