WIP [Storm]NPCLocations

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

  1. Kemenor

    Kemenor Void-Bound Voyager

    Description:
    Will show a menu with the NPC names and their locations open the menu with the "z" key and close it with "escape".
    The menu looks very simplistic.

    Updated:
    V 0.2:

    • Menu is now layered correctly
    • The key to open the menu is now rebindable in the config
    • Pressing the menu key when the menu is open, will now close it
    • Optimized drawing code
    V 0.3
    • Added Gamepad support
    Picture:
    [​IMG]

    Installation:
    Install Storm API:
    The mods are built against a specific version of the storm api, I can't promise it works with other versions of Storm.
    The github release page has a link to the currently used build.

    Configuration:
    Code:
    {
    
      "KeyboardKey": "Z",
      "ButtonKey": "LeftShoulder"
    }
    Possible values for ButtonKey(the gamepad button) can be found here in the Memeber name column: https://msdn.microsoft.com/en-us/library/microsoft.xna.framework.input.buttons.aspx



    The download can be found here.: https://github.com/Kemenor/StardewValleyMods/releases/tag/0.3
    The current sources: https://github.com/Kemenor/StardewValleyMods

    Planned:

    • (Maybe) make it look nicer
    Personal thanks:
    Zoryn(stole the quotes and learned basic Storm through his Source Code) http://community.playstarbound.com/threads/storm-zoryns-mods-too-many-to-list.108756/
    OrSpeeder(Inspired by and learned basic Storm through his Source Code) http://community.playstarbound.com/threads/storm-and-smapi-better-sprinklers-mod.108847/

    Handsome Matt(for the Storm API)http://community.playstarbound.com/...y-use-1-05-before-posting-i-will-know.108484/
     
      Last edited: Mar 15, 2016
      Eternalmyst and carnage157 like this.
    • kkaracho

      kkaracho Void-Bound Voyager

      nice mod, sometimes its annoying having to look everywhere to find a certain NPC
      i have a suggestion for a change
      if possible, make it so the NPC are shown on the map
      i wanted that all the time
       
      • Kemenor

        Kemenor Void-Bound Voyager

        I will look into it, but probably not today.

        Sidenote:
        updated to V0.2
         
        • Jigain

          Jigain Subatomic Cosmonaut

          Would it be possible to make it a scrollable list, and add either portrait or sprite? I'm terrible at remembering names, but appearance is easy to commit to memory.

          Le edit: Also you might want to update the download link in your post, it still points to 0.1. :p
           
          • Kemenor

            Kemenor Void-Bound Voyager

            I haven't seen a way to receive a mouse scroll event in Storm, a workaround would be to add buttons to scroll, but that will take some time to do and first I want to see if I can create a map with the NPCs on it.
            Fixed, Thank you
             
            • orfeus369

              orfeus369 Yeah, You!

              Nice mod! But I have a problem...
              If I right-click when the menu is open, my game closes!
               
              • Jigain

                Jigain Subatomic Cosmonaut

                Buttons to scroll would be fine, I was mostly thinking any way to get sprites and/or portraits on there. Either would most likely make it too large to fitr on a single screen space.

                And of course, take your time. For now I can absolutely make use of this mod for the times when I actually recall the NPC names. :p
                 
                • Jokerine

                  Jokerine Scruffy Nerf-Herder

                  What a great idea! I need to install this. Really useful for the meeting everyone quest :p
                   
                  • carnage157

                    carnage157 Pangalactic Porcupine

                    Is there anyway to open up this menu on a controller?
                     
                    • Kemenor

                      Kemenor Void-Bound Voyager

                      Currently not, totally forgot controller support since i don't have one, I will add it tomorrow.
                      Could you tell me what button would work best as default button?
                       
                      • carnage157

                        carnage157 Pangalactic Porcupine

                        Probably either left or right bumper. As far as I know they aren't used for anything.
                         
                        • Kemenor

                          Kemenor Void-Bound Voyager

                          Ok added the gamepad support, button should also be configurable. Somebody needs to test it since I don't have a controller.
                           
                          • carnage157

                            carnage157 Pangalactic Porcupine

                            Just tested it now, and I can confirm that it works. Thanks.
                             
                            • Undreamed

                              Undreamed Void-Bound Voyager

                              +1
                               
                              • Jigain

                                Jigain Subatomic Cosmonaut

                                To be honest, it being on the map would mean there's a purpose to the map screen. Right now it's little more than looking at once to go "so that's the basic layout of the place, got it".
                                 
                                • dimasep0

                                  dimasep0 Subatomic Cosmonaut

                                  That actually would be helpful. I kinda imagine it like the one from Rune Factory 3 or Oceans.
                                   
                                  • Bouhm

                                    Bouhm Big Damn Hero

                                    I've actually been working on this for a couple of days now (completely new to modding), currently for SMAPI but I plan to do it for Storm as well. It's a bit complicated since the map page isn't scaled to the actual game maps, so I had to manually figure out all the locations on the map page. I'll try to release a functional version today.
                                     
                                    • cantorsdust

                                      cantorsdust Phantasmal Quasar

                                      I've already ported it to SMAPI and made a pull request, Kemenor just hasn't been on to accept it. See my fork on Github: https://github.com/cantorsdust/StardewValleyMods
                                       
                                      • Bouhm

                                        Bouhm Big Damn Hero

                                        My mod works differently, instead of a list of NPC locations it places NPC markers directly on the map like so:
                                         

                                          Attached Files:

                                          mehmehmoh likes this.
                                        • breadsticks

                                          breadsticks Intergalactic Tourist

                                          Much appreciated.
                                           

                                          Share This Page