[t]http://i.imgur.com/zVr69oB.png[/t]
This is an addon I've been working on for the past month or so (ive been really busy recently)
It was started as a way for me to learn more about vgui/design development, and has ended up being pretty large.
In simple terms, it's a way for servers to have custom huds, while allowing users to switch to the default. It comes with a few free huds that I've written as examples (and while trying to learn to make not-shit huds)
To install, just drag into your addons folder. If you're running TTT, you don't need to change anything in cl_hud. If you're running DarkRP, make sure everything in the hudmodification module of darkrpmodification is set to false.
In game, users can type !hud to open up the simple menu. Simply select a hud from the dropdown and it will be applied and saved.
[t]http://i.imgur.com/DUuPXL4.jpg[/t][t]http://i.imgur.com/RtxulUV.jpg[/t][t]http://i.imgur.com/kWUmyuc.jpg[/t]
As this addon kind of relies on having a few huds to choose from, if you post a design in this thread I will [i]probably[/i] write it for you (if it's good), or if you have a private hud you want converted PM me and send a link to the code.
Also, because you hate everyone elses designs, you can write your own with RIM, which is yet another side project I got distracted with. Server admins don't need to worry, there is no security flaws.
[t]http://i.imgur.com/QVc4lxn.jpg[/t]
Documentation can be found [URL=https://github.com/rejax/RHUD/tree/master/documentation]here[/URL].
I've been testing this for a while, and I can't find any bugs.
I figured I need to release this before I get completely sick of it.
[URL=https://github.com/rejax/RHUD]GitHub[/URL]
[URL=https://github.com/rejax/RHUD/archive/master.zip]Download[/URL]
If you have any questions/suggestions/criticisms please post!
-snip-
looks impressive!
nice job bruh
Wait can you do like this?
[lua]
DermaMenu:SetSkin("RHUD")
[/lua]
[QUOTE=Shriio;45029838]Wait can you do like this?
[lua]
DermaMenu:SetSkin("RHUD")
[/lua][/QUOTE]
im not sure what you mean, but probably no.
mind explaining a little more?
Am I stupid or doesn't this work at all.
Are there any errors?
Does !Hud work?
How have you installed it?
What kind of server are you running?
Let's go with the former until you can give some information
What functions, hooks, etc do you have access to?
I can imagine someone making a wallhack or aimbot in this.
(Just glanced, will test later)
[URL=https://github.com/rejax/RHUD/blob/master/lua/rim/parser.lua#L122]environment[/URL]
RIM scripts only have access to
RHUD, Color, Material, Lerp, GetRoundTime, and print
also draw, surface, render, and math libraries.
you can't even touch players, LocalPlayer is already passed as ply or Player
Well the addon is in the servers addon folder. I do not get any errors but nothing happens when i write !hud. Im running a DarkRP server.
[QUOTE=rejax;45033136]im not sure what you mean, but probably no.
mind explaining a little more?[/QUOTE]
He asked for use of the Derma skin you use in your RHUD frames in his ones.
[QUOTE=Tenrys;45092234]He asked for use of the Derma skin you use in your RHUD frames in his ones.[/QUOTE]
i figured as much
you can copy any code you want, but most of it is just gross overrides
So what do you think the problem is, rejax?
what's the path to the addon?
have you restarted your server?
does typing rhud_credits in the console make anything show?
-snip
what version of darkrp are you running?
2.5 I just got the huds working but some of them are like missing the avatar and is quite messed up.
add me on steam
on request, converted [URL=http://coderhire.com/forums/thread/1041/a-dishwasher-commercial-inspired-hud-from-steeze]two[/URL] [URL=http://coderhire.com/forums/thread/868/a-sleek-and-clean-ttt-hud]huds[/URL] for ttt
all credit to [URL=http://coderhire.com/users/view/1066]Steeze[/URL]
[URL=uppercutservers.com/rejax/steeze_rhud.zip]download (zip)[/URL]
just put the extracted steeze_rhud in addons, and rhud will mount it
Thanks a lot rejax
now only an Pointshop Intregation would be the icing on the cupcake :)
you mean so that you need to purchase huds in the pointshop to use them?
I made one of these months ago, and I agree overrides are OTT.
Mine was primarily for TTT (Built in), and sold on [URL="http://coderhire.com/scripts/view/779"]coderhire[/URL]. You're getting the exact same requests as I was, pointshop integration etc, people all want the same thing.
[url]http://s3-eu-west-1.amazonaws.com/coderhire-script-images/c4d3679efba328b053a73cd2d321d541.png[/url]
[QUOTE=rejax;45130271]you mean so that you need to purchase huds in the pointshop to use them?[/QUOTE]
yes.
It's imo a good option to reward longterm players, if you set the credits right
[QUOTE=Tomelyr;45131200]yes.
It's imo a good option to reward longterm players, if you set the credits right[/QUOTE]
Meh. I played on Phoenix's server and because the default HUD was bugged for me for some reason, I had to look at each one of the included HUDs and see if I had it. It isn't exactly the best thing to do when alive.
i'll make it optional when i get some free time
Are we able to download an individual HUD rather than having to use them all?
Pretty disgusting at the moment, although good work!
When I start up my TTT server, it claims to mount rhud, but typing !hud does nothing. Typing rhud_choose in console does work, however.
Diamond HUD causes errors when the round starts and other people are on.
[code][ERROR] addons/steeze_rhud/lua/rhud/huds/terrortown/diamond/msgstack.lua:63: attempt to index local 'client' (a nil value)
1. DrawMSTACK - addons/steeze_rhud/lua/rhud/huds/terrortown/diamond/msgstack.lua:63
2. Draw - addons/steeze_rhud/lua/rhud/huds/terrortown/diamond/msgstack.lua:137
3. unknown - RHUD_TTT:1
[/code]
It spams that error but the HUD seems to work otherwise, other than the weapon select menu. This also seems to occur with Sleek. I suspect those two are broken.
[QUOTE=WitheredPyre;45135928]
It spams that error but the HUD seems to work otherwise, other than the weapon select menu. This also seems to occur with Sleek. I suspect those two are broken.[/QUOTE]
I'm pretty sure I know what's wrong, will fix tonight
[QUOTE=GmodLUA;45132148]Are we able to download an individual HUD rather than having to use them all?[/QUOTE]
Yes, it's pretty easy to convert them back to standalone huds if you need to. Which one are you after?
[QUOTE=MistyPanda;45132202]Pretty disgusting at the moment, although good work![/QUOTE]
Thanks for the helpful feedback on how to make it less "disgusting"!
Sorry, you need to Log In to post a reply to this thread.