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 7.2k 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.
  • 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
    • BigWaterSvrundefined 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.

      Resxtundefined Offline
      Resxtundefined Offline
      Resxt
      Plutonium Staff
      wrote 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
              • ririyukiundefined ririyuki

                image.png why is it like this?

                Resxtundefined Offline
                Resxtundefined 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 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
                    • andresito_20undefined 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.

                      Resxtundefined Offline
                      Resxtundefined 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

                      JezuzLizardundefined andresito_20undefined 2 Replies Last reply
                      0
                      • Resxtundefined 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

                        JezuzLizardundefined Offline
                        JezuzLizardundefined 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
                        • Resxtundefined 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_20undefined Offline
                          andresito_20undefined 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.

                          Xerxesundefined 1 Reply Last reply
                          0
                          • andresito_20undefined 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.

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

                                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 Offline
                                Izi selvaundefined Offline
                                Izi selva
                                wrote on last edited by
                                #35

                                andresito_20 hi bro, how can i do for the bar start in left position without command, permanently? sorry for my english, thanks

                                1 Reply Last reply
                                0
                                • Resxtundefined 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

                                  Izi selvaundefined Offline
                                  Izi selvaundefined Offline
                                  Izi selva
                                  wrote on last edited by
                                  #36

                                  Resxt said in [GSC] [ZM] HealthBarV2:

                                  player thread bar_funtion_and_toogle(1);

                                  hello bro, help me please, i want bar in the left corner, how is the codex or script or line? thanks

                                  Resxtundefined 1 Reply Last reply
                                  0
                                  • Izi selvaundefined Izi selva

                                    Resxt said in [GSC] [ZM] HealthBarV2:

                                    player thread bar_funtion_and_toogle(1);

                                    hello bro, help me please, i want bar in the left corner, how is the codex or script or line? thanks

                                    Resxtundefined Offline
                                    Resxtundefined Offline
                                    Resxt
                                    Plutonium Staff
                                    wrote on last edited by
                                    #37

                                    Izi selva

                                    https://forum.plutonium.pw/post/133739

                                    Izi selvaundefined 1 Reply Last reply
                                    0
                                    • Resxtundefined Resxt

                                      Izi selva

                                      https://forum.plutonium.pw/post/133739

                                      Izi selvaundefined Offline
                                      Izi selvaundefined Offline
                                      Izi selva
                                      wrote on last edited by
                                      #38

                                      Resxt hi bro thanks, the script is working, one question, what line I need edit to move the bar complete ? I am using in left corner but wanna more corner, sorry for my english

                                      1 Reply Last reply
                                      0
                                      • andresito_20undefined andresito_20 referenced this topic on
                                      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
                                      • Recent
                                      • Tags
                                      • Popular
                                      • Users
                                      • Groups
                                      • Donate