Skip to content
  • 0 Unread 0
  • 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 29.2k Views 5 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.
  • Santitos Offline
    Santitos 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
    • Sorex Offline
      Sorex 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

      Santitos 1 Reply Last reply
      3
      • Sorex 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

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

        Sorex Thank You! Updated

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

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

          Santitos this script run on bo1???

          Santitos 1 Reply Last reply
          0
          • ULastare Offline
            ULastare Offline
            ULastare
            wrote on last edited by
            #6
            This post is deleted!
            1 Reply Last reply
            0
            • JuiceTrailer62 Offline
              JuiceTrailer62 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
              JezuzLizard 1 Reply Last reply
              2
              • JuiceTrailer62 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
                JezuzLizard Offline
                JezuzLizard 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

                JuiceTrailer62 entity808 2 Replies Last reply
                0
                • JezuzLizard 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

                  JuiceTrailer62 Offline
                  JuiceTrailer62 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
                  • TheZertus TheZertus

                    Santitos this script run on bo1???

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

                    @BlackZertus no it doesnt

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

                      entity808 Offline
                      entity808 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
                      • FazePriceOnYt Offline
                        FazePriceOnYt Offline
                        FazePriceOnYt
                        wrote on last edited by
                        #12

                        How do i intsall this zombie counter into my game

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

                          Fry 1 Reply Last reply
                          0
                          • ZombieZtone ZombieZtone

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

                            imagen_2023-04-27_051312736.png

                            https://github.com/ArgCrack10/ZombieCounter

                            Fry Offline
                            Fry 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_Phantom Offline
                              Dark_Phantom 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

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

                                Thanks for this script, is one of the best

                                1 Reply Last reply
                                0
                                • Dark_Phantom Dark_Phantom

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

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

                                  Dark_Phantom they can't 💀

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

                                    nice
                                    keep it up boys !

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

                                      It says syntax error 7th line syntax:- <

                                      Resxt 1 Reply Last reply
                                      0
                                      • Asur18 Asur18

                                        It says syntax error 7th line syntax:- <

                                        Resxt Offline
                                        Resxt 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_ RevengeGhost_ referenced this topic on

                                        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


                                        • 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