Changing colour of dialog speech

Started by PsychicHeart, Thu 26/05/2005 10:00:09

Previous topic - Next topic

PsychicHeart

hey,
how can i do the above?
Please help.
Formerly known as Flukeblake, Flukezy etc.

Gilbert

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.

PsychicHeart

sorry i couldn't find it in the manual.
Formerly known as Flukeblake, Flukezy etc.

Ishmael

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...
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Gilbert

There's a search function in the manual.

Sektor 13

Maybe he want a different  color of fonts in dialog GUI..(when you engage in dialog with someone and you can select few replays..)

Ishmael

There's a search function in the forums.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

spacedude

i still dont get it. where i'm i suppose to write that code?
in the dialog? in charachters properties?

Ashen

#8
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.)
I know what you're thinking ... Don't think that.

rossito

It's changing the colour in the dialogue GUI that's got me, and preferably the font too. Can anyone help?

hedgefield

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.

SMF spam blocked by CleanTalk