Books that actually look like books! This UI is intended for builders who would like a better book-reading experience in their modules. Features include:
- Two pages viewable at any time
- Can turn pages forward and backward
- Create books with or without Table of Contents
- Totally data-driven: A 2da file defines the structure of the book, and a tlk file contains the text.
- Introduces my Enhanced Tag-Based Scripting system. This allows you to use common code for a family of objects.
- Takes advantage of the patch 1.05 enhancements, so there is no need to change ingamegui.ini.
- NEW: Support for custom scripting for dynamic page text, or to perform actions upon reading a page.
Version 1.1: Improved graphics contributed by DavionShores
Version 1.2: Added OnRead scripting hook
This looks cool. I think I'll end up using it for my module. I'd like to request an addition though. Can you include books that look like a scroll or piece of parchment? It would also be great if you could have these items appear in various states of wear.
Posted by Arvirago at 2009-07-03 10:10:36 Voted 8.75 on 07/03/09
We are using this, though heavily modified to have books we can change dinamically through our web without restarting the server.
I forgot to vote though. Great addition. _________________________ Reino de Aldor
Posted by Alaster Wolf at 2008-11-02 04:47:24 Voted 10.00 on 11/02/08
This is an excellent feature.
Posted by Lance Botelle at 2008-03-09 04:18:13 Voted 10.00 on 09/29/07
Hi clubok,
I amnot sure why my last post had a "*bleep*" message come up. I was trying to wrote the word "c u m b e r s o m e".
Strange.
Lance. _________________________ World of Althéa Blog: Link
I apologize for being absent for a while; I have taken a bit of a break from NWN2.
Lance: Feel free to upload your version to the Vault. To be honest, I don't see the appeal of having the book's text hardcoded into the script, but I'm sure you have your reasons.
A "how I created this" tutorial is unlikely in the near future. But if you have specific questions, feel free to ask.
To all the builders who are using this: Would you mind posting here the names of any modules you have posted to the Vault that use this system? Partly I'm curious to see how much it has actually been adopted, and partly I'd like to try those modules and see how it has been used. _________________________ Big Inventory Icons and Character Info Link
Readable Books Link
Less Obtrusive Spell Buffs Link
Posted by Lance Botelle at 2008-02-29 10:30:50 Voted 10.00 on 09/29/07
Hi Clubok,
I have been rewriting your scripts so that the module builder can type the book text straight into a script and have the text called from there instead.
I am about half way successful to date, and wondered if you minded me uploading it to the Vault when I have finished? I am still using your XML and TGA files, and would obvioulsy give you the credit for these and the inspiration. :)
Lance. _________________________ World of Althéa Blog: Link
Posted by Simbol at 2008-02-05 15:40:34 Voted 9.75 on 02/05/08
Thanks for this great addition to builders.
Posted by Shargast at 2008-01-27 09:06:48 Voted 10.00 on 01/27/08
A PNP Platinum or better yet Diamond addition! All should include it!
Cheers
Shargast _________________________ Realms of Shargast V1-V5ab, LOTR V15, The Undeath Clave & Faithful of Aerth
Posted by Lance Botelle at 2008-01-12 14:32:28 Voted 10.00 on 09/29/07
Hi Clubok,
I have this working OK and wil be making use of them in my own mods.
I do mean "How you created in the first place" tutorial. :) In particular, explanation of the XML coding. I am probably asking too much, as it would mean going into depth about each line of coding, which would mean distracting you from making cool stuff like this. :)
I just get frustrated at my own limitations at times. ;)
Lance. _________________________ World of Althéa Blog: Link
Posted by jlarusso at 2007-11-17 15:22:20 Voted 10.00 on 11/17/07
One of the best contributions to the game yet. A must have. PNP players celibrate!
Lance: Have you read the Readme file? It attempts to explain how to use this. Or are you asking for a How-I-Created-Readable-Books-In-The-First-Place tutorial?
Magirot: There is no reason why this couldn't be adapted to have players write their own books - especially since this framework now has scripting support. _________________________ Big Inventory Icons and Character Info Link
Readable Books Link
Less Obtrusive Spell Buffs Link
Posted by Magirot at 2007-10-07 17:27:30 Voted 9.50 on 10/07/07
I wonder if it would be possible to make books writable by players with interface like this.
Posted by Lance Botelle at 2007-09-29 17:00:34 Voted 10.00 on 09/29/07
Hi clubok,
This is an amazing addition to the game. I give it a ten because it is the first UI that I have found that adds a lot to the game (in my opinion). :)
It far exceeded what I thought it was going to be and made me realise just how little I currently know about coding in NWN2 and what can be done.
One of the reasons I downloaded this UI was to take a look at how XML coding worked. I spent a few hours looking at your module in the toolset and have to say that I am still a long way behind what I need to know. I am probably asking a lot, but if you ever get the chance to write a tutorial on what you did for this, then I for one would download it and be very grateful. I can but hope. ;) (Tutorials about doing the kind of thing you did are in short supply. I followed most of what you did in the script, but was lost when it made calls to the XML gui file? and some of the 2da parameters.)
Anyway, thanks for this great UI - I will continue to try to dissect it. ;)
Lance.
Lance. _________________________ World of Althéa Blog: Link
Posted by MokahTGS at 2007-09-18 08:40:22 Voted 10.00 on 09/18/07
I've uploaded version 1.2, with scripting hooks. The sample module now includes a third book, demonstrating some of the ways this might be used. Enjoy! _________________________ Big Inventory Icons and Character Info Link
Readable Books Link
Less Obtrusive Spell Buffs Link
Grinning Fool: Some good ideas. It seems to me that all three could be accomplished with a single hook.
I'm thinking of an extra column in the 2da that would indicate a script to be run when the page is read or when the TOC entry appears. The script could be used to create an effect (or spawn an encounter or anything) when the page is read. Additionally, the script could set some predetermined string variable. If it does, then that string would be used for the text, rather than the tlk entry. That could cover alternate languages, literacy checks, or even small touches like inserting the player's name into a history book or a prophecy.
Of course, another way to do alternate languages is to provide alternate tlk files. I assume that you are thinking of something other than simply providing a French version of a module.
Let me know if the solution I'm proposing would meet your needs. I'll be glad to implement it and post an updated version. _________________________ Big Inventory Icons and Character Info Link
Readable Books Link
Less Obtrusive Spell Buffs Link
Posted by GrinningFool at 2007-09-04 22:06:46 Voted 9.50 on 05/02/07
Some hooks we're considering adding to this: conditionals. Allowing text to be in different language; checking for literacy to see if it can be read at all; effects that occur when certain pages are read. _________________________ The Grinning Fool The World of Khalidine, a unique RP PW.
nosfe: Thanks for the consideration (and the vote). But I suggest that you upload your version independently. I don't use MySQL, and so it would be hard for me to maintain that version myself. _________________________ Big Inventory Icons and Character Info Link
Readable Books Link
Less Obtrusive Spell Buffs Link
Posted by nosfe at 2007-05-21 00:58:52 Voted 10.00 on 05/21/07
ok i want to send you only first, because it is you the original creator.. :-) and you post it if you want.
nosfe: What a great idea! MySQL is certainly a better way to go, at least for PWs. Not that great for modules that one wants to distribute on the Vault, though. _________________________ Big Inventory Icons and Character Info Link
Readable Books Link
Less Obtrusive Spell Buffs Link
Posted by nosfe at 2007-05-10 10:09:56 Voted 10.00 on 05/21/07
Good script ..thanks
i had convert your script for using Mysql to book.
Not need 2DA and TLK..nothing more fun..
Posted by Thomas_B at 2007-05-04 01:04:26 Voted 7.00 on 05/04/07
Very nice. Way better than the original books. When you have implemented scrolls, it will be even better.
7 - Very Good, Deserves a Look
Posted by Madlorr at 2007-05-03 11:49:58 Voted 8.00 on 05/03/07
If anybody with more artistic talent than me would like to supply a scroll graphic, I'll be glad to make the other necessary changes. _________________________ Big Inventory Icons and Character Info Link
Readable Books Link
Less Obtrusive Spell Buffs Link
Posted by GrinningFool at 2007-05-02 11:12:35 Voted 9.50 on 05/02/07
Very well done; and I second Jasperre's motion for a scroll version too. A must-have for anyone who wants to give a more 'realistic' feel to reading in their world.
If anybody wonders why it says that I updated this on 4/29, it was just to change the patch level in the description to 1.05. When I first submitted this, there were no options past 1.04. This may have caused some confusion, since this does require 1.05. _________________________ Big Inventory Icons and Character Info Link
Readable Books Link
Less Obtrusive Spell Buffs Link
RiCkT: Have you upgraded to patch 1.05 yet? You need to be at that patch level. Alternatively, you could add the screens to ingamegui.ini. _________________________ Big Inventory Icons and Character Info Link
Readable Books Link
Less Obtrusive Spell Buffs Link
Posted by RiCkT at 2007-04-27 05:09:07 Voted 9.00 on 04/27/07
i love the script work and all, but i have a problem, i copied all files like according to the readme for the sample mod, but if i test the sample mod, and activate the books, the normal book will just do nothing and the chapterised book will show the chapters like in the screenshot and if i click one, nothing happens at all..
i checked out the locations of the files and its all right, what did i do wrong? :/
Thanks for your explanation and I will vote as soon as I have tried it out. Looks excellent from what I can see so far... _________________________
Gaming Parents Studios - Currently working on A Time to Die Act I and Into the Forgotten Realms
Vault Submissions: Movie Trailer of A Time to Die | Unicorn Run Prefab **NEW**
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone