Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

[Sky] Making a book - issues with pagebreak


IronBlockGames
 Share

Recommended Posts

Hello, so I am having a large issue with a small tidbit to a player house I've been trying to do. It's A Journal that I am adding just to give a little story to the place and hint at something darker going on there. The issue is I'm having some trouble with the formatting.

See, to allow for some elements I am making each of the book's pages as images vs just using the normal html and text stuff. This so I can add marks to the pages, blotted out words and some sketch's. The issue is I am having trouble getting each page to be on each page.

I know [pagebreak] will split the pages. However it's not doing that for me.

This here is the text for the book

<img src='img://textures/EtherflowTower/kj001.png' height='450' width='300'>
[pagebreak]

<img src='img://textures/EtherflowTower/kj001.png' height='450' width='300'>
[pagebreak]

<img src='img://textures/EtherflowTower/kj001.png' height='450' width='300'>
[pagebreak]

(same page for place holders+ testing)

However in game

http://i.imgur.com/hG6JkbF.jpg

I get that.

Each page image is indeed 450x300px in size (that was a rough size guess for the pages, it seems to fit in just fine). I dunno if I -need- the size in the html but everything I find says yes so... But right now I can't get the pages to 'break' properly. I even copied the [pagebreak] from another book to check if the formatting was wrong and got the same issue. I also know it's not working at all, as if I add in even more pages (I did a total of 12) the tops/bottoms clip into one another due to the pagebreak text.

How do I fix this?

http://i.imgur.com/srMP5QC.png

Link to comment
Share on other sites

I gave that a try, but all the extra space did was make the pages only show on the left page leaving the right blank.

 

<img src='img://textures/EtherflowTower/kj001.png' height='450' width='300'>

[pagebreak]

<img src='img://textures/EtherflowTower/kj002.png' height='450' width='300'>

[pagebreak]

<img src='img://textures/EtherflowTower/kj003.png' height='450' width='300'>

9VF2kVz.jpg

Link to comment
Share on other sites

Also, you can verify left as opposed to center alignment.

example:

[pagebreak]

<p align="left">

<img src='img://Textures/Interface/Books/modauthor/modname/actualpicture.jpg>

 

Adjjusting picture size seems to be more helpful.  I noticed that conventionally, that there are 28 characters per page, you are squeezing in a lot for one page.

Link to comment
Share on other sites

Does Skyrim use the <br /> command? That might help instead of using [pagebreak]. :shrug:

BR in html is the same thing as hitting enter on your keyboard.
Yep.. that there is
all
it
does.

Pagebreak tells the game that no more is to be on that page, and to go to the next.

So far nothing has worked. I even tried taking out the page break all together but sense I don't have the exact height for each page they seem to skooch a little further and further onto other pages as it goes. The closest I gotten has the first page fine, but every other page nudged down lower so the bottom of the page gets cut off.

I'm starting to think going for images for the pages was a mistake.. but how else will I include smudged text, glyphs, runes,
The books there to kind of tell the story of two mages who snuck their way into Skyrim and though trickery got into the collage of winterhold in hopes that the knowledge there will aid them in some shady research, and then gaining access to this tower player home. It won’t be a novel as most the pages are 'ripped out' but it'll be something optional for the immersed to enjoy.

 

If I can just get the pages to behave. I even extracted the game texture files to look for the size of the books page and from what I seen I'm pretty spot on but not perfect. 

Edited by IronBlockGames
Link to comment
Share on other sites

I know what br does, IBM, but I thought if you added them, you could force your images onto the next page without having to deal with pagebreaks. You might want to try enclosing your images in paragraph tags to see if the breaks will work then. I know I'm grasping at straws here, but something has to work...

Link to comment
Share on other sites

If you look at the book Oghma Infinium, which is just two pictures, it has no spacing in the formating at all. Maybe try that?

 

<img src='img://Textures/Interface/Books/Daedric Artifact book/Daedric Artifac00.png' height='471' width='296'>
[pagebreak]
<img src='img://Textures/Interface/Books/Daedric Artifact book/Daedric Artifact01.png' height='471' width='296'>

..or, another example is Shalidor's Insights,

 

<img src='img://Textures/Interface/Books/Arcane Scribblings/arcane00.png' height='451' width='296'>
<pagebreak>
<img src='img://Textures/Interface/Books/Arcane Scribblings/arcane03.png' height='451' width='296'>

 

although, oddly, that has a < > instead of the square bracket.

Edited by Hanaisse
Link to comment
Share on other sites

I did try it with no space between the pagebreak,

All it did was show the pagebreak tag, and some how force the same page to display on every page.

2Bo8HWx.png

It's now only showing page 1 on every page :(

I am finding this odd as I did look at the other books that use images for pages and used them for guides. Funny my page image is smaller than what they use, shoot I made it 10 pixels taller than before to fill the page. Much bigger and it gets cut off.

Attached is the first page shown and used, (there's more but I'm not gona send over the whole book) and I'm using the JournalLowPoly01.nif (obj DB07Journal for base) as it's the only one that looks to be a old 'torn up' book. I dunno if that would have anything to do with it or not.

Maybe someone else can play with it and try and come up with a fix as nothing thus far has been working.

kj001.png

Link to comment
Share on other sites

Using your image, I did some experimenting and determined the issue.

Your image itself is 460x300 and you're using that exact size in your book. Obviously the book doesn't like that as my test with that size got the same results as you did above. Looking at existing book images I noticed none of them use their exact dimensions, so I knocked down the size slightly (-20 each way) in the book text, and voila, it came out perfect.

test01.thumb.jpg.ea8bdfb704a0a45ebb51152

test02.thumb.jpg.1c48ffb3fc7c3bf32ab23b7

So it seems you need somewhat of a margin around your images or else it's pushing everything out of whack. Lesson learned for everyone. :)

 

  • Upvote 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...