Modern Dark Glass HUD & Addons modifications

Discussion in 'Skins and Mods' started by Echelon, Jul 3, 2017.

  1. Echelon

    Echelon PSOBB plastic surgeon

    Prerequisites

    1.Have Eidolon's PSOBB Addon Plugin, Soly's PSOBB Addons and Tornupgaming's EXP Bar Addon installed.
    2.Set language to CUSTOM (upper right corner in the launcher)
    3.Make a backup in case you want your previous settings back.

    I. HUD Skin


    This is based on my previous hud but mixed with other good ideas (like Vibestar's glass hud and Ep3 icons), with the addons in mind, for a sweet pso experience. :)

    Download it here: http://www.mediafire.com/file/s02y3euy0xyuqe9/Ech_Dark_Glass_HUD.zip

    Copy/paste in your PSOBB folder.

    II. In-game settings


    This is all my settings for reference purpose, you are free to make your own changes.

    III. Experience Bar




    The experience bar is not anchored like Soly's addons so you'll have to place it manually the first time.
    Furthermore, the height and width of the bar are set for my current resolution ( 1600x900 windowed) so you may want to change the values for the resolution you're playing at.

    1.Open init.lua (psobb folder>addon>exp bar) with notepad++
    2. Find line 20 - imgui.ProgressBar(progress, 150, 2) and change the values to your will
    3.Save and click reload in Eidolon's main menu to see the changes in-game.
     
    Last edited: Jul 7, 2017
    NDW, K_I_R_E_E_K, Dab and 8 others like this.
  2. Yalyn

    Yalyn Yeah!

    I tried. After 10 crashes, I give up.
    [​IMG]

    I mean I really love the idea of having a custom addons, it looks really great.
     
  3. Soly

    Soly Member

    Location:
    CR
    Please update your addons, use Item reader instead of character reader (character reader was removed from the repository like 2 weeks ago).
    Item reader has all the functions of character reader, mags and floor items.
     
    Echelon and Yalyn like this.
  4. Yalyn

    Yalyn Yeah!

    Okay, after I made a screenshot of that, I wanted to make sure I downloaded the latest one and install them all, so far the log is empty so I guess it's good for now.
     
    anime likes this.
  5. Soly

    Soly Member

    Location:
    CR
    Does this HUD match the boundaries for things, like the original (basically same size)?

    Also @Echelon, I believe I just broke part of this stuff.
    I'd recommend you to fork the repository on github and keep your changes there (allowing you to update it whenever I do changes that would otherwise break your modified files).

    Your changes are just adding the window color/transparency no? (for my addons)
    Can't you work that out from the theme library? (not needing to modify the code itself would avoid this kind of problems, I guess).
     
    Last edited: Jul 4, 2017
  6. Echelon

    Echelon PSOBB plastic surgeon

    Not sure if i understand your question :confused:, the hud/windows are thinner than the original one but everything is centered and match the content if that's what you ask?

    Yeah i'll try github when i have some time, it's wiser for future updates.

    Well i made some changes like item reader - mags doesn't show stats/pb (took too much screen space for me, i only use it as a mag timer) and player reader only show shifta deband and only when you cast them. Also i made player reader and monster hp windows completely transparent unlike the rest, i don't think i can do that from the theme library only.
     
  7. Soly

    Soly Member

    Location:
    CR
    Is not what I meant but it answers it anyway.... Whenever I find a window that is misplaced in HighRes HUD I need the top and left positions to try and find where they are hardcoded in the game (to improve Tofu's high res hud) and I can only get said data of the image displayed matches the boundaries of the original.
    So I can't really do that with most custom HUDs (pso2 for example).

    You definitely should, is not like I do tons of update lately but I still do from time to time (right now I am working in a theme editor which will eventually break your stuff some more).

    You are right, changing the theme for specific windows wont work with the library.
    If I get to use your HUD with said modifications (or even if not) I can probably add them as configuration in the addon itself.
     
  8. Echelon

    Echelon PSOBB plastic surgeon

    Oh i see now... I may do one that matches the original boundaries for you if you want?

    I'll wait for the next update before i do modifications again. I would love to see more customizations like that in the addon itself (an option to show/hide windows or other stuff like title bars would be awesome)! But i can understand you have other things to do, that's why i felt like doing it myself in the meantime :)
     
    Last edited: Jul 5, 2017
  9. Soly

    Soly Member

    Location:
    CR
    Nah, don't worry about it.
    So far I only need one CMode window (that I know is misplaced, but too lazy to play cmode, even if "cheating").

    I already did some updates, adding a theme editor.
    If people want other really specific changes like what you did, then sure I can add that, is no big deal.
     
  10. Soly

    Soly Member

    Location:
    CR
    Just to let you know, I have added a secondary window to show SD to the player reader so there is no need to mess with the main window showing the player list.

    You can see it in this picture (it's missing transparent window option)
    I will eventually make more windows for each player but too lazy to log more than 1 client

    [​IMG]
     
    Last edited: Jul 7, 2017
  11. Echelon

    Echelon PSOBB plastic surgeon

    Thank you very much @Soly, That's awesome!
    Plus this is very cool to have the colors in RGB in the theme editor, now you can easily match the colors of any custom hud.
    I removed my files from the first post as everything is now covered in the addon.
     
  12. Soly

    Soly Member

    Location:
    CR
    You could probably share your theme_custom.lua, since that's like the most work to set up (you could even just paste the text here rather than sharing the file).

    Also xp bar now has a setting for the bar width and height as well as overlay.
     
  13. RoySilverblade

    RoySilverblade Member

    Guildcard:
    42018443
    Hmm so I duplicated your character reader so that I could have 2 (I wanted one effectively just for showing mags timers and one for drops). Will that still be possible/unnecessary with all of these updates?
     
  14. Soly

    Soly Member

    Location:
    CR
    That won't work, fairly sure you will just get duplicated content in the first window.

    Anyway, the character reader doesn't exist anymore, now it's "Item Reader" and it has a dedicated mag window that you can enable from the menu (clicking the Item Reader button in the main menu).
     
  15. astallasalion

    astallasalion Sad Machine

    Guildcard:
    42000511
    I've been looking for a while and I can't find any way to modify the Title Bar color of the "Player Reader - Configuration" part. Is there any way to do so? I've been reading up on imgui but can't find a nice API/documentation for it

    Specifically I want to mod ESC's chat plugin so that the titlebar disappears, and is not resizable
     
  16. Soly

    Soly Member

    Location:
    CR
    You need to pass { "NoTitleBar", "NoResize" } to imgui.Begin()
     
  17. astallasalion

    astallasalion Sad Machine

    Guildcard:
    42000511
    Thanks for your response!

    I noticed in your libraries that you just have a bunch of flags like "showCurrentRoomOnly", "NoResize", or "NoScrollBar" or something, and that these flags are all contained in "configuration.lua" files which are then passed to imgui to build the actual UI elements

    I don't have a lot of experience with coding, only really know Matlab and basic Java, so perhaps I'm out a little too out of my element here. I assumed that I would be able to find some sort of master "imgui.lua" file (that every plug-in references) to be able to see exactly how the overlay is being modified in real time.

    I don't understand where imgui actually "calls" for the flags in your "configuration" files, just that you're passing them in some mysterious way.

    Sorry, doesn't feel like I'm asking the correct questions yet.
     
  18. Soly

    Soly Member

    Location:
    CR
    That's here https://github.com/ocornut/imgui/blob/master/imgui.h

    If you look into any of my addons, any imgui.Begin will do something like this (Player reader, for example, line 230 atm)

    Code:
    if imgui.Begin("Player Reader - Player 1", nil, { options.p1NoTitleBar, options.p1NoResize, options.p1NoScrollbar }) then
        imgui.SetWindowFontScale(options.fontScale)
        PresentPlayer(1)
    end
    That's how the notitlebar as well as no resize are passed into imgui.Begin()
    If you check the options for any of these... NoTitleBar and similar options are a string, that is empty when disabled and has the respective string when enabled ("NoTitleBar", "NoResize", "NoScrollbar")
     
  19. astallasalion

    astallasalion Sad Machine

    Guildcard:
    42000511
    Appreciate it a lot, man.
     
  20. READHED

    READHED Member

    I'm having trouble configuring the XP Bar Addon.
    Every addon is working except it, here is the log:
    [​IMG]
     

Share This Page