UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

hud help

HOT
broken avatar :(
Created 12 years ago
by javipotter
0 Members and 1 Guest are viewing this topic.
6,052 views
broken avatar :(
×
broken avatar :(
Location: escastellon
Date Registered: 14 February 2013
Last active: 6 years ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
javipotter's Groups
javipotter's Contact & Social LinksJAVI-POTTERZombieModdingJavipotterjavi potter
In the hud where the points are shown, has got a backgrqund image that is blood, i tried to change it for a custom image that is a golf n sarcophagus but in codwaw appears red, if anyone know the solution please ask
Marked as best answer by javipotter 12 years ago
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
The images are colored with a dvar. I don't know offhand what the name is but you should be able to find it. Just set the value to 1 1 1 1 to have them not be tinted to a color.

Edit:
To change the players' score TEXT color, you edit these:
cg_scorescolor_gamertag_0
cg_scorescolor_gamertag_1
cg_scorescolor_gamertag_2
cg_scorescolor_gamertag_3

The format is RGBA 0-1 float/decimal. So to do green color, you would enter 0 1 0 1.

To change the players' score BG color: you edit this:
cg_scorescolor_zombie.

The format for the value is the same as the ones above. To change the alpha for the scores BG, edit thiis:
cg_scorescolor_transparencyzombie

The format is 0-1 float/decimal, 1 is fully visible, 0 is fully invisible.
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 6 August 2012
Last active: 6 years ago
Posts
277
Respect
Forum Rank
Mr. Elemental
Primary Group
Scripter Elite
My Groups
More
×
YaPh1l's Groups
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
YaPh1l's Contact & Social Links
cg_scorescolor_zombie

- Phil.
broken avatar :(
×
broken avatar :(
Location: escastellon
Date Registered: 14 February 2013
Last active: 6 years ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
javipotter's Groups
javipotter's Contact & Social LinksJAVI-POTTERZombieModdingJavipotterjavi potter
but in which file?
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 6 August 2012
Last active: 6 years ago
Posts
277
Respect
Forum Rank
Mr. Elemental
Primary Group
Scripter Elite
My Groups
More
×
YaPh1l's Groups
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
YaPh1l's Contact & Social Links
You can set the DVar in any script file. I'd suggest _zombiemode.gsc, onPlayerConnect_clientDvars(), so that it will be set for every player while he connects to the game.

- Phil.
broken avatar :(
×
broken avatar :(
Location: escastellon
Date Registered: 14 February 2013
Last active: 6 years ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
javipotter's Groups
javipotter's Contact & Social LinksJAVI-POTTERZombieModdingJavipotterjavi potter
oh so you mean to create myself that? cause in zombiemode.gsc i cant see that, and i dont know almost any scripting
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 6 August 2012
Last active: 6 years ago
Posts
277
Respect
Forum Rank
Mr. Elemental
Primary Group
Scripter Elite
My Groups
More
×
YaPh1l's Groups
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
YaPh1l's Contact & Social Links
Umm no, onPlayerConnect_clientDvars() is an existing function. It looks like this for stock DR:
Code Snippet
Plaintext
onPlayerConnect_clientDvars()
{
self SetClientDvars( "cg_deadChatWithDead", "1",
"cg_deadChatWithTeam", "1",
"cg_deadHearTeamLiving", "1",
"cg_deadHearAllLiving", "1",
"cg_everyoneHearsEveryone", "1",
"compass", "0",
"hud_showStance", "0",
"cg_thirdPerson", "0",
"cg_fov", "65",
"cg_thirdPersonAngle", "0",
"ammoCounterHide", "0",
"miniscoreboardhide", "0",
"ui_hud_hardcore", "0" );

self SetDepthOfField( 0, 0, 512, 4000, 4, 0 );
}
You can easily add the cg_scorescolor_zombie Dvar to that list with your custom color.

- Phil.
broken avatar :(
×
broken avatar :(
Location: escastellon
Date Registered: 14 February 2013
Last active: 6 years ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
javipotter's Groups
javipotter's Contact & Social LinksJAVI-POTTERZombieModdingJavipotterjavi potter
thx to both guys here is the final result :D
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
thx to both guys here is the final result :D
(Image removed from quote.)
Looks great man, excited to see that map finished :)
broken avatar :(
×
broken avatar :(
Location: escastellon
Date Registered: 14 February 2013
Last active: 6 years ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
javipotter's Groups
javipotter's Contact & Social LinksJAVI-POTTERZombieModdingJavipotterjavi potter
thx :P
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 2 years ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
thx to both guys here is the final result :D
(Image removed from quote.)

is it just me or is the bottom of that pole see-through. i hate the map already. lol joking  :poker: im looking forward in trying it. :)
broken avatar :(
×
broken avatar :(
Location: escastellon
Date Registered: 14 February 2013
Last active: 6 years ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
javipotter's Groups
javipotter's Contact & Social LinksJAVI-POTTERZombieModdingJavipotterjavi potter
no, its not, its on the other side of the metal piece :P

Post Merge: March 27, 2014, 03:03:27 pm
anyways, anyone know which is the dvar for the chalks? i mean where the number of rounds appear :D
Last Edit: March 27, 2014, 03:03:27 pm by javipotter
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 7 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
Signature

(Click to enter portfolio)
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
anyways, anyone know which is the dvar for the chalks? i mean where the number of rounds appear :D
That is controlled in _zombiemode.gsc. The actual marks that appear from rounds 1-10 are controlled in the function "create_chalk_hud". Change the RGB value on this line:


The numbers' color from round 11+ are controlled in the function "chalk_round_hint". Near the bottom of the function will be another color set, change it to the RGB value of your choice:

Last Edit: March 27, 2014, 06:31:50 pm by SajeOne
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 10 October 2013
Last active: 2 years ago
Posts
541
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
×
ProGamerzFTW's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
no, its not, its on the other side of the metal piece :P

Post Merge: March 27, 2014, 03:03:27 pm
anyways, anyone know which is the dvar for the chalks? i mean where the number of rounds appear :D

Sorry not the pole, i meant the thing with the herioglyphics or whatever. xD
broken avatar :(
×
broken avatar :(
Location: escastellon
Date Registered: 14 February 2013
Last active: 6 years ago
Posts
106
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Member
My Contact & Social Links
More
×
javipotter's Groups
javipotter's Contact & Social LinksJAVI-POTTERZombieModdingJavipotterjavi potter
ohhh lol the sarcophagus, you mean the one on the hud? where points appear? yes its a bit transparent hahaha

 
Loading ...