Text Colours

Post » Sat May 28, 2011 5:32 am

I don't know if anyone knows the answer to this but here goes anyway.

At present I'm writing a long book (all the various potion recipes) but I do need to colour the text in various ways. Basically the text is black, the fon I'm using is Magic Cards 3, but I want to add certain keys or codes to the end of some of the items, these of course will be in colour. These are:

  • Cursed or ordinary varieties.
  • Only found in Mournhold.
  • Only found in Solstheim,
  • Ripened or unripened varieties.

I have no objection to placing this list on the top of a page, as I know how infuriating it can be to flip back through 20 or 30 pages of text, much easier if you have the key to the colours to hand as it were.

I do know that the system uses an abbreviated set of HTML characters, and already have them. Just recently I downloaded an RGB triplet and RGB hex set of numbers, do you think these would work? Part of the problem is that I can end up with having 5 or even 6 colours on one line!
User avatar
KIng James
 
Posts: 3499
Joined: Wed Sep 26, 2007 2:54 pm

Post » Sat May 28, 2011 12:10 am

http://www.accessv.com/~email/webpages/colorcodes.html

this might help. i assume the html codes are universal :D
User avatar
Darlene DIllow
 
Posts: 3403
Joined: Fri Oct 26, 2007 5:34 am

Post » Fri May 27, 2011 9:08 pm

Those color codes Psycholex posted should work in books, but like you said, Morrowind's HTML support is limited. There's only so much you can do, and I'm not sure if you can use many colors inline well. The proper way would be multiple divs with an inline or inline-block display style, but MW doesn't support styles. There are tutorials about doing colors in books though, so those may help clear up some of your questions. I've also seen a few simple tools around that help with that sort of thing, including one that was close to a WYSIWYG editor.
User avatar
Alexander Lee
 
Posts: 3481
Joined: Sun Nov 04, 2007 9:30 pm

Post » Sat May 28, 2011 8:22 am

Here's an example of how to use different colours in a book/scroll. It's taken out of Miles Acraeus' wonderful mod http://planetelderscrolls.gamespy.com/View.php?view=mods.detail&id=477:

[the page is covered with splashes of ink and is scrawled with almost unreadable writing]

My dearst, highly most extremed oldfellow friend Vanny,

It am drunk. Me is, that am. Oops, it means I it is that drunk. Am I me?

Desele's dancer. She did this to me. But that's allshedid, though.[bhl note: I snipped a lot of entertaining content here. It's not needed for this demonstration]Your drunkling lizard friend,
Jingles-With-Stumbling (HAHAHAHAHAHA)

[writing changes to a more legible hand]

Note to self: Never again try to write a letter while intoxicated. I've spilled all my new ink and had to settle for getting some of the usual kind. I'm also missing the page I wrote while in Vivec; I'm not sure if I lost it there or here in Suran during my drunken stupor. Damn. -- J.


So the command you're looking for is . The "000099" means
Red: 00
Green: 00
Blue: 99

Change that command to whatever RGB values you have in mind (in hexadecimal), and it should work.
User avatar
renee Duhamel
 
Posts: 3371
Joined: Thu Dec 14, 2006 9:12 am

Post » Sat May 28, 2011 4:13 am

This brings back memories. I did the same with my own alchemy books some ages ago. :)

As bhl said, the Font Color setting is what you were searching for. It's best to divide the six numbers into three pairs in your mind. The first pair is the red color, the second green and the third blue. If you want simple red, green or blue inks, you just need to do something like this:

Black - 000000

Dark red - 500000
Dark green - 005000
Dark blue - 000050

Bright red - 990000
Bright green - 009900
Bright blue - 000099

If you want more extravagant colors (like brown for aged ink) then you can find out the exact numbers for them in the CS. Go to the World / Interior Cells menu, choose the ToddTest cell in the drop down menu (so that nothing happens, even if you mess up something there) and then Select Color. This way you can choose nearly ANY kind of color you want. Just don't forget, that the highest number for one of the basic colors is 99 and that too light or bright colors may end up completely illegible. And always test it in the game.

As much as I know, setting more colors in one line of text does not work. :( The game will choose only one of the colors (in my experience it was the last one used on the line). On the other hand, you can have every line set up in a different color - just add the (replace the zeros with your own color) on the start of the line. Also remember, that all the text below such a color change will be affected by it, so you HAVE to set up a new color, if you don't want to leave it that way.

Btw, you may wish to split the alchemy into more books, rather then have a single long one (is what I did, split them thematically into four books - restore / cure; fortify; resist; traveler's - aka all the feather, light and so on). After all, you can choose freely, how heavy the books will be, thus shouldn't become less handy for the player (carrying four 3 kg books would be a real hell, lol) and will be more well-arranged. Of course, it is up to you to choose, how your book will look like in the end. Good luck with your project. ;)
User avatar
Jon O
 
Posts: 3270
Joined: Wed Nov 28, 2007 9:48 pm

Post » Fri May 27, 2011 8:39 pm

Dark red - 500000
Dark green - 005000
Dark blue - 000050

Bright red - 990000
Bright green - 009900
Bright blue - 000099


Actually, even 990000 is a dark red as the color tag takes its values in http://en.wikipedia.org/wiki/Hexadecimal. Bright red would be FF0000 (hex FF = dec 255).
User avatar
GabiiE Liiziiouz
 
Posts: 3360
Joined: Mon Jan 22, 2007 3:20 am

Post » Sat May 28, 2011 5:58 am

Actually, even 990000 is a dark red as the color tag takes its values in http://en.wikipedia.org/wiki/Hexadecimal. Bright red would be FF0000 (hex FF = dec 255).


lol Really, you will have to believe me, that it is a Bright Red color. :D I have used these in the CS and seen in the game, so I know. Going above 99 is not really advised, since 999999 is a bright gray color completely illegible on the paper background of the books and scrolls and even the 990000 is a color bright enough to burn ones eyes out (the green is even brighter). Yes, it is possible to have a lighter color (my bad on stating it the wrong way, sorry :unsure: ), but it would be usable only on a book and scroll retexture equivalent to the http://planetelderscrolls.gamespy.com/View.php?view=Mods.Detail&id=6159 and I don't know, if this includes those as well.
User avatar
Stephani Silva
 
Posts: 3372
Joined: Wed Jan 17, 2007 10:11 pm

Post » Fri May 27, 2011 6:10 pm

Ah, OK. I didn't count in the paper background. Thanks for pointing that out! :)
User avatar
Pat RiMsey
 
Posts: 3306
Joined: Fri Oct 19, 2007 1:22 am


Return to III - Morrowind

cron