HomePortalFAQSearchMemberlistUsergroupsRegisterLog in
Making threads to link to banned members content grants an automatic ban
Meet the new KITO admins & hear their plans here.
You can use google search to find threads and posts here now. Example

Share | 
 

 Changing text color/size? ((Solved thank you!!))

View previous topic View next topic Go down 
AuthorMessage
KetsuNika

avatar

Game username : xKetsuNikax
Server : Forging Zero {Private Server} <Owner>
Female Posts : 172
Join date : 2014-03-14
Age : 18
Location : Portland, OR

PostSubject: Changing text color/size? ((Solved thank you!!))   Mon Dec 22, 2014 10:15 pm

Okay, i'll just get right down to the point.

Can anyone tell me how to change the orange color of the text that appears throughout the game?
A.k.a. When you go to "local" chat and type something, the text box that appears with the text you typed, the text is always orange.
Is there anyway to change that color? Also, same thing for the character select and "attack" and critter names exe. It's all in orange. How do I change that exactly?

Thank you!
~ShadowBlade~


Last edited by ShadowBlade on Fri Jan 09, 2015 12:18 am; edited 1 time in total
Back to top Go down
Ngendi

avatar

Female Posts : 35
Join date : 2014-03-11
Age : 16

PostSubject: Re: Changing text color/size? ((Solved thank you!!))   Tue Dec 23, 2014 12:14 am

In the solution - gameconfig.h
Code:
// CHAT COLORS:
#define CHAT_LOCAL_COLOUR_TOP "1 0 0"   <--- Top Colour
#define CHAT_LOCAL_COLOUR_BOTTOM "0 0 0"        <----- Bottom Colour
#define CHAT_GENERAL_COLOUR_TOP "0 1 0"
#define CHAT_GENERAL_COLOUR_BOTTOM "0 0 0"
#define CHAT_PARTY_COLOUR_TOP "0 0 1"
#define CHAT_PARTY_COLOUR_BOTTOM "0 0 0"
The colours are R G B so 1 0 0 is just red.

The text size is in the gui.fontdef (client - media - overlays)
in gui.overlay  is Text colours for the mainscreen and character selecter.

For "attack"
I think it's in the gui.overlay called, BasicText
Code:
template element TextArea(GUITemplate/BasicText)
{
    font_name TempusSans
    char_height 0.07
    colour_top 1 1 1
    colour_bottom 1 1 1
    left 0.005
    top 0.005
    width 0.05
    height 0.05
}


Last edited by WhitherShins on Tue Dec 23, 2014 12:23 am; edited 1 time in total (Reason for editing : I suck at this)
Back to top Go down
KetsuNika

avatar

Game username : xKetsuNikax
Server : Forging Zero {Private Server} <Owner>
Female Posts : 172
Join date : 2014-03-14
Age : 18
Location : Portland, OR

PostSubject: Re: Changing text color/size? ((Solved thank you!!))   Tue Dec 23, 2014 9:28 pm

WhitherShins wrote:
In the solution - gameconfig.h
Code:
// CHAT COLORS:
#define CHAT_LOCAL_COLOUR_TOP "1 0 0"   <--- Top Colour
#define CHAT_LOCAL_COLOUR_BOTTOM "0 0 0"        <----- Bottom Colour
#define CHAT_GENERAL_COLOUR_TOP "0 1 0"
#define CHAT_GENERAL_COLOUR_BOTTOM "0 0 0"
#define CHAT_PARTY_COLOUR_TOP "0 0 1"
#define CHAT_PARTY_COLOUR_BOTTOM "0 0 0"
The colours are R G B so 1 0 0 is just red.

The text size is in the gui.fontdef (client - media - overlays)
in gui.overlay  is Text colours for the mainscreen and character selecter.

For "attack"
I think it's in the gui.overlay called, BasicText
Code:
template element TextArea(GUITemplate/BasicText)
{
    font_name TempusSans
    char_height 0.07
    colour_top 1 1 1
    colour_bottom 1 1 1
    left 0.005
    top 0.005
    width 0.05
    height 0.05
}

For the chat-box, I actually ment the little box that appears above a char's head when they type something in "local" chat setting.

And as for the attack color, will try it out once I get home, thank you!

~ShadowBlade~
Back to top Go down
HexiinKimura_02

avatar

Game username : HexiinKimura_02
Server : Shinsei[Owner]WS,IL
Female Posts : 5
Join date : 2014-07-11

PostSubject: Re: Changing text color/size? ((Solved thank you!!))   Thu Jan 08, 2015 2:05 am

Well, I saw in a different post someone say that it's in the MagixUnitManager.h within the compile..I tried it myself but ended with no success.
Good luck to you though!
Back to top Go down
Hyper
Admin
avatar

Game username : Hyper
Server : Azoptaos
Male Posts : 470
Join date : 2014-02-09
Age : 19

PostSubject: Re: Changing text color/size? ((Solved thank you!!))   Thu Jan 08, 2015 4:26 am

UnitManager

mChatBubbleAttr = new MovableTextOverlayAttributes("Attrs2",sceneMgr->getCamera("PlayerCam"),"Tahoma",18,ColourValue(0,1,1),"GUIMat/StatsBlockCenter");

________________________________
Back to top Go down
http://azoptaos.boards.net/ Online
Ashlyn Sheypher



Server : Galaxy of Infinity
Female Posts : 225
Join date : 2011-08-27
Age : 17

PostSubject: Re: Changing text color/size? ((Solved thank you!!))   Thu Jan 08, 2015 3:55 pm

Hyper wrote:
UnitManager

mChatBubbleAttr = new MovableTextOverlayAttributes("Attrs2",sceneMgr->getCamera("PlayerCam"),"Tahoma",18,ColourValue(0,1,1),"GUIMat/StatsBlockCenter");

Wow, thank you for this Shocked
Back to top Go down
KetsuNika

avatar

Game username : xKetsuNikax
Server : Forging Zero {Private Server} <Owner>
Female Posts : 172
Join date : 2014-03-14
Age : 18
Location : Portland, OR

PostSubject: Re: Changing text color/size? ((Solved thank you!!))   Thu Jan 08, 2015 11:50 pm

Hyper wrote:
UnitManager

mChatBubbleAttr = new MovableTextOverlayAttributes("Attrs2",sceneMgr->getCamera("PlayerCam"),"Tahoma",18,ColourValue(0,1,1),"GUIMat/StatsBlockCenter");

Thank you so so much!

~ShadowBlade~
Back to top Go down
 
Changing text color/size? ((Solved thank you!!))
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Keeping I.T. Open :: SUPPORT :: Support :: Solved Support Issues-
Jump to: