Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: PsychicHeart on Thu 26/05/2005 10:00:09

Title: Changing colour of dialog speech
Post by: PsychicHeart on Thu 26/05/2005 10:00:09
hey,
how can i do the above?
Please help.
Title: Re: Changing colour of dialog speech
Post by: Gilbert on Thu 26/05/2005 10:18:16
SetTalkingColor(EGO, 5);
(For V2.7+ it's cEGO.SpeechColor=5; )

You know, you should read more carefully the manual and the BFAQ before asking such a basic question.
Title: Re: Changing colour of dialog speech
Post by: PsychicHeart on Thu 26/05/2005 10:22:31
sorry i couldn't find it in the manual.
Title: Re: Changing colour of dialog speech
Post by: Ishmael on Thu 26/05/2005 11:02:40
Next time you have a problem like this:

Open up the manual, expand the "Scripting" category, and start reading from the first item, go through every subcategory, and end reading in the last entry of the "Scripting" category. If you still can't find what you're looking for, go to the search part of the manual and type in something very simple discribing your problem, like "talking color" for example.

You are clearly just not looking hard enough...
Title: Re: Changing colour of dialog speech
Post by: Gilbert on Thu 26/05/2005 11:22:37
There's a search function in the manual.
Title: Re: Changing colour of dialog speech
Post by: Sektor 13 on Fri 27/05/2005 14:59:32
Maybe he want a different  color of fonts in dialog GUI..(when you engage in dialog with someone and you can select few replays..)
Title: Re: Changing colour of dialog speech
Post by: Ishmael on Fri 27/05/2005 15:50:42
There's a search function in the forums.
Title: Re: Changing colour of dialog speech
Post by: on Mon 06/02/2006 18:49:14
i still dont get it. where i'm i suppose to write that code?
in the dialog? in charachters properties?
Title: Re: Changing colour of dialog speech
Post by: Ashen on Mon 06/02/2006 18:56:05
When do you want the colour to change ..?

If you want to change the colour for all the way through the game, just change the Character's 'Talking Color:' property. (The dialogue options use the talking colour of the character that's, well, talking - which is explained in the manual).
Otherwise, call that command at the point you want the colour to change. (Note that to do that DURING a dialogue, you'll need to use run-script and dialog_request.)
Title: speech colour in dialogue GUI
Post by: on Sun 19/03/2006 08:12:55
It's changing the colour in the dialogue GUI that's got me, and preferably the font too. Can anyone help?
Title: Re: Changing colour of dialog speech
Post by: hedgefield on Sun 19/03/2006 10:49:22
The color of the font in the dialogue GUI is the same as the player character's talking color, as defined in the "characters' tab. You can change the font under the "Fonts" tab by importing a new (truetype) font over font 1 and 2.