Jump to content

Photo

How change the text colors


  • Please log in to reply
3 replies to this topic

#1 Sans

Sans

    Hey kid wanna buy hot dogs ?

  • Members
  • Location:Judgement Hall

Posted 10 March 2017 - 04:51 PM

Hi i ask you somes helps. How can you make texts on any color we want ? 
Because i want to make an new quest (and update my quest Mayath Island) and 

i want to make texts on Link Awakening (oracle series) style but i have always 

thoses blacks texts.



#2 Anthus

Anthus

    Lord of Liquids

  • Members
  • Location:Ohio

Posted 10 March 2017 - 05:09 PM

In your ZC folder, there should be a text file called "strings" or something like that. It has a list of things called string control codes which allow you to change text color of words, or individual characters. Alternately, you can change the default text color elsewhere in ZC, but I'm not exactly sure where and I'm not at home to check.

#3 Sans

Sans

    Hey kid wanna buy hot dogs ?

  • Members
  • Location:Judgement Hall

Posted 10 March 2017 - 05:12 PM

ok 



#4 Timelord

Timelord

    The Timelord

  • Banned
  • Location:Prydon Academy

Posted 12 March 2017 - 07:21 AM

The file is ZStrings.txt. You may view it at any time in ZQuest in the strings editor panel by clicking the help widget.

The control code for colour is \1

Its first argument is CSet, its second argument is the swatch of that CSet.

In CSets where colour 0x01 is white and 0x0F is black, you would set text to white with:
\1\0\1

and to black with:
\1\0\16

Remember that this affects the entire string from this point onward, and that to revert to the standard colour, would will need to manually set the colour back using its CSet and swatch index. Continuation strings may also continue using this colour if you use them, and fail to revert the output colour at the end of the previous string.

Do not use CSets 13, 14, or 15 for string colours, as these are reserved; and be aware that if you change a palette CSet, such as by warping to a DMap with a different Level palette, or giving Link an item that changes his sprite palette, then using swatches from any CSet that can change, will change the string colours as well. I suggest placing colours for strings in CSets 0, 5, 7, 8, or 10. These are all safe, and static.

String control codes take space in the string as characters, and thus strings using SCCs will need to be shorter in content to allow for the extra characters used by the control code.

You may also change the global colour for all strings in ZQuest under the Misc. Colours dialogue.

Edited by ZoriaRPG, 12 March 2017 - 07:25 AM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users