1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Sign up for news, events and more!

    You're currently visiting the official DarkRP Forums as a guest. Sign up now to participate in our community and we'll let you know when we have news.

Release JAHM - Just Another HUD Mod

Discussion in 'DarkRP Addon & Plugin Releases' started by Race Pro Kid, Jul 14, 2014.

  1. Race Pro Kid

    Race Pro Kid New Member

    [​IMG]
    -v1.0-
    *First release

    Welcome to my first released module for DarkRP. Also my first post on the DarkRP forum.

    I just thought I'd try out my HUD-making skills to replace the dull default HUD for my server. It came out not looking too bad, considering I've never made a HUD before. I didn't realize how many posts there were about custom HUDs though.

    Features:
    -Tons of config options in cl_jahm.lua like text, text color, box color, transparency, etc
    -Health background flashes when health is under a value in the config (flashing togglable in config too)
    -Different from the DarkRP-style HUDs - if you were looking for one of those, this isn't one
    -Looks nice

    Currently does not support hungermod, check back every once in a while to see if I've updated it yet!

    Screenshot (Normal):
    [​IMG]

    Mini:
    -A bit smaller
    -More compact
    -Transparent background (color customizable in config)

    Screenshot (Mini):
    [​IMG]

    Downloads at bottom of post, or
    Normal download mirror (MEGA.co.nz)
    Mini download mirror (MEGA.co.nz)

    Installation:
    1. Go into jahm_release_vX.zip
    2. Cut/copy the "jahm" folder
    3. Paste in /addons/darkrpmodification-master/lua/darkrp_modules
    4. If updating, merge and replace any files
    5. Restart server if up

    To change config:
    1. Open cl_jahm.lua with your favorite text editor
    2. Edit the variables with comments above them at the top of the file
    3. Save, should update in-game instantly

    If you don't have the DarkRP modification addon, download it here.

    If you want, you can give me credit, but you don't have to.
    Just please do not upload anywhere else, call it your own or sell it.

    Hope you like it, any feedback, criticism or suggestion is greatly appreciated! :D
     

    Attached Files:

    Last edited: Jul 16, 2014
  2. =DoW= Nickster

    =DoW= Nickster New Member

    This hud is way to big...
     
  3. Race Pro Kid

    Race Pro Kid New Member

    I'll make a smaller version then, come back later to check for it.
     
  4. =DoW= Nickster

    =DoW= Nickster New Member

  5. Race Pro Kid

    Race Pro Kid New Member

    Made a smaller version. If it still looks too big and you are looking for a smaller HUD, this just might not be right for you. I'm trying to make it different from the normal DarkRP style of HUD.
     
  6. Sweepyoface

    Sweepyoface New Member

    The bottom of the HUD is too close to the bottom of the screen. How do I raise it up a bit?
     
  7. Tomelyr

    Tomelyr Active Member

    just did a quick look
    local x, y = 30, ScrH() - 20
    change the 20 to the padding from the bottom you want.
     
  8. Sweepyoface

    Sweepyoface New Member

    Yeah I already tried that, it moves the stuff up but the grey background just expands upwards. As in it moves up but the background doesn't move up from the bottom.
     
  9. Tomelyr

    Tomelyr Active Member

    --Box containing the HUD
    local x, y = 30, ScrH() - 20
    local boxWidth = 550
    draw.RoundedBox(0, x - 8, y - 200 + 8, boxWidth, 200, Color(85,85,85,alpha))
    draw.RoundedBox(0, x - 4, y - 200 + 12, boxWidth - 4, 200 - 4, Color(65,65,65,alpha))
    draw.RoundedBox(0, x - 4, y - 200 + 12, boxWidth - 8, 200 - 8, Color(50,50,50,alpha))

    the third arg is the pos and the 5th is the height.
     

Share This Page