[GSC] [ZM] HealthBarV2
-
New to all this, I compiled the script and put the compiled GSC in the same folder as my zombies++ file.
Maybe I am putting this in wrong place for my server, can someone help? -
BigWaterSvr
Hello friend, I'm glad you're testing my code, what exact error are you encountering?When entering the game, does the health bar not appear? Solution: Use the command with the prefix #bar top or #bar leftPD: Since I wrote this code quickly, I didn't set it to appear automatically when entering the game.
-
andresito_20 Actually, I managed to get it to work by putting it in my _clientids.gsc, just now trying to get the text centred under the health bar instead of off center a bit by detault.
Edit: I think I see now, it is because I changed the text, it is requiring adjusting when setting the points.
-
BigWaterSvr
Sure buddy, remember you can modify it to your liking and make it fit your game, it all depends on you. Let me know about any bugs you encounter. -
andresito_20 could you please help me understanding how to get the health bar to show when a player spawns?
I have tried to put:
functions = 1;
player thread bar_funtion_and_toogle(functions);Inside the OnPlayerSpawned function, but does not seem to work.
-
BigWaterSvr I answered that already few messages above
-
Thanks!! All working
-
Well, I think I'm seeing that they will have problems, so I'll release an update where I'll fix it to show when they start the game, and I also want to add TopRound, but it will be in another topic.
-
Modding Update: HealthbarV3 Para servidores
HUB: Bar / Map Detected / Name Player Detected / Health text / Color Detected / Counter zombies / TopRound.
Now the health bar appears when the player enters the game.
COMMAND:
Prefix: #
#bar top
#bar left
#bar offTopRound: "The implementation is on all maps, and each map has its top round.How does it work? When a player joins the game, the counter will be 0/1. The '1' represents the round you are currently on. If you advance to the next round, the counter will be 0/2. To save the round, you have to die, it's logical, isn't it? So when you die, the current round you're on will be saved."
You can manage the rounds in the path T6/topround
Image:
Sorce Code:Install:
Warning: This script works with a plugin called T6-GSC-UTILS.
DESCARGA T6-GSC-UTILS.DLL
Move: T6/Plugins/T6-GSC-UTILS
If you don't have the Plugins folder, create it.DESCARGA SCRIPT
Move: T6/Script/zm/barupdateVideo
YOUTUBEPd:
"If you find any bugs, please report them here with reasons and details."VOTE TOPIC
-
why is it like this?
-
ririyuki this is because you need a plugin installed and plugins only work on dedicated servers. Idk why the author did that
If you get an earlier version it shouldn't need it
-
can i use this mod on console?
-
ririyuki Resxt white african
This mod is made for server owners to include in their servers. It is not made for local players, as it requires an extension plugin that only supports servers. Create a local server and play there for this mod to work. I apologize for not informing about this inconvenience, but future mods I upload will be for servers. -
andresito_20 I know I said that. But for a healthbar this seems very limiting for no reason
No reason why you would need a server for a health bar script that's very counter intuitive and overkill -
Resxt If you look at what he added in the v3 version that requires the plugin you'll see the only real addition is a top round feature. Really stretches the definition of health bar.
-
Resxt
I understand the problem. Unfortunately, I wanted to add a function I created called TOPROUND, but I didn't know how to save the player's round once they disconnected. What I did was use the T6-GSC-UTILS plugin, which provides me with more functions to create a txt file for each player that connects and save their round data in that file, so that when they reconnect, they can see their previous round.P.S. I believe and dare to say that there is no way to create a file without the plugin, and if it is possible, it would help me to create that function more efficiently if you could guide me.
-
andresito_20 said in [GSC] [ZM] HealthBarV2:
P.S. I believe and dare to say that there is no way to create a file without the plugin, and if it is possible, it would help me to create that function more efficiently if you could guide me.
Are databases a joke to you?
Why not use IW4mA and use its super easy API to store the top round of a player per map. -
Xerxes
Answering your initial question, NO.... nothing is a joke for me. I reiterate that the round is already established in this script and is stored in a txt file created with the T6-GSC-UTILS plugin, which is a plugin for servers.Answering your second question, we would be in the same situation. iw4madmin is a plugin for servers, not for local players. I used t6-gsc-utils to save the round.
Maybe I didn't express myself clearly in the previous message. Is there a way to store a round that doesn't require third-party plugins?