This is a DarkRP HUD that I a made in 2 days at the most. It has many features that I will continue to explain about.
[IMG]http://i.imgur.com/Ee0QnZM.jpg?1[/IMG]
[B][I]Features:[/I][/B]
[I]- Health AND Armor bar + percentage at bottom left.
- Displays your job (bottom right)
- Displays the money currently in your wallet (bottom right)
- Displays the salary for your current job (bottom right)
- Has a rotating playermodel viewer in the bottom (center)
- Name (top left)
- F4 Menu help (top left)
- Rank (top right)
- Community/Server name (top right)
- Steam Avatar at the top (center)
[/I]
Here is another image:
[IMG]http://i.imgur.com/3Xka2RX.jpg[/IMG]
What do you guys think? This is my first HUD creation, and I would like comments/feedback/suggestions on it.
Thanks!
Rank is useless, everyone knows their rank, other then that, I enjoy it, however I am not very artistic. Try posting in the Art WAYWO in this section next time aswell.
Since facepunch is not synonymous with any DarkRP community, your best bet would be to either put it on a server and ask for feedback there, or post in DarkRP threads.
Thanks both of you. But I just want feedback on the overall look of it? Does it look presentable/what should I add?
Personally, I think it could do with a lot of work. It doesnt really look like a HUD. For the purpose it serves, it takes up more room than it needs to. The default DarkRP HUD is actually fine. Its compact while at the same time displaying all the information you need that is relevant to the gameplay. The GMS HUD is the same. PERP's HUD was the same as well. Unless you are running an MMO, I dont think its necessary to have a HUD take up the whole screen.
Yeah, there's a lot going on in this HUD, try to keep it in a general area/region of the screen so it's not so...distracting?
To format money, use: [code]string.Comma( amount );[/code]
I'd recommend hiding the top-bar unless the score-board is open because the information isn't relevant to the "game". I'd also suggest maybe adding icons for money, etc. They're pretty simple to draw.
[code]-- _mat = Material( "icon16/money.png" ); // for example...
local _x, _y = ScrW( ) / 2, ScrH( ) / 2;
local _w, _h = 16, 16;
surface.SetMaterial( _mat );
surface.SetDrawColor( Color( 255, 255, 255, 255 ) );
surface.DrawTexturedRect( _x, _y, _w, _h );[/code]
Feel free to take a look at this to show a very easy way to resize the hud based on resolutions: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/vgui/understanding_hardcoding_of_screensizes.lua.html[/url]
And how to add a check to HUDShouldDraw for it: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/vgui/proper_hud_creation.lua.html[/url]
[QUOTE=Acecool;45556728]To format money, use: [code]string.Comma( amount );[/code]
I'd recommend hiding the top-bar unless the score-board is open because the information isn't relevant to the "game". I'd also suggest maybe adding icons for money, etc. They're pretty simple to draw.
[code]-- _mat = Material( "icon16/money.png" ); // for example...
local _x, _y = ScrW( ) / 2, ScrH( ) / 2;
local _w, _h = 16, 16;
surface.SetMaterial( _mat );
surface.SetDrawColor( Color( 255, 255, 255, 255 ) );
surface.DrawTexturedRect( _x, _y, _w, _h );[/code]
Feel free to take a look at this to show a very easy way to resize the hud based on resolutions: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/vgui/understanding_hardcoding_of_screensizes.lua.html[/url]
And how to add a check to HUDShouldDraw for it: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/vgui/proper_hud_creation.lua.html[/url][/QUOTE]
Thanks for the help on that! Does Garry's Mod come with Icons I can use? Or do I have to find some and add it to a fastdl?
GMod includes the icon16 pack as [URL="http://www.famfamfam.com/lab/icons/silk/previews/index_abc.png"]seen here[/URL].
The path is icon16/[highlight]name[/highlight].png
Just replace the red text with whatever the icon name is in the link above.
[QUOTE=Zephruz;45550964]Yeah, there's a lot going on in this HUD, try to keep it in a general area/region of the screen so it's not so...distracting?[/QUOTE]
I would honestly say the opposite. There isnt enough going on in this HUD to justify using so much screen space. I dont play a lot of MMOs but my friend used to play WoW and you have things like health, quests/missions, people in your group and their stats, buffs, hotbars, etc. I have played EVE Online a bit and they seem to keep it nice and tidy until you try and look at stuff in the market or whatever, then you have like 10 or 15 windows open. Anyway, keep it simple for DarkRP, theres no need to use so much of the screen.
Sorry, you need to Log In to post a reply to this thread.