Skip to content
  • 0 Unread 0
  • 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
39 Posts 13 Posters 14.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • badbug badbug

    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

    Resxt Offline
    Resxt Offline
    Resxt
    Plutonium Staff
    wrote 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

    badbug Izi selva 2 Replies Last reply
    1
    • Resxt Resxt

      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

      badbug Offline
      badbug Offline
      badbug
      wrote on last edited by
      #16

      Resxt it worked out!! Thank you very much

      1 Reply Last reply
      1
      • BigWaterSvr Offline
        BigWaterSvr 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_20 1 Reply Last reply
        1
        • BigWaterSvr BigWaterSvr

          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_20 Offline
          andresito_20 Offline
          andresito_20
          Contributor
          wrote 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.

          BigWaterSvr 1 Reply Last reply
          0
          • andresito_20 andresito_20

            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.

            BigWaterSvr Offline
            BigWaterSvr Offline
            BigWaterSvr
            wrote 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_20 1 Reply Last reply
            1
            • BigWaterSvr BigWaterSvr

              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_20 Offline
              andresito_20 Offline
              andresito_20
              Contributor
              wrote 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
              • BigWaterSvr Offline
                BigWaterSvr 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.

                Resxt 1 Reply Last reply
                0
                • BigWaterSvr BigWaterSvr

                  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.

                  Resxt Offline
                  Resxt Offline
                  Resxt
                  Plutonium Staff
                  wrote on last edited by
                  #22

                  BigWaterSvr I answered that already few messages above

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

                    Thanks!! All working 🙂

                    1 Reply Last reply
                    0
                    • andresito_20 Offline
                      andresito_20 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_20 Offline
                        andresito_20 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 selva 1 Reply Last reply
                        1
                        • ririyuki Offline
                          ririyuki Offline
                          ririyuki
                          wrote on last edited by
                          #26

                          image.png why is it like this?

                          Resxt 1 Reply Last reply
                          0
                          • ririyuki ririyuki

                            image.png why is it like this?

                            Resxt Offline
                            Resxt Offline
                            Resxt
                            Plutonium Staff
                            wrote 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 african Offline
                              white african Offline
                              white african
                              wrote on last edited by
                              #28

                              can i use this mod on console?

                              1 Reply Last reply
                              0
                              • andresito_20 Offline
                                andresito_20 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.

                                Resxt 1 Reply Last reply
                                0
                                • andresito_20 andresito_20

                                  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.

                                  Resxt Offline
                                  Resxt Offline
                                  Resxt
                                  Plutonium Staff
                                  wrote 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

                                  JezuzLizard andresito_20 2 Replies Last reply
                                  0
                                  • Resxt Resxt

                                    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

                                    JezuzLizard Offline
                                    JezuzLizard Offline
                                    JezuzLizard
                                    Plutonium Staff
                                    wrote 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
                                    • Resxt Resxt

                                      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

                                      andresito_20 Offline
                                      andresito_20 Offline
                                      andresito_20
                                      Contributor
                                      wrote 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.

                                      Xerxes 1 Reply Last reply
                                      0
                                      • andresito_20 andresito_20

                                        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.

                                        Xerxes Offline
                                        Xerxes Offline
                                        Xerxes
                                        Plutonium Staff
                                        wrote on last edited by
                                        #33

                                        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.

                                        andresito_20 1 Reply Last reply
                                        0
                                        • Xerxes Xerxes

                                          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.

                                          andresito_20 Offline
                                          andresito_20 Offline
                                          andresito_20
                                          Contributor
                                          wrote on last edited by
                                          #34

                                          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?

                                          1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • 1
                                          • 2
                                          • Login

                                          • Don't have an account? Register

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