Jump to content

[LE] Is there any SKSE method of modifying Book Text?


Baaleos

Recommended Posts

This is that age old question yet again.

To author real books in game, we need a method that allows us to 'seemingly' modify the book text.

Out of the Box creation kit / papyrus does not provide the means.

I was wondering if anyone has managed to achieve this with SKSE?

 

 

Looking at the wiki:
https://www.creationkit.com/index.php?title=Text_Replacement

 

 

It looks like you could do:
<Global=CUSTOMBOOK01>

As the book text, and then modify it based on the global variable 'CUSTOMBOOK01'.

 

 

However, the issue then becomes that this would only work for a finite amount of books.

To truly have a book authoring mod, with books that can sit in shelves, you would need to be able to create new books, with new text values such as:

<Global=CUSTOMBOOK01>
<Global=CUSTOMBOOK02>
<Global=CUSTOMBOOK03>

 

Unfortunately, if we had the ability to edit the book text to do this, then we wouldn't need to use Global s to hold the book text.

Surely there must be some c++ code floating around that allows modification of the book text?

Anyone?

 

 

Link to comment
Share on other sites

No, <global=globalname> is for displaying global variables as in the form you make in CK, they are numbers, not text. The way to get dynamic text in books is through <Alias=AliasName>. The name of an alias can be changed with skse, GetName/SetName iirc.

Link to comment
Share on other sites

There is a mod called something like "note taking" it provides an in game book which you can add text to. This would seem to suggest the answer to your question is yes. Would probably be of benefit to look at how that mod does it and it certainly requiries SKSE.
Link to comment
Share on other sites

There is a mod called something like "note taking" it provides an in game book which you can add text to. This would seem to suggest the answer to your question is yes. Would probably be of benefit to look at how that mod does it and it certainly requiries SKSE.

 

Unfortunately Taking Notes mod does not do what I am after.

Taking notes creates a custom GUI which emulates a book. It is basically an in game journal.

The data is not stored or accessible from inventory items.

 

What I am after is actual book authoring in game, the ability to modify the text content of a book object, store it on a book shelf, and then read it later on.

Or even the ability to write a note on a piece of paper, and then leave it around and read it later etc.

 

It is sounding like the closest solution would be a mix of Taking Notes and storing/reading data on the form objects themselves.

 

Eg: When the book is used, it opens the custom GUI with the custom text for that book.

 

 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...