gametechmods

Robot Arena => General Support => Topic started by: xaXo on June 23, 2010, 07:42:03 AM

Title: UI Question
Post by: xaXo on June 23, 2010, 07:42:03 AM
Hey, so i wanna change the text color in the options window.
Or add black background to the text.
From where in the gib file i can do that ?
Thanks ^^
Title: Re: UI Question
Post by: xaXo on June 23, 2010, 10:15:28 AM
In the red, there is text, but its white.I want to change the text color with the .gib file :)
Title: Re: UI Question
Post by: JoeBlo on June 23, 2010, 10:57:30 AM
well we finally got there in the end, please ensure you provide full details for your intentions next time you ask a question

open up the file

UI/Teamhq/teamhq.gib in notepad

search for this line...

Code: [Select]
_Text TEAM BOT-SMASHERS
just below is a line called

Code: [Select]
_ForeColor 1 1 1 1
change it to

Code: [Select]
_ForeColor 0 0 0 1
and you will have black text
Title: Re: UI Question
Post by: Madiaba on June 23, 2010, 10:59:47 AM
I gots it, Joe.  I'm know 'gibberish'.

X, Use Notepad++ to go into the 'teamhq.gib' and goto line 1037.
The first 3 parameters are R,G,B, respectively (leave the 4th alone).
 
 
Edit: ok, NP.

Title: Re: UI Question
Post by: JoeBlo on June 23, 2010, 11:04:58 AM
The first 3 parameters are R,G,B, respectively (leave the 4th alone).

woah total stab in the dark.. im more awesome then I thought lol.. I guessed it was R, G, B, percentages and the last is opacity ? at least I know if you set them all to 0 it goes transparent
Title: Re: UI Question
Post by: Madiaba on June 23, 2010, 11:09:13 AM
Nice job, Joe.  You should be promot.....    ...NVM.

BTW:
This line only affects the text you type.
You can also change the font size too.
 

 
Title: Re: UI Question
Post by: xaXo on June 23, 2010, 11:11:10 AM
well we finally got there in the end, please ensure you provide full details for your intentions next time you ask a question

open up the file

UI/Teamhq/teamhq.gib in notepad

search for this line...

Code: [Select]
_Text TEAM BOT-SMASHERS
just below is a line called

Code: [Select]
_ForeColor 1 1 1 1
change it to

Code: [Select]
_ForeColor 0 0 0 1
and you will have black text

Thank you!
I searched only for the code for black :D