Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Sep 2017
Location: UK
apprentice
OP Offline
apprentice
Joined: Sep 2017
Location: UK
Took me a while to work out how to do this nicely so I thought I would share.

So we are are going to make a book called "Modding Guide" and fill it full of a bunch of text for the players to read.


1: Open the "Translated String" editor (Little Japanese Character in the top menu bar)

2: FILE.. NEW - to create a new "TranslatedStringKey"

3: Now you can fill in your attributes in the new key.
Used something along the lines of...

key = Book_Modding_Guide (you need to remember this)
ExtraData = "Here is where you cut and paste what text you want in the book."

4: Save All and close the Translated Sting Editor.

5: Grab a book from the resources and drop into your level. (Book_Book_A is the sort of thing you want)

6: Edit the "Use Actions" attibute on the side bar for the book.

7: Remove the "Book: Gen_Unreadable" action if it is present. (red minus button)

8: Ok now add a new BOOK action. (Green + button)

9: Now in the "Bood ID" (yeah I think it is spelled wrong) attibute, type in the name of the string Key you created - in this case it was "Book_Modding_Guide" apply and save.

10: Now go back into your level and try it... pick up the book and read it from your inventory you should see the "Extra Text"


Enjoy... if people like these "mini guides" let me know and I will post nuggets as I find them.

Last edited by Scottworld; 03/10/17 01:45 PM.
Joined: Dec 2013
old hand
Offline
old hand
Joined: Dec 2013
Thank you, I can now cross this one off my list. smile

Also, please consider adding this to the community submission page on the wiki?


DOS2 Mods: Happily Emmie After and The Noisy Crypt

Steam Workshop
Nexus Mods
Joined: May 2017
Location: Europe (GMT+1)
enthusiast
Offline
enthusiast
Joined: May 2017
Location: Europe (GMT+1)
Very usefull info.
Thanks!


My GM Add-ons on Steam.
Joined: Jan 2010
Location: USA
F
enthusiast
Offline
enthusiast
F
Joined: Jan 2010
Location: USA
If you're not working on your own campaign, you can just derive an existing book Root Template, modify the properties as needed, and add your localization strings.

Joined: Jan 2017
T
stranger
Offline
stranger
T
Joined: Jan 2017
Thank you for the tutorial! I’ve just had a go at it and got it to work. I think there might be a typo in your description though - it says to put the text for the book in the ExtraData attribute of the key. I tried this but the content didn’t appear when I’d finished the other steps. If I put the text for the book in the Content attribute it works nicely though.

Your tutorials are really helpful, I hope to see more!


Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5