Orange HUD

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

  1. gattsbr

    gattsbr Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    english
     

     
    Lol I feel like i'm following Portkey89 around... This is the second thread I've found him posting about the exact thing I was looking for.


    <-- Also waiting to hear back on this ^.^
     
    Last edited by a moderator: Dec 1, 2015
    #81
  2. sertianscompany

    sertianscompany Villager Member

    Messages:
    16
    Likes Received:
    5
    First Language:
    ESP EN
    Hello Hudell! :)
    Could you please make the pictures of the plugin OrangeVariablePicture touchable? The pictures are now working if I click on them, but no point if I export my project to smartphone.

    Thank you so much in advance. :guffaw:
     
    #82
    Hudell and Kilgore Trout like this.
  3. n3xPRODiGY

    n3xPRODiGY Veteran Veteran

    Messages:
    24
    Likes Received:
    39
    Location:
    Lisbon, PT
    First Language:
    Portuguese
    Hey Hudell,

    Your plugins are amazing, thanks to you, my game's looking way better :p

    Here's my HUD:

    DrakenFall_InGame.png DrakenFall_Night.png
     
    #83
    Bonkers, Hudell and Logan C. like this.
  4. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,966
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Yup, I'll update the plugin tonight.
     
    #84
    Kilgore Trout likes this.
  5. Eff-n-Geoff

    Eff-n-Geoff Veteran Veteran

    Messages:
    182
    Likes Received:
    7
    First Language:
    English
    Hi there, absolutely love this plugin - so easy to use!

    Is there a way I can do a small calculation within the Pattern Line, I have a variable that is 500 but needs to be displayed as 100 - is this possible at all?
     
    #85
  6. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,966
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Yes, you can use the script pattern instead. Something like this:

    This script pattern will display 100 when the variable is 500, or the variable value when it is anything else. Just change NUMBER_OF_THE_VARIABLE for the number of the variable you use.

    Code:
    $gameVariable.value(NUMBER_OF_THE_VARIABLE) == 500 ? '100' : '%1';
     
    #86
  7. Eff-n-Geoff

    Eff-n-Geoff Veteran Veteran

    Messages:
    182
    Likes Received:
    7
    First Language:
    English
    So would that mean doing something like the following screenshot?

    Screen Shot 2015-12-08 at 12.27.00.png
     
    #87
  8. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,966
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Ah, you're using a line group. I don't remember if I added ScriptPatterns to that one. Just give me a few minutes and I'll check.

    Edit: Done.

    I've updated OrangeHudLineGroup.

    Set param UseScriptPattern to true, then on the PatternLine2, add this:

    'Stamina : ' + $gameVariable.value(2) == 500 ? '100' : '%1';If you have any other Pattern, change them to be inside quotes so they won't stop working.
     
    Last edited by a moderator: Dec 8, 2015
    #88
  9. gRaViJa

    gRaViJa Veteran Veteran

    Messages:
    740
    Likes Received:
    267
    Location:
    Belgium
    First Language:
    Dutch
    I'm getting this error:

    TypeError: Cannot read property 'UseScriptPattern' of undefined
        at Object.OrangeHudLineGroup.drawLine (file:///C:/Users/Kevin/Desktop/Zygmunt/js/plugins/OrangeHudLineGroup.js:174:15)
        at file:///C:/Users/Kevin/Desktop/Zygmunt/js/plugins/OrangeHud.js:187:23
        at Array.forEach (native)
        at Window_OrangeHud.drawHud

    No matter if i set this parameter to true or false, i keep getting this error. Weird.
     
    #89
  10. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,966
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Should be fixed now.
     
    #90
  11. gRaViJa

    gRaViJa Veteran Veteran

    Messages:
    740
    Likes Received:
    267
    Location:
    Belgium
    First Language:
    Dutch
    Thank you, Hudell for the quick fix. I'm trying to show a background graphic with FixedPicture now but i can't get it to show. I have created a switch to turn it the graphics on but... I guess it's the filepath to the image? Should I add /img/ or not file extention or not...?
     
    Last edited by a moderator: Dec 22, 2015
    #91
  12. ∊η∊ηra

    ∊η∊ηra Smoke and Mirrors Veteran

    Messages:
    258
    Likes Received:
    115
    Location:
    Manhattan
    First Language:
    English
    Primarily Uses:
    RMMV
    I don't know if I'm the only person that would like this function, but would it be possible to alter the HUD so that instead of being displayed vertically, it can be displayed horizontally?
     
    Like this: (sorry for how crude it looks lol, it's just a mock-up of what I want to do)

    [​IMG]
     
     
    Last edited by a moderator: Dec 22, 2015
    #92
    EternalShadow likes this.
  13. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,966
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    What addons are you using?

    For pictures, put only the file name without the extension. The picture should be on img/pictures (you can use subfolders)
     
    Last edited by a moderator: Dec 22, 2015
    #93
  14. ∊η∊ηra

    ∊η∊ηra Smoke and Mirrors Veteran

    Messages:
    258
    Likes Received:
    115
    Location:
    Manhattan
    First Language:
    English
    Primarily Uses:
    RMMV
    Were you speaking to me, Hudell? If so, I'm just using OrangeHUD and OrangeHUDLineGroup.
     
    #94
  15. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,966
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    Ah, okay, I'll include a new param on the line group add on.
     
    #95
    ∊η∊ηra likes this.
  16. gRaViJa

    gRaViJa Veteran Veteran

    Messages:
    740
    Likes Received:
    267
    Location:
    Belgium
    First Language:
    Dutch
    Sorry for the late reply.

    These are the Hud related scripts I have:

    [​IMG]

    This is the setup for the FixedPicture script. I doublechecked the name and the switch is also turned on

    [​IMG]

    Result: the variables are showing but the HUD background isnt.

    [​IMG]
     
    Last edited by a moderator: Dec 23, 2015
    #96
  17. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,966
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    And the switch 14 is turned on, I assume?

    If it is, then please send me the params for the OrangeHud itself.

    Edit: Updated OrangeHudLineGroup.
     
    Last edited by a moderator: Dec 23, 2015
    #97
    ∊η∊ηra likes this.
  18. ∊η∊ηra

    ∊η∊ηra Smoke and Mirrors Veteran

    Messages:
    258
    Likes Received:
    115
    Location:
    Manhattan
    First Language:
    English
    Primarily Uses:
    RMMV
    Great news! Thanks, Hudell. 
     
    #98
  19. gRaViJa

    gRaViJa Veteran Veteran

    Messages:
    740
    Likes Received:
    267
    Location:
    Belgium
    First Language:
    Dutch
    Yup. Switch 14 is turned on, as well as  switch 11 to turn on the HUD in general. Here are the params for OrangeHud:

    [​IMG]

    Changing opacity to 255 didnt help either, it only shows the normal window then.
     
    Last edited by a moderator: Dec 23, 2015
    #99
  20. Hudell

    Hudell Dog Lord Veteran

    Messages:
    3,323
    Likes Received:
    2,966
    Location:
    Brazil
    First Language:
    Portuguese
    Primarily Uses:
    RMMV
    What's the size of the picture?
     

Share This Page