(RPGMZ)The text color code not working as it should.

Status
Not open for further replies.

Merkonig

Villager
Member
Joined
Jan 19, 2018
Messages
13
Reaction score
1
First Language
Thai
Primarily Uses
RMMV
Normally I use \c[]...\c to make color text.
But after I move my project folder into the RPGMZ engine folder, it's not working as it should.

Now what I do in text box is
-------------------------------------------------------------------------------
\c[4]This is yellow text\c[0] this is white text \c[8]but this is green text.
------------------------------------------------------------------------------


as you can see I have to change code every time I want them to change color.
Looks like ...\c << not working.
textfaile.jpg

PS. I move project folder into engine folder because my Animation preview doesn't works in the first place, but it's works after I move them in to engine folder and it's turn out the text code is broken instead.
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,117
Reaction score
374
First Language
indonesian
in mv that escape code can work (\c). but in MZ it won't work anymore and you need plugins to make it back to like mv escape code.

btw i try using yanfly visustella message core and it works using only \c to reset the color
maybe you want to check on that plugins too...

i hope this help
 

Milennin

"With a bang and a boom!"
Veteran
Joined
Feb 7, 2013
Messages
2,472
Reaction score
1,610
First Language
English
Primarily Uses
RMMV
I always used \c[0] to revert back to normal text. Never knew just \c was even a thing (or supposed to be, at least).
 

Tea's Jams

I'm human
Global Mod
Joined
Mar 28, 2017
Messages
1,020
Reaction score
2,526
First Language
English
Primarily Uses
RMMZ
The escape code to change the color in MZ is \C[n], to fill in the correct index number for the color that you want you can right click in the dialog box and use this option.
1600316408800.png
1600316435062.png

I noticed you are using a lower case c, try changing to an uppercase C.
1600316547693.png
 

estriole

Veteran
Veteran
Joined
Jun 27, 2012
Messages
1,117
Reaction score
374
First Language
indonesian
I always used \c[0] to revert back to normal text. Never knew just \c was even a thing (or supposed to be, at least).
I also always use \c[0]. but apparently in MV we can use \c to return to the default color... like the OP said... that feature removed in MZ though...
but adding yanfly visustella message core... the \c can work again... (i just now try it in the visustella example project).
 

Merkonig

Villager
Member
Joined
Jan 19, 2018
Messages
13
Reaction score
1
First Language
Thai
Primarily Uses
RMMV
I see. Good to know It's not a bug.
Thank you very much.:rhappy:

**You can close this threads
 

slimmmeiske2

Little Red Riding Hood
Global Mod
Joined
Sep 6, 2012
Messages
7,467
Reaction score
5,089
First Language
Dutch
Primarily Uses
RMXP

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Ami
--- Currency ---

Hero: This city cannot accept Gold to buy the items.
Merchant: You can exchange Gold into TC,depending the rate of TC this time.
Hero: Really? Then,i want to exchange 999999999G.
Merchant: Let's see……Wait a second,are you Cheating again?
Hero: Hell No!!! I earn it with myself!!!
There's always a time when you're super excited to create something but you already have no energy left. :I
I think of all the effects in my game, the light passing through fog has got to be my favorite....

...Also I spent all day trying to figure out how I had suddenly messed it up and made it start dropping frames like crazy. So I had all day to look at it... mocking me... with it's previous 60fps reduced to 30fps... At least it's fixed now.
Dalph wrote on slimmmeiske2's profile.
Slimmm, we should team one day and make "Reid in Wonderland" or "Aluxes in boots".
Ami
--- F.Mage Cooking ---

F.Mage: Hey,guys. i made dinner for you!
M.Fighter & Hero: (Shock) Dinner???
(F.Mage Put The Failed And Burnt Dishes Surrounded With Creepy Aura)
Hero: What the...???
F.Mage: It's Curry Rice,Fried Egg And Cakes. I hope you guys like my Dishes.
M.Fighter: Are you kidding me?

Forum statistics

Threads
103,479
Messages
999,638
Members
135,025
Latest member
ErvinDaster
Top