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 21.6k 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.
  • 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