Books and scrolls are not the same?

Post » Tue Jan 04, 2011 9:03 am

wt???


This HTML works just fine in a SCROLL:




But the EXACT SAME thing cut and pasted into a BOOK CTD when the book is activated!

I was trying to put an image in a book (blood stains) when I got the CDT. So I thought maybe my blood stains dds was corrupted so I used the SCROLL script that I made previously (and worked fine) to test,

This is when I discover it was still CTD even with the SAME HTML using the same Flute dds as shown above.
User avatar
patricia kris
 
Posts: 3348
Joined: Tue Feb 13, 2007 5:49 am

Post » Tue Jan 04, 2011 7:18 am

Because books and scrolls are formatted a bit differently. From the http://cs.elderscrolls.com/constwiki/index.php/Book_Formatting#.3CIMG.3E:

"The largest Image size possible is 444x650 pixels. Go over this and the book will crash when opened in game. However, this may be variable from person to person, some are getting it as high as 490x680 (and even 490x720 after the first page)."

I suspect this depends somewhat on monitor resolution. But in any case, no resolution will allow a book to display 512 pixels of image width. Scale your image to 440 ish, but leave top-left aligned on a 512 canvas, and change the dimensions in your code to reflect the visible part of the image.
User avatar
Alan Whiston
 
Posts: 3358
Joined: Sun May 06, 2007 4:07 pm


Return to IV - Oblivion