Jump to content

Recommended Posts

Dear All:

I wrote scripts for a one page book based on an old script I found in the Open Sims forums by a resident named WhiteStar Magic. The original script (the one WhiteStar wrote) was for a one-prim book you configured via a note-card. The interface (the notecard in general) was clunky to use, and though it produced a one-prim, readable book in Second Life, there was no copy-protection on it (which did not suit me at all). 

I have heavily modified the original script into three parts. You drop either the commercial Werk-Books script into a prim or the non-profit version, set the Werk-Books script to run,  drop your Type-settings card into the same prim with the UUIDs you want for your book (front cover, back cover, the page edges, the back cover when its open, the title of your book, and each of the UUIDs of the pages - see the structure of the Type-settings notecard), place a "page" sound into the prim, drop the Print-Settings script into your prim and set it to run, and let the book ... print. When it's done, you can take the script into your inventory - wear it as a HUD and read it, or leave it out for others to read. The commercial script produces a book readable ONLY by its owner (if the author sells books in SL for example), while the commercial script can be used by anyone.

The book currently has a page limit of about 400 pages. I am working on version 2.0 of the script to get around this. There is a 56 page user manual I wrote for this that goes into the components in-depth that is included in the scripts package.  The package is completely free, and it is placed under a GPL 3.0-or-later license. 

I would post the code here, however, the Werk-Books script (commercial or non-profit) is 600 lines, the print-settings script is 400 lines, and then there is the Type-settings notecard to contend with.

The script package can be found at my post office in one of two crates set against a wall across from the counter -

http://maps.secondlife.com/secondlife/Port Babbage/24/41/106

I have seen art shows in SL. I have seen sculpture. There are book-systems and all - but I wanted writers to be able to produce in SL as easily as other artists can ... without costly third-party equipment. All of this may sound involved, but I had another resident (with no scripting experience and who didn't want to read the manual) up and making their first book in about two minutes.

May you enjoy - or not. As you will.

Sincerely,

Nika

Share this post


Link to post
Share on other sites
8 hours ago, Robotnika said:

The commercial script produces a book readable ONLY by its owner (if the author sells books in SL for example), while the commercial script can be used by anyone.

I think there is a"non-" (as in noncommercial) missing somewhere in that sentence.

Have you considered posting the scripts etc on github?   That might be more convenient for you and for users than leaving it in-world (if you sell your parcel and move somewhere else, for example).   I will certainly grab a copy of the script to study -- sounds very interesting.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×