Post: Dicks Vs Pussies !!
01-09-2011, 02:41 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Use these Dvars to change:

The team names on the scoreboards

The team icon on the scoreboards

The colour of the player names over their heads (funny online if you make everyone green!)

The Video shows what I mean.

[ame=https://www.youtube.com/watch?v=nzRBy-nNg3g]YouTube - x_DaftVader_x Dick Vs Pussies[/ame]


    setDvar("g_TeamName_Allies", "DICKS");
setDvar("g_TeamIcon_Allies", "cardicon_prestige10_02");
setDvar("g_TeamIcon_MyAllies", "cardicon_prestige10_02");
setDvar("g_TeamIcon_EnemyAllies", "cardicon_prestige10_02");

setDvar("g_ScoresColor_Allies",".6 .8 .6");
setDvar("g_TeamName_Axis", "PUSSIES");
setDvar("g_TeamIcon_Axis", "cardicon_prestige10_02");
setDvar("g_TeamIcon_MyAxis", "cardicon_prestige10_02");
setDvar("g_TeamIcon_EnemyAxis", "cardicon_prestige10_02");
setDvar("g_ScoresColor_Axis",".6 .8 .6 ");

setdvar("g_ScoresColor_Spectator", ".6 .8 .6");
setdvar("g_ScoresColor_Free", ".6 .8 .6");
setdvar("g_teamColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamColor_EnemyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_EnemyTeam", ".6 .8 .6" );


To change the names to all red use the colour code "1 .45 .5"

Don't forget to precache the icon you want to use in your _missions init();
(adsbygoogle = window.adsbygoogle || []).push({});

The following 8 users say thank you to x_DaftVader_x for this useful post:

angel_of_deth, DEREKTROTTER, Ghost1990, Hazey, iP4Y, JTAGXENON, TheJaRniBoi, widowmaker19
01-09-2011, 03:32 PM #11
Originally posted by juddylovespizza View Post
I like the icon change not seen that before Smile


&autoplay=0 PLEASE Winky Winky
01-09-2011, 03:37 PM #12
DEREKTROTTER
You're Goddamn Right
LOL thanks, you find some unique stuff Happy

whats with the checkerboard though in bottom corner? cant u change that?
01-09-2011, 03:48 PM #13
Originally posted by Homer

...


Nice, made me LOL Happy
Keep it up Homer....

And with this

    	setdvar("g_teamColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamColor_EnemyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_EnemyTeam", ".6 .8 .6" );


You can make everyone's name Green? Dancing

And what is the enemies name default color (red) -Code? Do you know?
01-09-2011, 03:57 PM #14
TheJaRniBoi
Why So Serious?
thanks homer, do you know what the code is for when someone has a skull and bones logo over their head?
01-09-2011, 03:59 PM #15
iP4Y
Are you high?
Originally posted by Homer
you dont need the level.icontest ="cardicon_whatever") bit. That's for something else.

just use this bit

precacheShader("cardicon_prestige10_02");


oh ok just trying to help i really enjoy this code XD Smile
01-09-2011, 04:04 PM #16
Originally posted by TuhoajaFIN View Post
Nice, made me LOL Happy
Keep it up Homer....

And with this

    	setdvar("g_teamColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamColor_EnemyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_EnemyTeam", ".6 .8 .6" );


You can make everyone's name Green? Dancing

And what is the enemies name default color (red) -Code? Do you know?


Use all of them so it works both ways for both teams..
I put the colour code for red in the OP. But its better to make everyone green, it will create chaos online Smile

---------- Post added at 04:01 PM ---------- Previous post was at 03:59 PM ----------

Originally posted by JaRniBoi View Post
thanks homer, do you know what the code is for when someone has a skull and bones logo over their head?


Im trying to get that working but I think it has an extra check somewhere.. I want to put any icon or text over someones head..

---------- Post added at 04:04 PM ---------- Previous post was at 04:01 PM ----------

Originally posted by DEREKTROTTER View Post
LOL thanks, you find some unique stuff Happy

whats with the checkerboard though in bottom corner? cant u change that?


Its because you've changed the icon for the team so it doesn't match. It must be another dvar somewhere to get that to match the other ones..

If you put icon name as ("") you get the checkerboard on the scoreboard as well instead of the skull..
01-09-2011, 04:29 PM #17
Originally posted by Homer
Use all of them so it works both ways for both teams..
I put the colour code for red in the OP. But its better to make everyone green, it will create chaos online Smile


Im adding this to 2.5.8 but getting unknown fuction...

I added this:

    
case "Green names":
if(getDvar("g_teamColor_MyTeam")== "1 .45 .5")
{
setDvar("g_TeamName_Allies", "DICKS");
setDvar("g_ScoresColor_Allies",".6 .8 .6");
setDvar("g_TeamName_Axis", "PUSSIES");
setDvar("g_ScoresColor_Axis",".6 .8 .6 ");
setdvar("g_teamColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamColor_EnemyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_EnemyTeam", ".6 .8 .6" );
self iPrintIn("^4Green names : Enabled");
}
else
{
setDvar("g_ScoresColor_Allies","1 .45 .5");
setDvar("g_ScoresColor_Axis",".6 .8 .6");
setdvar("g_teamColor_MyTeam", "1 .45 .5");
setdvar("g_teamColor_EnemyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_MyTeam", "1 .45 .5" );
setdvar("g_teamTitleColor_EnemyTeam", ".6 .8 .6" );
self iPrintIn("^4Green names : Disabled");
}


Do you know why?

I tried to make it look like TheUnkn0wns coding... (Below)
        case "Alien vs Predator [SnD]":
if(getDvar("AvP")=="1")
{
setDvar("AvP","0");
self iPrintln("^4AvP : Disabled");
setDvar("cg_gun_z",0);
}
else
{
setDvar("AvP","1");
self iPrintln("^4AvP : Enabled");
}
01-09-2011, 04:30 PM #18
TheJaRniBoi
Why So Serious?
Originally posted by Homer
Use all of them so it works both ways for both teams..
I put the colour code for red in the OP. But its better to make everyone green, it will create chaos online Smile

---------- Post added at 04:01 PM ---------- Previous post was at 03:59 PM ----------



Im trying to get that working but I think it has an extra check somewhere.. I want to put any icon or text over someones head..

---------- Post added at 04:04 PM ---------- Previous post was at 04:01 PM ----------



Its because you've changed the icon for the team so it doesn't match. It must be another dvar somewhere to get that to match the other ones..

If you put icon name as ("") you get the checkerboard on the scoreboard as well instead of the skull..


i think that skull thingy was in one of jeffdakins (i don't know how to spell his name) patch

this one You must login or register to view this content.
01-09-2011, 05:34 PM #19
Originally posted by TuhoajaFIN View Post
Im adding this to 2.5.8 but getting unknown fuction...

I added this:

    
case "Green names":
if(getDvar("g_teamColor_MyTeam")== "1 .45 .5")
{
setDvar("g_TeamName_Allies", "DICKS");
setDvar("g_ScoresColor_Allies",".6 .8 .6");
setDvar("g_TeamName_Axis", "PUSSIES");
setDvar("g_ScoresColor_Axis",".6 .8 .6 ");
setdvar("g_teamColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamColor_EnemyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_MyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_EnemyTeam", ".6 .8 .6" );
self iPrintIn("^4Green names : Enabled");
}
else
{
setDvar("g_ScoresColor_Allies","1 .45 .5");
setDvar("g_ScoresColor_Axis",".6 .8 .6");
setdvar("g_teamColor_MyTeam", "1 .45 .5");
setdvar("g_teamColor_EnemyTeam", ".6 .8 .6" );
setdvar("g_teamTitleColor_MyTeam", "1 .45 .5" );
setdvar("g_teamTitleColor_EnemyTeam", ".6 .8 .6" );
self iPrintIn("^4Green names : Disabled");
}


Do you know why?

I tried to make it look like TheUnkn0wns coding... (Below)
        case "Alien vs Predator [SnD]":
if(getDvar("AvP")=="1")
{
setDvar("AvP","0");
self iPrintln("^4AvP : Disabled");
setDvar("cg_gun_z",0);
}
else
{
setDvar("AvP","1");
self iPrintln("^4AvP : Enabled");
}


You'e not making the getDvar right it would need to be something like.

if(getDvar("greenNames")==1)
{setDvar("greennames","0");
self thread GreenNamesoff():}
else
{setDvar("greennames","1");
self thread GreenNames();}

etc etc...

but you dont need to do all that, these dvars are only temporary, once the game ends they reset anyway..

The following user thanked x_DaftVader_x for this useful post:

Tuhoaja

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo