Orange HUD

Discussion in 'JS Plugin Releases (RMMV)' started by Hudell, Oct 25, 2015.

  1. Georg

    Georg Villager Member

    Messages:
    23
    Likes Received:
    2
    Location:
    Argentina
    First Language:
    Spanish
    In the OrangeHud.js.
     
    #61
  2. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,961
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    OK, I'll test it here.


    I will be offline this weekend, so I may take a few days to reply here again.
     
    #62
  3. Georg

    Georg Villager Member

    Messages:
    23
    Likes Received:
    2
    Location:
    Argentina
    First Language:
    Spanish
    Oks, that's well for me. Thanks for the help.

    PD: I tried of write this for myself, so sorry if I writing anything bad XD.
     
    Last edited by a moderator: Nov 21, 2015
    #63
  4. PotionDose

    PotionDose Veteran Veteran

    Messages:
    48
    Likes Received:
    1
    First Language:
    English
    Hey Hudell, could you possibly throw up some screenshots? Thank You :D i love the idea of HUD's
     
    #64
  5. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,961
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    I'd rather see people sharing here a screenshot of the HUDs they made
     
    #65
    n3xPRODiGY likes this.
  6. PotionDose

    PotionDose Veteran Veteran

    Messages:
    48
    Likes Received:
    1
    First Language:
    English
    Alrighty, that makes sense. Thanks :)
     
    #66
  7. JareX

    JareX Veteran Veteran

    Messages:
    33
    Likes Received:
    8
    First Language:
    Spanish
    Hey Hudell, I was wondering if you had the time to add the feature I was talking about before

    Was about assigning a variable to the X and Y positions of OrangeHudLine, so that I can "move" the position of a displayed variable in the screen to a different position using ingame variables, this is to avoid having 50 or 100  OrangeHudLine.js and just the max number of variable ever shown on screen at once.

    Thanks for this amazing plugin!!!
     
    #67
    Hudell likes this.
  8. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,961
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Didn't I do that already?

    I'm sure I did it in one of the addons
     
    #68
    JareX likes this.
  9. JareX

    JareX Veteran Veteran

    Messages:
    33
    Likes Received:
    8
    First Language:
    Spanish
    Is it OrangeHudLineGroup.js  ???

    I can see this handles several lines with a single file which is nice, but I don't see something like "Assign X or Y position of the line to Z variable"

    The thing is I want to move the position of a displayed variable in-game via changing the value of a variable

    So let's say I assign variable Nº 25 to X and Nº26 to Y for the "A" line (variable 30).

    If the variableNº25 is 200 and the Variable 26 is 75 then the displayed variable 30 will be shown at the 200,75 position of the screen.

    And if I change the values of variables 25 or 26 then the positions of the displayed variable 30 will change dynamically in-game.

    Unless its in another module or I just don't get how to do this, in which case sorry if I missed it
     
    #69
  10. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,961
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Yup, must have been on the variable picture then.

    Well, it's a very simple change, I'll add it to all addons when I get back to my computer.
     
    #70
  11. xumingyuan

    xumingyuan Warper Member

    Messages:
    4
    Likes Received:
    1
    First Language:
    Chinese
    Thank you, Hudell, your plugins add a brilliant touch to my game. I have made a hud that shows weather, season and time on the map. 

    By the way, I think I have found a bug concerning "OrangeHudVariablePictures.js".

    When the Hud is disabled by the switch, the mouse click can still trigger the common event that is binded to the picture.

    I think it is more natural to disable it when the Hud in not shown on the screen.

    2.png
     
    #71
    ∊η∊ηra likes this.
  12. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,961
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Ah, thanks for reporting it!

    Very nice HUD, btw.
     
    #72
  13. Portkey89

    Portkey89 Veteran Veteran

    Messages:
    77
    Likes Received:
    16
    First Language:
    English
    Hi Hudell--

    I just wanted to follow up on the font issue; I'm experiencing the same problem of not being able to change it.  Thanks for your infinitely amazing plugins, as usual!
     
    #73
  14. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,961
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    What font are you trying to use?

    For the other stuff reported on the thread, I just updated the plugins with fixes.
     
    #74
  15. Seacliff

    Seacliff RPG Maker Mastermind Veteran

    Messages:
    2,938
    Likes Received:
    1,049
    Location:
    RPG Maker Forums
    First Language:
    Yes
    Primarily Uses:
    RM2k
    Is it possible to have multiple instances for some of your add ons? Specifically for your Actor Picture and Actor status plugins. I would like to show my entire party on the HUD.
     
    #75
  16. Portkey89

    Portkey89 Veteran Veteran

    Messages:
    77
    Likes Received:
    16
    First Language:
    English
    I am trying to use a custom font.  It's in my Project/fonts folder for another plugin, and it's also installed on my system.  Where does your plugin look for it?  Should I be calling it by filename or by font name?  I've tried as many ways as I could think of, but it's not registering it.  Any help is appreciated!  Thanks!
     
    Last edited by a moderator: Nov 27, 2015
    #76
  17. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,961
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    I haven't really tried it with custom fonts, only windows defaults. Can you send me yours?

    Yeah, just duplicate the add on file
     
    #77
  18. Portkey89

    Portkey89 Veteran Veteran

    Messages:
    77
    Likes Received:
    16
    First Language:
    English
    Messaged it your way!  Thanks, Hudell!
     
    #78
  19. Logan C.

    Logan C. Veteran Veteran

    Messages:
    73
    Likes Received:
    20
    First Language:
    English
    Sorry to bother you, Hudell, but can you provide a demo with a simple HUD showing a hp/mp bars? Just to catch up with the plugin's system (i get the TymeSystem demo poorly). Your anwser on JS Plugin Requests kinda baffled me.
     
    Last edited by a moderator: Dec 1, 2015
    #79
  20. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,961
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    I'll make the demo at some point, but basically, you need to use OrangeHud.js and OrangeHudVariablePicture.js, the VariablePicture addon will display a different image based on the value of the variable you define as a param.

    By default, it will simply look for a picture that the name is the value of te variable, like 1.png, 2.png and so on.

    To change that, you just need to change the pattern param. For example, to look inside a folde,r just change the pattern from '%1' to 'hp/%1'. This will make the plugin look for the pictures inside a folder called hp.

    Then you need a common parallel event or something that updates the variable with the value you need.

    For example, if you want to use 6 different images,

    * Hp is 0

    * Hp is less than 10%

    * Hp is less than 25%

    * Hp is less than 50%

    * Hp is less than 75%

    * Hp is 100%

    You can create a common parallel event that checks the current HP using conditional branches and set a different value to a specific variable: This value will be the name of the picture that you want to be displayed.
     
    #80
    Logan C. likes this.

Share This Page