DEVS: Can we use the alternate books??

If Wishes were UOX Coders, we'd be done by now ;P Post your wishes/suggestions for UOX3 changes/improvements here.
Post Reply
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

DEVS: Can we use the alternate books??

Post by stranf »

I was just viewing the gumps and noticed that UO comes with different styles of books and scroll art.

As I recall in OSI, you were able to write/recieve scrolls that would scroll downward like the skill gump. There are also some cool new book backgrounds (such as the green tree one (elf?) and runebooks. It would be nice to be able to write books using those backgrounds.

Is there anyway to change the UO source to allow the current book system but with the alternate book backgrounds? That would be really cool for our shard (and hopefully everyone else can get some use out of it.)

Thanks!
dracuskaos
UOX3 Neophyte
Posts: 35
Joined: Sat Oct 25, 2008 3:54 am
Has thanked: 0
Been thanked: 0

Post by dracuskaos »

umm, i'm not a dev but I already started using the artwork so I'm going to say yes.
All those new books are the artwork for the new schools of magic on the OSI shards.

The green tree one is the elven school of Spellweaving. The one with the skulls is the necromancers book, there is also a shield marked one that is white for Chivalry, which is Paladin magic, and then there are the bushido, ninjitsu, and weapon skill books.

I already have a partially assembled Chivalry book if you want to look at the code I posted what little I came up with. but you can see the book.
it's in the coding section.

viewtopic.php?p=9552#9552
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

Post by stranf »

Very nice, I'll have to check out that code.

The question I had though, was how to use the "custom" artwork book for the regular PC-editable books that you write with.

"Write" now (pun intended) any editing one does on a book in handled via C++ code. If there is a JS script for books, then I could easilly edit the script to handle the new artwork.

It's the C++ coding that kills me. :cry:

Now that I'm out of school, maybe it's time I download a C++ compliler and start getting my hands dirty...
dracuskaos
UOX3 Neophyte
Posts: 35
Joined: Sat Oct 25, 2008 3:54 am
Has thanked: 0
Been thanked: 0

Post by dracuskaos »

sorry, I the question went over my head, my bad. that definitley needs a DEVS attention.

I'm still trying to find all the file locations so I can even edit them, I have a runebook script and no idea where to find the runebook item type or what to put down for type= to permanently assign the script to the whole type.
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

dracuskaos: Take a look at the runebook script. You can permanently assign that script to every and all runebooks (new ones created after you assign the script) on your server by adding a SCRIPT=<scriptID> (from jse_fileassociations.scp, where you assign a unique scriptID to the runebook-script)tag in the item-DFN entry for the runebooks.
-= Ho Eyo He Hum =-
Humility
UOX3 Neophyte
Posts: 28
Joined: Mon Nov 21, 2016 7:51 am
Has thanked: 4 times
Been thanked: 5 times

Post by Humility »

In case anyone is still interested, support for using different books like the chivalry spell book as an old writable book seems to have been implemented. I turned a pally spellbook into a big white notebook to write notes in from Xuri's guide. Just set the type to 666 and the pages to however many you want up to 255. :D
Post Reply