#Health system

1 messages · Page 1 of 1 (latest)

exotic vale
#

Hello I have a little question I added a HUD variable for a money system and the problem is that as soon as the HUD is displayed it deletes the main health bar of the game so I would like to create a HUD for this life bar so when we receive damage that obviously it reduces the bar so like a real life bar

#

Health system

ancient badger
#

Circuit photo

#

Do you have one

#

Also wdym real life bar

exotic vale
#

A picture of my HUD system for my money system ?

#

This is my money system with HUD and so I would like to make a HUD for the life bar because the game bar is removed when my HUD appears

ancient badger
#

Did you configure the game hud element so it’s in a different spot

exotic vale
#

Yes I deliberately put this HUD at the top to make room for the main view bar but it doesn't change anything

ancient badger
#

I mean for the health and the money hud, are the separate

exotic vale
#

Yes what I wanted to do was put my HUD for my money system and keep the main game bar for life but it doesn't work it disappears so I would like to replace it with a HUD that I will create myself unless you have a solution so that I keep the game bar and not replace it with a HUD

ancient badger
#

Well yeah you can’t have two bars in one spot, it’ll just replace it, you need two separate ones

exotic vale
#

Yes I see very well, but you see when you create a game and you don't put a HUD, there is the default life bar that is set by the game so very well, I placed my HUD at the top, except that even so by wanting to keep the main life bar by default, well it is removed

ancient badger
#

Are you translating from another language

exotic vale
#

Yes I'm sorry I'm French I translate the best I can 😅

ancient badger
#

It’s okay, It’s just there are definitely some translation issues because what you’re saying is a bit confusing

#

I suggest DeepL over google translate it’s more accurate

exotic vale
#

Yes, I guess so, 🤣 I'll try to keep it simple. The photo I'm sending you is of the game's default bar, the one I want to keep in my game. Unfortunately, when I add a HUD, it disappears, even though I've set my HUD to be at the top and not the main one.

#

I took your advice, I'm on DeepL.😁

ancient badger
#

Can you configure the game hud element and send a picture of the position

exotic vale
ancient badger
#

Is your money the area points?

exotic vale
#

Yes

ancient badger
#

Are you using a CV2 PVP system, or a Game Rules Chip

exotic vale
#

Game rules Chip

ancient badger
#

Does anything at all return the health bar, such as taking damage?

indigo sage
#

once you apply a custom hud element only a rejoin will restore the game rules hud

ancient badger
#

So he needs a CV2 pvp system

indigo sage
#

or he can just use a custom hud element by repeatedly updating it to match the value from that one chip

#

though a cv2 pvp system is more favored

exotic vale
#

So I can't keep the game's default health bar, because I added a HUD ?

indigo sage
#

pretty much

#

what i explained are your only two options

ancient badger
#

So an update event to a set enabled on the custom hud would fix it?

#

Or a set value?

indigo sage
#

i mean setting the values

exotic vale
#

Is there a way to make the game's default health bar attached to a HUD?

#

Because I have the impression that once my HUD appears, the default bar disappears.

ancient badger
#

Change the player joined event to an update

#

And then disconnect the last port on the set value

exotic vale
#

What do you mean, in an update?

ancient badger
#

The event receiver

#

That says player joined

exotic vale
ancient badger
#

Top left

#

Configure

exotic vale
#

So what should I change my “Event” to?

ancient badger
#

Update 1hz

exotic vale
#

So, out of curiosity, how does this differ from the old version?

ancient badger
#

Updates every second instead of whenever a player joins

exotic vale
#

So my default health bar and HUD will be visible at all times ?

indigo sage
#

no

#

what youre changing is your money hud

#

if you want the health back with custom hud you will need to do the same setup in the screenshot but have the event receiver be Update

#

to get the values for it theres a beta chip that interfaces with game rules

#

i forgot the exact name of the chip to get the health and stuff

exotic vale
#

Yes, so there is no way for the default bar (photo) of the game to remain visible when a HUD appears.

#

It is complicated to set up a custom HUD for the health bar ?

indigo sage
#

i just explained what you need to do