Book Script and Utility
#1
Book Script and Utility
Release 1.2 (0.37)
by Bruth
Jun 10, 2009

This is a locked, single-post thread from Creation Asylum. Archived here to prevent its loss.
No support is given. If you are the owner of the thread, please contact administration.


Updated


I thought it would be nice to add this script I made a long time ago into the archive so it can be found more easily. I hope that some of you find this useful and maybe it will inspire someone to start over and make something even better than what I have done here.

1) Added a sound notification so you know when you have reached the max length for the line.
2) Modified the script and utility to allow up to 14 pictures per page.
3) Made the Add Image buttons disable when text is typed to prevent accidental overwriting with an image import.
4) Added a notification in case you have extra text leftover and didn't press the "Add Page" button before quitting. You will get the option to append the text or discard it.
5) Fixed the Book Script so that it properly disposes of images

Known Bugs:
1) If you put an image at the end of your book manually and do not have a return/newline then the image name will get stripped and cause the script to crash when it can't find the picture. The Book Writer corrects for this by adding a return tothe end of your book before closing.
2) Sometimes, although rarely, your book will get cut short by 1 page. A temporary fix is to change the line:
$pages = ($Book_Text.size/14)
To:
$pages = ($Book_Text.size/14)+1

This will add an extra blank page to all of your books.

3) Something I just realized I forgot to take out, I make note in the help file and the Instructions window that setting the opacity is for pictures and text however this is wrong. The opacity setting works ONLY for images. I am not going to re-package the entire program for something this small. I'll fix it in my next update.



I made a script several weeks ago for displaying books but writing the books was a little difficult so I modified the script and wrote a VB Application for writing books. I've packaged everything together in one file. The file contains

1) Demo
2) The raw script
3) All the default graphics and Audio files
4) Installation instructions
5) Custom Fixedsys Font
5) The Book Writer

Demo File - Link has been updated, this is the current location of the files:
http://www.bcthund.net/files/rmxp/

This is the script system with the necessary utility and dotnet3 framework:
Book_Event + dotnet3.zip

The script works much better than it used to, instead of being limited to a one size image, you can have any size up to the max height of the line you put the image on. Images are 22 pixels per line. You can also use these books in your inventory and gain abilities/stats from reading books. Instructions to do this are included in the Book Writers help file.

I've tried to test everything as much as possible and I think I got everything working pretty well. No more bugs that I can find so far. If you find any though, let me know so I can post and update.

Here are some screens on what you can do:

New Screen Shots

[Image: book_sample1.jpg]

[Image: book_sample2.jpg]

Old Screen Shots

[Image: Snap_06.jpg]

[Image: Snap_05.jpg]

[Image: Snap_03.jpg]

[Image: Snap_04.jpg]
}


Possibly Related Threads…
Thread Author Replies Views Last Post
  Steal and Mug Script Lethrface 0 3,039 08-08-2011, 01:00 PM
Last Post: Lethrface
  Quest Book Zeriab 0 2,746 01-09-2009, 01:00 PM
Last Post: Zeriab
  Custom EXP Script Dargor 0 2,557 11-24-2007, 01:00 PM
Last Post: Dargor
  Clan Script ShockWave 0 2,612 08-27-2007, 01:00 PM
Last Post: ShockWave
  ARMS Script El Conductor 0 2,563 08-04-2007, 01:00 PM
Last Post: El Conductor
  Juke Box Script polraudio 0 2,729 06-17-2007, 01:00 PM
Last Post: polraudio
  Quest Script Samo the thief 0 2,558 03-12-2007, 01:00 PM
Last Post: Samo the thief
  Quest Script by SAMO Samo the thief 0 2,522 12-29-2006, 01:00 PM
Last Post: Samo the thief
  An easier WORKING party change script The Ghost 0 2,492 07-09-2006, 01:00 PM
Last Post: The Ghost
  Mission Script Leon Westbrooke 0 2,725 07-04-2006, 01:00 PM
Last Post: Leon Westbrooke



Users browsing this thread: 1 Guest(s)