Space Visor HUD
V1.3
BY:Spiffy926
Features:
Bloody screen effect when damage is taken
Supports any screen resolution
Improved Friendly/Enemy recognition
Scrolling Binary Effect
Command to disable the visor
Health Bar & Health percent
Primary ammo bar & Count *fixed!
Secondary ammo count
Armor percent
Credit goes to Emz for her contribution to this version! Thanks xD
[IMG]http://img132.imageshack.us/img132/4897/gmconstruct0002w.jpg[/IMG]
[url=http://www.garrysmod.org/downloads/?a=view&id=88246][img]http://www.garrysmod.org/img/?t=dll&id=88246[/img][/url]
My first HUD, and i think it came out pretty well :D
Also, Ideas:
-What do you think i should add? this is a WIP.
-What could i improve on?
-So far, i have included almost everything people suggested, keep up the good suggestions!
Looks good, maybe add an option to on/off the HUD.
Player:GetActiveWeapon().Primary.ClipSize Will show the max ammo for the clip.
Thanks, i'll try that when i get home today
Great. Reminds me of the Metroid Prime series.
It tells you the name of the npc? I can't tell.
It tells you the category, like Enemy Combine, Enemy Zombie, Enemy Antlion, or just Friendly.
[editline]05:43PM[/editline]
[QUOTE=-TB-;19439878]Player:GetActiveWeapon().Primary.ClipSize Will show the max ammo for the clip.[/QUOTE]
This did not work :(
It gets the error: [quote]attempt to index field 'Primary' (a nil value)[/quote]
hmm make sure your doing this check Player:GetActiveWeapon():IsValid() but I'm not sure if it will work on regular hl2 guns I know it works on player made sweps.
It must be that it doesn't work on hl2 guns, because that is all that i tried it with. Because i was doing that check. I'll try with some other weps
This made me think how sweet a Terminator-style hud would be. You know, red hud, scrolling binary everywhere, picture in picture views of practically everything...
[QUOTE=Lambda 77 :D;19492646]scrolling binary everywhere[/QUOTE]
I thought about doing this for my hud, but realised that i didnt know how lol. It would be awesome, though.
For a suggestion, why not adding a box around NPC's that it points out, so you'll be able to see them more accurately.
Needs an armor meter.
Edit: And one for secondary ammo.
[QUOTE=A Zombie;19438570]Looks good, maybe add an option to on/off the HUD.[/QUOTE]
The only problem with this is that it uses a material overlay which is only rendered once when you first start the game, so there is no real way to take it off unless you reload your game.
EDIT: I added this, but like i described above, it will only take effect when you reload your game.
EDIT:Fixed this, going to include in next version.
[QUOTE=Radec;19539668]Needs an armor meter.[/QUOTE]
This will not be a problem to add.
So. I have added everything that has been suggested so far aside from this:
[QUOTE=FunnyGamer;19521707]For a suggestion, why not adding a box around NPC's that it points out, so you'll be able to see them more accurately.[/QUOTE]
and a secondary ammo bar, because i have to edit the hud vmt to add a spot for one.
I do plan on adding the box around NPC's that it points out, but have to figure out how first. That will likely be the next thing i work on. But, for now i'm going to upload V1.2
NEWEST VERSION UPLOADED ABOVE
Finaly a good hud "ish" overlay thing!
I just have 1 problem
--- Missing Vgui material VGUI/spacevisor/crosshair_green
--- Missing Vgui material VGUI/spacevisor/crosshair_red
Which states I dont have a crosshair with it and i get a pink&black checkerbox at the crosshair when i look at somthing that is a enemy or friendly. Oh and theres a tid bit of fps lag but im kinda sure thats somthing else I have.
Ohh shit i forgot to include those, i'll reupload the pack.
Now you forgot the tags to the garrysmod download. XD
grrr lol fixed. Should work now.
Wow! Looks amazing, great job Spiffy :)
Yup 1 more thing for you is: upon death the visor dissapeared and I got this error message
Hook 'CustomHud' Failed: VisorHud.lua:35: attempt to call method 'Clip1' (a nil value)
i think this will be the last time I am going to bug you
very nice :3 make one thats a blood red color? lol
[QUOTE=ATTACK1942;19570328]very nice :3 make one thats a blood red color? lol[/QUOTE]
Or maybe an option to change the color?
[QUOTE=screenlook79;19566621]Yup 1 more thing for you is: upon death the visor dissapeared and I got this error message
Hook 'CustomHud' Failed: VisorHud.lua:35: attempt to call method 'Clip1' (a nil value)
i think this will be the last time I am going to bug you[/QUOTE]
Hmm, i'll have to look at this later today
I just download it, and looked at it, and think that i solved this problem. gonna reupload now, but idk if it will work til i get home.
Problem, I get the file not found error from garrysmod.org for the v1.2
I think he forgot to update the link. Just do a search for it.
[QUOTE=Kude;19578086]I think he forgot to update the link. Just do a search for it.[/QUOTE]
this
*Its updated nao.
This looks pretty neat spiffy. I expect to see a gamemode now with space marines. xD
[QUOTE=screenlook79;19566621]Yup 1 more thing for you is: upon death the visor dissapeared and I got this error message
Hook 'CustomHud' Failed: VisorHud.lua:35: attempt to call method 'Clip1' (a nil value)
i think this will be the last time I am going to bug you[/QUOTE]
It still isn't fixed! at least not for me!
BTW this hud is awesome,
keep up the good work!
make the hud have a change-able alpha 'cause it kinda makes a tunnel vision
Sorry, you need to Log In to post a reply to this thread.