Jump to content

HUD LUA


Kormolos

Recommended Posts

Hello Kormolos,

You can do that in Lua. You need a programming board, that read the container item's volume and display it.


Small example:

local max = container.getMaxVolume()
local percentage = 100
if  max > 0 then
    percentage = math.floor(container.getItemsVolume() / max * 100)
end

 

Link to comment
Share on other sites

I would support this suggestion for another reason: using ArchHUD for the avatar's HUD. Sometimes, there are a few situations in which you need to run for a longer time, like after a ship crash. I do not see any reason why the avatars hi-tech suit should not be packed with hi-tech, and enable auto-running with collision control (running automatically around it until the way can be continued towards the destination.

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...