Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Is it possible to have different choices have different colors in UMS?

It seems that UMS won't pick up the \c[] in the choice box. Is there a fix?

Or should I just go with a different message system?

Maybe this should be in scripts now.

It looks like 7.1 is the newest I can find. And it's the one I'm running.

I'll try asking CCoa.

Any help still greatly appreciated.
 
type in the message box
\c[5]Text Text Text Text

Put any number there. I see which part of the script you can alter to make the color of your liking.

In the Window_Base Part look for these

  def text_color(n)
    case n
    when 0
      return Color.new(255, 255, 255, 255)
    when 1
      return Color.new(128, 128, 255, 255)
    when 2
      return Color.new(255, 128, 128, 255)
    when 3
      return Color.new(128, 255, 128, 255)
    when 4
      return Color.new(0, 0, 0, 255)
    when 5
      return Color.new(184, 115, 51, 255)
    when 6
      return Color.new(255, 255, 128, 255)
    when 7
      return Color.new(192, 192, 192, 255)

As you can see the When 1 is when you type \c[1] you will see that color in the text do example like this

type inside the Choice Box
\c[1]I Love You
\c[2]Your Ugly
 
jimmyly":36zsr1vp said:
type in the message box
\c[5]Text Text Text Text

Put any number there. I see which part of the script you can alter to make the color of your liking.

Hmm... interesting. The problem seems to be with UMS. It won't recognize it.


Sorry, I forgot to mention the UMS. I didn't think it would be the problem.
 
Do you have the latest version of the UMS installed? (I believe it's 7.2 or 7.3.) If not, check a different site or try a google search.

Ay, never mind. 7.1 is the latest version. Try canceling the UMS (add =begin and =end at the beginning and end of the script) and see if it works. if that's the problem, try contacting ccoa about the problem.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top