Centered HUD Mod

Discussion in 'Modification & Media' started by TechieW, Jan 13, 2018.

?

Do you own a ultra wide monitor?

  1. hell yeah boy

    37.5%
  2. no

    62.5%
  1. TechieW

    TechieW

    Posts:
    8
    Likes Received:
    17
    centerhudpreview.png
    ALTERNATIVE VERSION:
    centerhudbothpreview.png
    Do you own a ultra wide monitor? Do you play as jedi/sith? Are you tired of getting a whiplash every time you need to check your FP/BP in the midst of combat?
    Then this is the mod for you. This mod simply places the right side HUD in the middle of the screen, with a little bit of customization to the HUD for visibility.

    Installation is easy, just put the .pk3 file into your MB2 folder, no files will be overwritten.

    Download link (only right side HUD centered):
    MB2CenterHUD.rar

    Download link (Left and right HUD centered):
    MB2CenterHUDBoth.rar

    Credits:
    The guide I used to modify the HUD:
    Heads Up Display Tutorial - Star Wars: Jedi Academy
    Use it to modify the HUD further if you want to

    The MB2 team for the code in the .menu files that I modified
     
    Last edited: Jan 18, 2018
    kenku, GoodOl'Ben, Hessu and 10 others like this.
  2. eezstreet

    eezstreet Movie Battles II Team Retired

    Posts:
    269
    Likes Received:
    295
    do one with both HUD elements centered in the middle and you've got gold here sir
     
    Hexodious and TechieW like this.
  3. TechieW

    TechieW

    Posts:
    8
    Likes Received:
    17
    Sure, I'll post an alternative version here soon

    EDIT: Done
     
    Last edited: Jan 13, 2018
    Hexodious and eezstreet like this.
  4. Shady

    Shady

    Posts:
    113
    Likes Received:
    194
    Hehe, it feels like a WoW addon, good job
     
    Hexodious and TechieW like this.
  5. Hexodious

    Hexodious Donator Movie Battles II Team

    Posts:
    625
    Likes Received:
    531
    3440x1440 21:9 reporting in. I probably won't use it as I rarely need to keep my eye on the stats at all time, but I am a weirdo. This edit is awesome - Good job!
     
    TechieW likes this.
  6. Damboy99

    Damboy99

    Posts:
    9
    Likes Received:
    6
    There is an option in settings, that adds a large red bar on the right side for your BP, it does not block vision, and its easy enough to see with out looking away. I would recommend it, as you can see it in your peripheral, and its wide enough that you can see where your BP is at.
     
    TechieW likes this.
  7. |CB|Lyrion

    |CB|Lyrion

    Posts:
    276
    Likes Received:
    156
    Pretty neat! I like this alot, it's not quite working for me but i still do appreciate the concept.

    My hat to you for thinking out of the box.
     
    Last edited: Jan 19, 2018
    TechieW likes this.
  8. Helix

    Helix Movie Battles II Team Retired

    Posts:
    532
    Likes Received:
    492
    Great job!
     
    TechieW likes this.
  9. Galatine

    Galatine

    Posts:
    7
    Likes Received:
    4
    This is nice. I'm trying to make a fully custom center hud but I've hit an obstacle. Where are the individual ticks defined?
     
  10. TechieW

    TechieW

    Posts:
    8
    Likes Received:
    17
    I don't really know more than what is in the tutorial linked to in the main post. When you say ticks I assume you mean the parts that make up the health bar etc? I've not really tried to change them, but there are references to ticks inside the files that I have changed.
     
  11. Liniyka_xddd

    Liniyka_xddd EU Official Server Admin

    Posts:
    324
    Likes Received:
    691
    4:3 master race
     
    Last edited: Feb 8, 2018
    Mara, Puppytine and TechieW like this.
  12. Galatine

    Galatine

    Posts:
    7
    Likes Received:
    4
    There are only three references, and those define the basic tick images (inner/outer/full), but no references to tick1, tick2, etc. The hud is radial, so I'm assuming there's a function somewhere that rotates and overlays the tick image, but I can't find it for the life of me.
     
  13. GoodOl'Ben

    GoodOl'Ben Donator Moderator Movie Battles II Team Gameplay Leader

    Posts:
    958
    Likes Received:
    1,399
    This might be hardcoded. Don't quote me on it, but I recall something like this potentially being controlled in the code for whatever insane reason.
     
  14. SeV

    SeV EU Official Server Admin Internal Beta Team

    Posts:
    818
    Likes Received:
    1,174
    Old devs = Hardcode all the fun stuff like timelimits, because fun stuff isn't allowed.

    I like the idea of this UI. It would be cool to eventually have it as an additional option alongside simplehud, if devs run out of other things to do lol.
     
    TechieW and Mara like this.
  15. Galatine

    Galatine

    Posts:
    7
    Likes Received:
    4
    Yeah, it's definitely hardcoded, but not impossible to work with. I am continuing my project. :)
     
    TechieW likes this.
  16. GoodOl'Ben

    GoodOl'Ben Donator Moderator Movie Battles II Team Gameplay Leader

    Posts:
    958
    Likes Received:
    1,399
    It would have been significantly more time-consuming to develop new ways for handling the UI.

    I recommend using the cg_simplehud 1 function and altering that variant. That might not have similar code restrictions. Albeit it might be missing some of the newer HUD features.
     
  17. Galatine

    Galatine

    Posts:
    7
    Likes Received:
    4
    I'll take a look at the simplehud files when I get home, but I was able to make some test graphics using the normal one. The rotary function is hard-coded, but you can customize the singular tick graphic, so I'm running with that. The tick image is just one segment from a pie with 64 slices, each step on the bar is rotated 5.625 degrees, 25 steps per bar with 14 slices empty at the top and bottom. I've made an accurate pie in vector graphics, I can upload a PSD template if anyone is interested.
     
    TechieW and GoodOl'Ben like this.
  18. Fang

    Fang Donator

    Posts:
    158
    Likes Received:
    151
    debated whether this is gonna help me or not - test time mr krabs
     
    TechieW likes this.
  19. TechieW

    TechieW

    Posts:
    8
    Likes Received:
    17
    Sure, I could maybe have some use for the template later, I'm sure other people would find it useful aswell. You can link to it right in this thread if you want, make it easy for people to find it
     
  20. Galatine

    Galatine

    Posts:
    7
    Likes Received:
    4
    Here you go. The yellow segment is the one used by the hud, so that is where you'll draw your tick graphics. The orange segments are the other positions on the radial, and the grey are unused. Zip file contains a PSD with vector paths.

    hud_pie.jpg
     

    Attached Files:

    TechieW likes this.

Share This Page