AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Changing HUD text color (https://forums.alliedmods.net/showthread.php?t=215261)

roymor 05-05-2013 12:44

Changing HUD text color
 
How can I change the color of the hp/ap/money all the stuff ?
I know there're few colors to it like red green yellow blue and maybe more

.Dare Devil. 05-05-2013 14:19

Re: Changing HUD text color
 
I dont think that this is possible.
Huds are in client side.

roymor 05-05-2013 16:26

Re: Changing HUD text color
 
Quote:

Originally Posted by .Dare Devil. (Post 1946425)
I dont think that this is possible.
Huds are in client side.

Yea but lets say user lose money so instead of green hud it will show a red hud showing how much he lost so I guess it maybe can be done just a simple color twiching maybe ?

yan1255 05-05-2013 17:00

Re: Changing HUD text color
 
All those stuff are client side.... i'm not sure but you can maybe use a different sprite for them.

Blizzard_87 05-06-2013 05:44

Re: Changing HUD text color
 
Quote:

Originally Posted by roymor (Post 1946511)
Yea but lets say user lose money so instead of green hud it will show a red hud showing how much he lost so I guess it maybe can be done just a simple color twiching maybe ?

only way is to some how disable the default hud. and create your own to change colour depending on the health.

yan1255 05-06-2013 14:35

Re: Changing HUD text color
 
Quote:

Originally Posted by Blizzard_87 (Post 1946800)
only way is to some how disable the default hud. and create your own to change colour depending on the health.

It's not hard to disable the default hud...
You can create an hudmessage (using dhudmessage include) in what color you want and it will be like a fake health and such....
although disabling the health and armor huds is included with disabling the radar hud...

.Dare Devil. 05-06-2013 17:02

Re: Changing HUD text color
 
Quote:

Originally Posted by Blizzard_87 (Post 1946800)
only way is to some how disable the default hud. and create your own to change colour depending on the health.

Quote:

Originally Posted by yan1255 (Post 1947068)
It's not hard to disable the default hud...
You can create an hudmessage (using dhudmessage include) in what color you want and it will be like a fake health and such....
although disabling the health and armor huds is included with disabling the radar hud...

Not a good idea.

bibu 05-06-2013 18:29

Re: Changing HUD text color
 
Quote:

Originally Posted by .Dare Devil. (Post 1947154)
Not a good idea.

Why is using dhud messages not a good idea? Tell me.

yan1255 05-07-2013 16:10

Re: Changing HUD text color
 
Quote:

Originally Posted by .Dare Devil. (Post 1947154)
Not a good idea.

Why?

Quote:

Originally Posted by bibu (Post 1947180)
Why is using dhud messages not a good idea? Tell me.

Actually it takes more CPU but still it will work perfectly (if you know how to use it)


All times are GMT -4. The time now is 10:45.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.