Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [GSC] [ZM] HealthBarV2

[GSC] [ZM] HealthBarV2

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
38 Posts 12 Posters 6.2k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Resxtundefined Offline
    Resxtundefined Offline
    Resxt Plutonium Staff
    replied to badbug on last edited by Resxt
    #13

    badbug works fine for me, I think the script is just poorly explained by the OP.
    I read some comments here and it mentions having to type something like #bar top in the game's chat. I did and it works fine for me with no other script installed, on Town just like shown on the screenshots

    If you confirm that you can get it to work and that you still need it I can edit the script for you. Just tell me which one you want (top, right or left)

    1a856165-ffcb-4d21-a90b-7a046c7a42db-image.png

    badbugundefined 1 Reply Last reply
    0
    • badbugundefined Offline
      badbugundefined Offline
      badbug
      replied to Resxt on last edited by badbug
      #14

      Resxt
      Yes, I managed to make it work, but if you could make this edit to the script I would greatly appreciate it, as I tried everything and couldn't. can be in the top position

      Resxtundefined 1 Reply Last reply
      0
      • Resxtundefined Offline
        Resxtundefined Offline
        Resxt Plutonium Staff
        replied to badbug on last edited by
        #15

        badbug remove the command_bar function and also remove its call at line 19.
        Then line 29 (under the waitill, jump new line) paste player thread bar_funtion_and_toogle(1);

        9dee583c-49da-4ad4-ab65-77be048a4633-image.png

        badbugundefined Izi selvaundefined 2 Replies Last reply
        1
        • badbugundefined Offline
          badbugundefined Offline
          badbug
          replied to Resxt on last edited by
          #16

          Resxt it worked out!! Thank you very much

          1 Reply Last reply
          1
          • BigWaterSvrundefined Offline
            BigWaterSvrundefined Offline
            BigWaterSvr
            wrote on last edited by
            #17

            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?

            andresito_20undefined 1 Reply Last reply
            1
            • andresito_20undefined Offline
              andresito_20undefined Offline
              andresito_20 Contributor
              replied to BigWaterSvr on last edited by andresito_20
              #18

              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 left

              PD: Since I wrote this code quickly, I didn't set it to appear automatically when entering the game.

              BigWaterSvrundefined 1 Reply Last reply
              0
              • BigWaterSvrundefined Offline
                BigWaterSvrundefined Offline
                BigWaterSvr
                replied to andresito_20 on last edited by BigWaterSvr
                #19

                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.
                40e0bb32-de86-4a24-8c0e-0246f546f624-image.png

                c884a0d0-d5bf-44b5-8ddb-95129263cb4e-image.png

                Edit: I think I see now, it is because I changed the text, it is requiring adjusting when setting the points.

                andresito_20undefined 1 Reply Last reply
                1
                • andresito_20undefined Offline
                  andresito_20undefined Offline
                  andresito_20 Contributor
                  replied to BigWaterSvr on last edited by
                  #20

                  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.

                  1 Reply Last reply
                  0
                  • BigWaterSvrundefined Offline
                    BigWaterSvrundefined Offline
                    BigWaterSvr
                    wrote on last edited by
                    #21

                    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.

                    Resxtundefined 1 Reply Last reply
                    0
                    • Resxtundefined Offline
                      Resxtundefined Offline
                      Resxt Plutonium Staff
                      replied to BigWaterSvr on last edited by
                      #22

                      BigWaterSvr I answered that already few messages above

                      1 Reply Last reply
                      0
                      • BigWaterSvrundefined Offline
                        BigWaterSvrundefined Offline
                        BigWaterSvr
                        wrote on last edited by
                        #23

                        Thanks!! All working 🙂

                        1 Reply Last reply
                        0
                        • andresito_20undefined Offline
                          andresito_20undefined Offline
                          andresito_20 Contributor
                          wrote on last edited by
                          #24

                          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.

                          1 Reply Last reply
                          0
                          • andresito_20undefined Offline
                            andresito_20undefined Offline
                            andresito_20 Contributor
                            wrote on last edited by andresito_20
                            #25

                            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 off

                            TopRound: "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:
                            alt text
                            alt text
                            alt text
                            alt text
                            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/barupdate

                            Video
                            YOUTUBE

                            Pd:
                            "If you find any bugs, please report them here with reasons and details."

                            VOTE TOPIC ❤

                            Izi selvaundefined 1 Reply Last reply
                            1
                            • ririyukiundefined Offline
                              ririyukiundefined Offline
                              ririyuki
                              wrote on last edited by
                              #26

                              image.png why is it like this?

                              Resxtundefined 1 Reply Last reply
                              0
                              • Resxtundefined Offline
                                Resxtundefined Offline
                                Resxt Plutonium Staff
                                replied to ririyuki on last edited by Resxt
                                #27

                                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

                                1 Reply Last reply
                                1
                                • white africanundefined Offline
                                  white africanundefined Offline
                                  white african
                                  wrote on last edited by
                                  #28

                                  can i use this mod on console?

                                  1 Reply Last reply
                                  0
                                  • andresito_20undefined Offline
                                    andresito_20undefined Offline
                                    andresito_20 Contributor
                                    wrote on last edited by
                                    #29

                                    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.

                                    Resxtundefined 1 Reply Last reply
                                    0
                                    • Resxtundefined Offline
                                      Resxtundefined Offline
                                      Resxt Plutonium Staff
                                      replied to andresito_20 on last edited by
                                      #30

                                      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

                                      JezuzLizardundefined andresito_20undefined 2 Replies Last reply
                                      0
                                      • JezuzLizardundefined Offline
                                        JezuzLizardundefined Offline
                                        JezuzLizard Plutonium Staff
                                        replied to Resxt on last edited by
                                        #31

                                        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.

                                        1 Reply Last reply
                                        0
                                        • andresito_20undefined Offline
                                          andresito_20undefined Offline
                                          andresito_20 Contributor
                                          replied to Resxt on last edited by
                                          #32

                                          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.

                                          Xerxesundefined 1 Reply Last reply
                                          0

                                          • 1
                                          • 2
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Donate