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

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [Release] [Zombies] Health and Zombie Counter

[Release] [Zombies] Health and Zombie Counter

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
counterhealthzombies
20 Posts 16 Posters 20.9k Views 3 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.
  • Santitosundefined Offline
    Santitosundefined Offline
    Santitos
    wrote on last edited by Santitos
    #1

    HEALTH AND ZOMBIE COUNTER
    Credits: Cahz (Zombie Counter)
    Hi, this is my Zombie and Health Counter custom GSC that i use on my server. I hope you like it.

    Download
    https://github.com/SantitosLolz/BO2-Mods/tree/main/Zombie Mods/Zombies and Health Counter/v1.2

    Virustotal
    https://www.virustotal.com/gui/file/616a6e865878197761871f845559d24629cd03c0b18c3e0c1a621f1187d28701

    Installation
    To use this mod, just install the precompiled GSC or use the source code for your own GSC
    How to load custom GSC files on Plutonium

    FEATURES

    • Zombie Counter on screen
    • Health Counter on screen

    Screenshots

    Plutonium Screenshot 2021.09.16 - 00.18.48.55.png

    Plutonium Screenshot 2021.09.16 - 00.21.15.91.png

    Changes

    v1.1
    Replaced setText to setValue to prevent overflow crashes.

    v1.2
    Replaced level waittill( "start_of_round" ); to flag_wait( "initial_blackscreen_passed" );.

    I'M NEW TO GSC, SO FEEL FREE TO REPORT ANY BUG

    TheZertusundefined 1 Reply Last reply
    15
    • Santitosundefined Offline
      Santitosundefined Offline
      Santitos
      wrote on last edited by
      #2

      I had to delete the other post because it was glitched and it wouldn't let me edit it. 😐

      1 Reply Last reply
      0
      • Sorexundefined Offline
        Sorexundefined Offline
        Sorex
        Contributor
        wrote on last edited by
        #3

        Santitos
        Insteed of

        level waittill( "start_of_round" );
        

        Use

        flag_wait( "initial_blackscreen_passed" );
        

        With this also spectator who join after can see the zombies counter

        Santitosundefined 1 Reply Last reply
        3
        • Sorexundefined Sorex

          Santitos
          Insteed of

          level waittill( "start_of_round" );
          

          Use

          flag_wait( "initial_blackscreen_passed" );
          

          With this also spectator who join after can see the zombies counter

          Santitosundefined Offline
          Santitosundefined Offline
          Santitos
          wrote on last edited by
          #4

          Sorex Thank You! Updated

          1 Reply Last reply
          1
          • Santitosundefined Santitos

            HEALTH AND ZOMBIE COUNTER
            Credits: Cahz (Zombie Counter)
            Hi, this is my Zombie and Health Counter custom GSC that i use on my server. I hope you like it.

            Download
            https://github.com/SantitosLolz/BO2-Mods/tree/main/Zombie Mods/Zombies and Health Counter/v1.2

            Virustotal
            https://www.virustotal.com/gui/file/616a6e865878197761871f845559d24629cd03c0b18c3e0c1a621f1187d28701

            Installation
            To use this mod, just install the precompiled GSC or use the source code for your own GSC
            How to load custom GSC files on Plutonium

            FEATURES

            • Zombie Counter on screen
            • Health Counter on screen

            Screenshots

            Plutonium Screenshot 2021.09.16 - 00.18.48.55.png

            Plutonium Screenshot 2021.09.16 - 00.21.15.91.png

            Changes

            v1.1
            Replaced setText to setValue to prevent overflow crashes.

            v1.2
            Replaced level waittill( "start_of_round" ); to flag_wait( "initial_blackscreen_passed" );.

            I'M NEW TO GSC, SO FEEL FREE TO REPORT ANY BUG

            TheZertusundefined Offline
            TheZertusundefined Offline
            TheZertus
            wrote on last edited by
            #5

            Santitos this script run on bo1???

            Santitosundefined 1 Reply Last reply
            0
            • ULastareundefined Offline
              ULastareundefined Offline
              ULastare
              wrote on last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • JuiceTrailer62undefined Offline
                JuiceTrailer62undefined Offline
                JuiceTrailer62
                wrote on last edited by JuiceTrailer62
                #7
                divide_color( a, b, c ) {
                    return( a / 255, b / 255, c / 255 );
                }
                

                If you want to, I haven't seen it yet.
                you can divide the color of the health and zombies, have it green for max health, half health yellow, and low red with this function same with zombies, have it red for last ect, its cool and it hasn't been done to my knowledge. example

                if( self.health <= 100 ) {
                    return divide_color( math );
                }
                else {
                    return divide_color( math );
                }
                ``` I'll test and get the math and update this later
                JezuzLizardundefined 1 Reply Last reply
                1
                • JuiceTrailer62undefined JuiceTrailer62
                  divide_color( a, b, c ) {
                      return( a / 255, b / 255, c / 255 );
                  }
                  

                  If you want to, I haven't seen it yet.
                  you can divide the color of the health and zombies, have it green for max health, half health yellow, and low red with this function same with zombies, have it red for last ect, its cool and it hasn't been done to my knowledge. example

                  if( self.health <= 100 ) {
                      return divide_color( math );
                  }
                  else {
                      return divide_color( math );
                  }
                  ``` I'll test and get the math and update this later
                  JezuzLizardundefined Offline
                  JezuzLizardundefined Offline
                  JezuzLizard
                  Plutonium Staff
                  wrote on last edited by
                  #8

                  JuiceTrailer62 I do this with my health indicators(draws waypoints above player's heads so you can see how much health they have roughly).

                  https://github.com/JezuzLizard/T6-Player-Waypoints/blob/fb4d5797710a081706a0decf3361641ad17a1ec3/scripts/T6_objective_api_main.gsc#L268

                  JuiceTrailer62undefined entity808undefined 2 Replies Last reply
                  0
                  • JezuzLizardundefined JezuzLizard

                    JuiceTrailer62 I do this with my health indicators(draws waypoints above player's heads so you can see how much health they have roughly).

                    https://github.com/JezuzLizard/T6-Player-Waypoints/blob/fb4d5797710a081706a0decf3361641ad17a1ec3/scripts/T6_objective_api_main.gsc#L268

                    JuiceTrailer62undefined Offline
                    JuiceTrailer62undefined Offline
                    JuiceTrailer62
                    wrote on last edited by
                    #9

                    JezuzLizard waypoints is very cool, only thing I ever worked on like that is drawing shaders on zombies for generic wallhacks lol, your code is very clean and organized that will be me one day

                    1 Reply Last reply
                    0
                    • TheZertusundefined TheZertus

                      Santitos this script run on bo1???

                      Santitosundefined Offline
                      Santitosundefined Offline
                      Santitos
                      wrote on last edited by
                      #10

                      @BlackZertus no it doesnt

                      1 Reply Last reply
                      0
                      • JezuzLizardundefined JezuzLizard

                        JuiceTrailer62 I do this with my health indicators(draws waypoints above player's heads so you can see how much health they have roughly).

                        https://github.com/JezuzLizard/T6-Player-Waypoints/blob/fb4d5797710a081706a0decf3361641ad17a1ec3/scripts/T6_objective_api_main.gsc#L268

                        entity808undefined Offline
                        entity808undefined Offline
                        entity808
                        wrote on last edited by
                        #11

                        JezuzLizard This for parts on the origin map would be cool. Finding them is a pain in the ass.

                        1 Reply Last reply
                        0
                        • FazePriceOnYtundefined Offline
                          FazePriceOnYtundefined Offline
                          FazePriceOnYt
                          wrote on last edited by
                          #12

                          How do i intsall this zombie counter into my game

                          1 Reply Last reply
                          0
                          • ZombieZtoneundefined Offline
                            ZombieZtoneundefined Offline
                            ZombieZtone
                            wrote on last edited by ZombieZtone
                            #13

                            I changed the location of the Zombie Counter and Delete the Health.

                            imagen_2023-04-27_051312736.png

                            https://github.com/ArgCrack10/ZombieCounter

                            Fryundefined 1 Reply Last reply
                            0
                            • ZombieZtoneundefined ZombieZtone

                              I changed the location of the Zombie Counter and Delete the Health.

                              imagen_2023-04-27_051312736.png

                              https://github.com/ArgCrack10/ZombieCounter

                              Fryundefined Offline
                              Fryundefined Offline
                              Fry
                              Plutonium Staff
                              wrote on last edited by
                              #14

                              ZombieZtone You don't have to compile gsc anymore. you can do it raw.

                              1 Reply Last reply
                              0
                              • Dark_Phantomundefined Offline
                                Dark_Phantomundefined Offline
                                Dark_Phantom
                                wrote on last edited by Dark_Phantom
                                #15

                                how to hide both zombie counter and health bar for other players cant see it

                                Youssef440undefined 1 Reply Last reply
                                0
                                • Dixthundefined Offline
                                  Dixthundefined Offline
                                  Dixth
                                  wrote on last edited by
                                  #16

                                  Thanks for this script, is one of the best

                                  1 Reply Last reply
                                  0
                                  • Dark_Phantomundefined Dark_Phantom

                                    how to hide both zombie counter and health bar for other players cant see it

                                    Youssef440undefined Offline
                                    Youssef440undefined Offline
                                    Youssef440
                                    wrote on last edited by
                                    #17

                                    Dark_Phantom they can't 💀

                                    1 Reply Last reply
                                    0
                                    • WanT3Dundefined Offline
                                      WanT3Dundefined Offline
                                      WanT3D
                                      wrote on last edited by
                                      #18

                                      nice
                                      keep it up boys !

                                      1 Reply Last reply
                                      0
                                      • Asur18undefined Offline
                                        Asur18undefined Offline
                                        Asur18
                                        wrote on last edited by
                                        #19

                                        It says syntax error 7th line syntax:- <

                                        Resxtundefined 1 Reply Last reply
                                        0
                                        • Asur18undefined Asur18

                                          It says syntax error 7th line syntax:- <

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

                                          Asur18 use the source code version and replace all / with \

                                          1 Reply Last reply
                                          0
                                          • RevengeGhost_undefined RevengeGhost_ referenced this topic on
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

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