RELEASED [SMAPI] Enemy Health Bars

Discussion in 'User Interface' started by OrSpeeder, Mar 15, 2016.

?

Did you liked the colour scheme? (red for healthy enemy, green for almost dead enemy).

Poll closed Mar 23, 2016.
  1. Yes

    8 vote(s)
    14.3%
  2. No

    39 vote(s)
    69.6%
  3. Neutral

    9 vote(s)
    16.1%
  1. OrSpeeder

    OrSpeeder Phantasmal Quasar

    This is a health bars mod for SMAPI

    [​IMG]

    Current version is 1.7 for SMAPI 0.39.2

    Features:

    • Non-cheaty, to see more precise information you need more combat skill, or kill more of the enemy type.
    • Hand-crafted position for the bars, they should be in the right place for most enemies.
    • Can handle 1.05 zoom properly.
    • Bar can get bigger or smaller to reflect enemy size or power.
    • (1.5) Show numeric value of enemy health.
    • (1.5) Configurable colour scheme.
    • (1.6) Enemies that rely on you not noticing them on the screen need to be hit once to show the health bar (example: shadow enemies, that rely on shadows...)

    Other suggestions of Combat UI is welcome.

    Using: just unpack the .zip on StardewValley "mods" folder. You can edit "config.json" to choose colour schemes, currently only scheme "0" and "1" are available, the "0" being what most people expect (green healthbar for enemies that are full health) and "1" being the "inverted" version (full health enemies have red health bar).

    This mod is open source: https://gitlab.com/speeder1/SMAPIHealthbarMod

    Please, help me on Patreon!
     

      Attached Files:

      Last edited: Mar 26, 2016
    • OrSpeeder

      OrSpeeder Phantasmal Quasar

      I added the link to the source :)
       
      • tandpastatester

        tandpastatester Scruffy Nerf-Herder

        Installed your mod, works great so far! Didn't want to switch to STORM yet, but I really wanted those healthbars. Thanks alot!
         
          OrSpeeder likes this.
        • Neonova

          Neonova Big Damn Hero

          Making a storm version would be really great :3
           
          • Sarikitty

            Sarikitty Big Damn Hero

            Google around, Neonova - there already is a Storm version.
             
            • Pyrii

              Pyrii Existential Complex

              Can we get any preview images?
               
              • gelelele

                gelelele Aquatic Astronaut

                I downloaded but don't know where to replace TAT
                 
                • Venoshock

                  Venoshock Scruffy Nerf-Herder

                  in the mods folder in the stardew folder.
                  keep in mind that you need smapi installed before.
                   
                  • DrRyouBakura

                    DrRyouBakura Void-Bound Voyager

                    Is there anyway you could swap the colors on the healthbars? Going from red at full and green when low seems so backwards to me.
                     
                      Milly Rainbowskittlez likes this.
                    • RaulMarq

                      RaulMarq Scruffy Nerf-Herder

                      I was thinking the same, I was pretty confused at first because of that. It's not that bad now that I'm used to it though, but it would be nice to change it.
                       
                      • OrSpeeder

                        OrSpeeder Phantasmal Quasar

                        I did it "backwards" on purpose, although most people are used to full-green healthbars, I wanted to do it opposite because they are enemies.

                        Ie: a full HP enemy is a bad thing, thus red, while a low HP enemy is a good, thus green.

                        But maybe I will add an option to switch the colours direction later.
                         
                          Milly Rainbowskittlez likes this.
                        • SmashingMatt

                          SmashingMatt Orbital Explorer

                          It is a good idea, but I guess most of us are used to the "Green is high health" and "Red is low health" colour schemes since most games with health bars in them use this to show health points/hit points on characters.
                           
                            Milly Rainbowskittlez likes this.
                          • tandpastatester

                            tandpastatester Scruffy Nerf-Herder

                            I agree with SmashingMatt. I understand your train of thought OrSpeeder, but gamers are educated to interpret these colors the opposite way. Health bars are usually reflecting for each unit individually, and not from the player perspective. Green means healthy, and red means low on health. I think this has been generalized for so long that it's confusing to switch to the current logic. If you decide to make a 'reversed' version later, I'll definitely use it ;) Great job nonthelesss, your mod became crucial for my mining adventures.
                             
                            • Milly Rainbowskittlez

                              Milly Rainbowskittlez Cosmic Narwhal

                              Couldnt help but notice the distinct lack of pics.
                              So i took some myself :3

                              Feel free to use in OP :3
                              20160319171121_1.jpg 20160319195117_1.jpg


                              Also as a bug report.
                              Ghosts dont have health meters.
                              Skeletons have a weird bug where the health meters will remain full regardless of damage. (Though itll still change color, so.. its not THAT big of a bug.)
                               
                              • OrSpeeder

                                OrSpeeder Phantasmal Quasar



                                Those are not bugs :) Those are your inexperience.

                                When you meet a new enemy, you don't know their health immediately, so you need to get more combat level and/or fight that enemy more often, eventually you will start seeing the "colour change" meter, and with more experience, the full meter.

                                I did it this way, to not break the "spirit" of CA design, I believe he made the enemies don't show health bars, and have the damage numbers be confusing on purpose.
                                 
                                • Kaireo

                                  Kaireo Scruffy Nerf-Herder

                                  I think it should be the other way around.

                                  Green for Healthy
                                  Yellow for Damaged
                                  Red for Dying

                                  Plus also add an optional hit damage indicators (When character or enemies are hit numbers will appear indicator damage given/taken)
                                   
                                  • OrSpeeder

                                    OrSpeeder Phantasmal Quasar

                                    Those... already exist in the game! For both you and your enemies!

                                    The game also has a "miss" indicator in the source, but it never happens, dunno why.
                                     
                                    • Kaireo

                                      Kaireo Scruffy Nerf-Herder

                                      Yeah just remembered. Sorry for the minor error there :rofl:
                                       
                                      • OrSpeeder

                                        OrSpeeder Phantasmal Quasar

                                        Whoa, only 2 votes for my experimental colour scheme, and one of these are my own vote :( People really hated it... I guess I will default to the "old" style and offer the new one as option.
                                         
                                        • elsbcore

                                          elsbcore Aquatic Astronaut

                                          I thought this was "broke" but there were actually three stages.

                                          1. No visible HP
                                          2. Minimal Detailed HP
                                          3. Full Detailed HP

                                          Instead of No visible HP why not, let's say "gray" bar? Or a bar and with "???" in it.

                                          Anyway great mod! :)
                                           

                                          Share This Page