Need Help finishing the UI!!!


(MADDOG) #1

I have a UI that changes all of the ingame colors on the buttons and the boarders from green to red!!! Now I played around with the UI but I just cant get the Firteam boarder to be red and when you complete the level like here;

the Axis and Allies boarders and the chat boarder are green instead of red and I cant get them to change the colors!!! Also the buttons are default aswell they are suppose to be red when you go over them and not gray!!! Can anyone help me? I am not so good at coding!!!


(jaybird) #2

These colors are in the game code, so you must do a client mod to change those.


(MADDOG) #3

Yea i know i have the UI all made except for that part!!! It is still green and not red!! I can send anyone the file of the altered UI for What i have so far and maybe can make that part work!!!


(jaybird) #4

That stuff’s not in the UI code, it’s in Cgame code. Check out the cg_fireteam*.c and cg_scoreboard.c files.


(MADDOG) #5

O ok Thanks!!! I thought it was in the UI but i had no clue where to find it!!! Thanks for the imput!!!


(MADDOG) #6

I still can’t find the code where i can change the color! CAn anyone help? Please.


(KillerWhale) #7

Look inside cg_fireteamoverlay.c in the function CG_DrawFireTeamOverlay(…).