Rank: Soldier Groups: Player
, Scripter
Joined: 7/20/2008 Posts: 133 Location: Slovenia
|
The new books offer many new possibilities, but due to UOs hardcoded way of handling books, there are some quirks. First, when writing the book's content, the old style gump will be used. The reason for this is simply that it's the only gump which offers adequate text manipulation (e.g. pasting, moving around the text, etc). However, because the book itself may use a different gump to display this content once it is finished (and this gump may have smaller or larger pages), the text will automatically wrap itself according to this final form. Once you close the book, the text gets reformatted, and when you open the book again you'll see that it's spread out somewhat differently. You can still write books just as you did before, this shouldn't interfere with it.
The main problem, where things change substantially, is if you want to format the text yourself -- e.g. centering the text by putting a ton of spaces in front of it, or similar things. It's best if you don't do it, as the spaces won't stay there once it is reformatted. You will be able to do formatting, such as centering, when you edit the book's styles.
Another thing to take note of is the change in how blank lines are entered. If you want to go into a new line, type "<BR>" where you want the transition to occur (sans the quotation marks, of course). If you want to leave a blank line in the middle of the text, just add a series of line breaks (e.g. "Text<BR><BR>Text again")
Using 0 as a color value won't work, but you can enter it anyway, and it'll get replaced by a '1' (the closest color). This is because, by default, UO somewhy makes text with colors using 0 to disappear. Otherwise, any valid hex color entry is allowed. This means ranging from 111111 - FFFFFF, which is the standard RGB color scheme, except it contains no 0s. To understand RGB better, note that RGB stands for Red - Green - Blue. The color is made up of 2 digits of each of those colors. i.e. 152395 means 15 - Red, 23 - Green, 95 - Blue. These correspond to the intensities of each color. There are many websites that offer visual representations for RGB colors, or you could use any image software to extract your desired color. Each digit ranges from 1-F (after 9 you have A, then B, then C, then D, then E, and finally F), which is hexadecimal. So FF1111 (originally FF0000) would be maximum intensity red.
Books can be copied the same way as before -- just use the Inscription skill. Copying a book will also copy its style, language and encryption (if it has any). You can copy between various kinds of books, but the source book's style will only be copied if the targeted book's page dimensions match (i.e. amount of lines per page, and characters per line).
|