FAQ  •  Register  •  Login

CSQC minimalistic hud

Moderator: Inside3D Admins

<<

gnounc

User avatar

Posts: 305

Joined: Mon Apr 06, 2009 6:26 am

Post Thu Feb 02, 2012 4:54 am

CSQC minimalistic hud

http://dl.dropbox.com/u/1776436/hud.zip

Image

Health and armor are on the crosshair and show briefly when hit

weapon icons show previous, current and next weapon briefly while switching weapons

ammo type and ammo count show constantly

and runes/keys show only when you hold the +showscores button.

quad damage, pentagram of protection and bio suit all show up in the middle of your cursor
and scale to 0 as their timer runs out

the icons are all placeholders, ill make another release in a while with updated art.
feel free to icon replacements here

http://www.youtube.com/watch?v=EvTq0PPeG2o

the version in the video is about a week old, there has been some improvements.
ill make a new video when i have nonplaceholder assets.
<<

ceriux

User avatar

Posts: 1856

Joined: Sat Sep 06, 2008 3:30 pm

Location: Florida, USA

Post Thu Feb 02, 2012 5:16 am

Re: CSQC minimalistic hud

i like works on dp right?
QuakeDB - if you have any cool quake video's please feel free to upload them on my moddb group!
<<

Nahuel

User avatar

Posts: 370

Joined: Wed Jan 12, 2011 8:42 pm

Location: mar del plata

Post Thu Feb 02, 2012 7:14 am

Re: CSQC minimalistic hud

:) looks nice, i made some csqc HUD´s for dp, and smith update the code
http://quakeone.com/forums/quake-mod-releases/finished-works/7189-custom-hud-csqc.html
hi, I am nahuel, I love quake and qc.
<<

gnounc

User avatar

Posts: 305

Joined: Mon Apr 06, 2009 6:26 am

Post Thu Feb 02, 2012 7:45 am

Re: CSQC minimalistic hud

thanks nahuel.
also thanks for the link, looking into it now.

and yes it works on dp. its got a bug in the armor ive yet to sort out, im certain its dead simple but i havent found it yet.
yellow armor doesnt show on the crosshair.

sizing for dp and fte arent consistant, i think its down to me using conwidth when spike told me not to.

i sized everything in fte, so things are a bit big in dp, thats just a matter of resizing whatever images you use
to replace the ones provided.
<<

ceriux

User avatar

Posts: 1856

Joined: Sat Sep 06, 2008 3:30 pm

Location: Florida, USA

Post Thu Feb 02, 2012 4:40 pm

Re: CSQC minimalistic hud

you could just scale them with the csqc.
QuakeDB - if you have any cool quake video's please feel free to upload them on my moddb group!
<<

Spike

Posts: 2084

Joined: Fri Nov 05, 2004 3:12 am

Location: UK

Post Thu Feb 02, 2012 6:04 pm

Re: CSQC minimalistic hud

Querying an image for its size is non portable, not just between engines but also between image replacement packages (an engine might have a few different behaviours, it might retrieve the size of the original lmp instead of the replacement, it might use the scale features of a jpeg, or it might return the exact pixel size of the replacement - fte does the first and never the second, I don't know what dp's behaviour is).
also certain shaders may not even have an image and thus cannot have any predetermined size.
So the getimagesize builtin should generally not be used.
getimagesize will generally return the expected size of the image in virtual-screen-space which mirrors expected engine internals, which is why vid_conwidth resizes everything as it changes the virtual screen width but not the results of getimagesize.
vid_conwidth/height can be used, but its inefficient to query a cvar instead of just using the arguments to your render function... fte will emulate any incompatibilities with that cvar, but like I say, you shouldn't depend upon that behaviour, especially if someone runs your hud in a (possiby software rendered) engine with no vid_conwidth cvar. What I'm trying to say is that if you have the same effective value set in both engines, you should get the same result.

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.
Icons provided by Aha Soft