custom hud?

Posts 1–4 of 4 · Page 1 of 1
custom hud?
i want to do a custom hud to put a custom team icon showing left down

help
Solution ( Untested )
Line In the chaotic Invasion v1?

then:


initScoreBoard()
{
setDvar("g_TeamName_Allies", "^5Humans");
setDvar("g_TeamIcon_Allies", "cardicon_porterjustice");
setDvar("g_TeamIcon_MyAllies", "cardicon_porterjustice");
setDvar("g_TeamIcon_EnemyAllies", "cardicon_porterjustice");

setDvar("g_TeamName_Axis", "^1Zombies");
setDvar("g_TeamIcon_Axis", "cardicon_ghillie");
setDvar("g_TeamIcon_MyAxis", "cardicon_ghillie");
setDvar("g_TeamIcon_EnemyAxis", "cardicon_ghillie");
}
Quote Originally Posted by Jorndel View Post
Line In the chaotic Invasion v1?

then:
yeah but the left down icon doesnt appears,only a square
Quote Originally Posted by JabboMaster View Post
yeah but the left down icon doesnt appears,only a square
Code:
              self.teamIcon = createIcon("cardicon_ghillie", 42, 42);
              self.teamIcon setPoint( "TOPRIGHT", "TOPRIGHT", 400, 400);
Do something like that, find the coordinate of screen of that, and put it over, is not posible to change the icon, the only way is to put an image on top. Change the size and the coordinate and thats all.

TRY THIS as coordinate, it has to be a similar value to fit it perfectly:

-220, 377
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us