Changing standard hud colour
Post Reply
Quote
Re: Changing standard hud colour
Posted by crockett on Sat Sep 11th at 11:07am 2004


Is it possible to change the appearance and dislpayed colour of the HUD display as I would like to personalise the hud display for my mod.Also,how can I display statistics for when a player sees something i.e.another player to tell them whether they are friend or foe and what their health condition is.If anyone can help,I would be very grateful



Quote
Re: Changing standard hud colour
Posted by fraggard on Sat Sep 11th at 11:28am 2004


Changing the display is possible, definitely.

http://collective.valve-erc.com/index.php?doc=1057178411-14238000

I haven't coded for HL ever, so I can't be sure, but I think it's very much possible to show whether the person you're pointing at is friend or foe. The details are beyond me though. You might want to ask some coder types who hang around (Desplesda, for one)

I hope you're fairly proficient at working with the SDK. Good Luck





Quote
Re: Changing standard hud colour
Posted by wil5on on Sat Sep 11th at 12:05pm 2004


http://spirit.valve-erc.com

trigger_hudcolor i think...

[addsig]




Quote
Re: Changing standard hud colour
Posted by crockett on Sat Sep 11th at 2:50pm 2004


Thanks very much for your help

IWhere do you get the trigger_hudcolour from? I can't remember seeing it in spirit's list of entities nor in half life's.if you can tell me where I can find this,I'll owe you one!

'll get my thinking cap on!!





Quote
Re: Changing standard hud colour
Posted by G.Ballblue on Sat Sep 11th at 2:51pm 2004


Sniper from the Sven-Coop team would know how to display freindly/enemy monsters.

Asking him may be tricky, because he has a very strict advertistment = 2 day ban policy.

[addsig]




Quote
Re: Changing standard hud colour
Posted by crockett on Sat Sep 11th at 3:03pm 2004


hmm,how do I get hold of sniper?



Quote
Re: Changing standard hud colour
Posted by G.Ballblue on Sat Sep 11th at 3:12pm 2004


http://www.svencoop.com/forums/

You might need to sign up. I would try sending him a PM, not posting a thread.

The mod he programs for is designed to display a different text color when looking at a freindly or enemy monster.

Be careful ::: He's a pretty... hmmm.... "explosive", I suppose is the right word, when it comes to conversation.

Check the anouncments forum, you should see his name listed next to one of the threads.

[addsig]




Quote
Re: Changing standard hud colour
Posted by Loco on Sat Sep 11th at 3:16pm 2004


Using spirit, set-up a trigger_command to be fired by a trigger_auto. The command line should be hud_color RRR GGG BBB, where R, G and B are the levels on red green and blue. You can change the colour in-game, for example, using a trigger_inout to fire two different hud_color commands so that the hud turns red when you enter an area where the player gets hurt (fire, steam, trigger_hurt etc.)
[addsig]




Quote
Re: Changing standard hud colour
Posted by wil5on on Sun Sep 12th at 4:01am 2004


Ahhh thats the one. Sorry crock, do what Loco said. [addsig]




Post Reply