ALFA Books Reading & Writing

New models, textures, & integration of 3rd party content.

Moderators: ALFA Administrators, Staff - Technical

User avatar
Kest
Builder
Posts: 794
Joined: Sat May 22, 2004 9:20 pm
Location: Flint, MI

Post by Kest »

Espruar - http://razorwing.deviantart.com/art/Esp ... on-3020856
Dethek - http://www.thyle.net/fonts/

I can't find the 3rd Ed. Thorass alphabet.
User avatar
ç i p h é r
Retired
Posts: 2904
Joined: Fri Oct 21, 2005 4:12 pm
Location: US Central (GMT - 6)

Post by ç i p h é r »

Cool. Can the book use up less screen space though?
User avatar
AcadiusLost
Chosen of Forumamus, God of Forums
Posts: 5061
Joined: Tue Oct 19, 2004 8:38 am
Location: Montara, CA [GMT -8]
Contact:

Post by AcadiusLost »

I kind of like the near-fullscreen book GUI. Means you can be buried in a book and not notice someone walking past until they emote clearing their throat, heh. On a practical level, I worry if we go too small with it, the text will be really limited in amount per page, or the font will get too small to be easily legible.
User avatar
bartleby
Brown Bear
Posts: 276
Joined: Fri Apr 16, 2004 10:01 pm
Location: New York

Post by bartleby »

I like the full screen better myself (thought it was more immersive) but i definitly also wouldl ike to have custom sizes. It should be possible to set the GUI screen to be scaleable by the PC which would probably be the best solution but its difficult to parse the text properly in full screen mode as it is. (As basicly the idea right now is to just have an arbitrary cut off for text length per page.) Changing the size of the box that is going to display the text will probably present problems.

I think I may end up having to go with my worse case senario and make a Text box for every letter on the page that gets updated from a main string everytime the page is turned. Kind of like a printing press. The problem with that though is that it wont look as fluid as a solid text field. And im not sure if it will or will not be scaleable i know i can make the text feilds scale down but im not sure if the text in them would as well i thought i saw an option that would do that but i dont recall right now ... But a plus is that you can have mixed and matched fonts/languages active and translateable within one page this way.

Ill have to do some experementation and see how it looks
User avatar
Wynna
Dungeon Master
Posts: 5734
Joined: Sat Jan 03, 2004 10:09 am
Location: Seattle, WA (PST)

Post by Wynna »

This is wonderful.
Enjoy the game
User avatar
ç i p h é r
Retired
Posts: 2904
Joined: Fri Oct 21, 2005 4:12 pm
Location: US Central (GMT - 6)

Post by ç i p h é r »

I'd recommend that you forgo scaling and try instead to find a happy medium. Hopefully that'll save you precious time.

Practically speaking, the problem with a book that big is that it'll need a lot of text to fill up all the white space on screen. Playability is more subjective, but it too is an important consideration of any UI design.
User avatar
bartleby
Brown Bear
Posts: 276
Joined: Fri Apr 16, 2004 10:01 pm
Location: New York

Post by bartleby »

A few questions and an update

Question 1 do variables that are saved to an item that a player has in their inventory get saved when the character is saved? I currently have the text a book contains and a few other logistical varables save onto the book object but when i made a local save of my char and went to read the book the text was no where to be seen. If i need to redirect the reading and writing of the text body some where else how hard would that be?

Question 2 How much would people like to have a fully integrated system with seperate fonts for seperate languages that can be translated if a char knows the language or has the correct spell and or written in by the PC him or her self with notes as well? A lot a little who cares?

Update

Right now I have a system that takes a string in and parses through it spliting it up into 30 lines per side to be displayed on a book background. The parser works by compairing relative character widths to a table which would allow rather cumbersomly for multiple fonts to apear as if they were within the same box by overlaping text boxes and padding them to the correct widths with spaces.

I dont know how costly in cpu cycles this would be though so ive tried right now to limit the processing of the text to 4 lines per GUI refresh. I dont think it should be that hard to process 60 lines of text though.

I will try to get a no multi language support version up and running first though as multi will probably take some time i have to do a lot of work to measure each character in all the different fonts.

Image
User avatar
darrenhfx
Beholder
Posts: 1982
Joined: Fri Jul 30, 2004 5:35 pm
Location: Halifax, Canada GMT -4 (AST)

Post by darrenhfx »

Looks amazing!
User avatar
Teric neDhalir
Githyanki
Posts: 1495
Joined: Mon Jan 05, 2004 10:04 pm
Location: Manchester UK

Post by Teric neDhalir »

That's looking mighty fine, Bartleby!

Books in different languages would be completely fab, too (Items that are only readable by characters with the right language are something that I've thought about, would like, but don't know how to implement).

Keep up the good work,
Teric
User avatar
White Warlock
Otyugh
Posts: 920
Joined: Mon Jan 05, 2004 3:44 am
Location: Knu-Mythia
Contact:

Post by White Warlock »

Excellent Bartleby. And i volunteer to produce content, or type out content from sources should you need the assist once this becomes part of ALFA.

Btw, are you able to produce a 'single-page' note with the same language features, or is that already in?
User avatar
bartleby
Brown Bear
Posts: 276
Joined: Fri Apr 16, 2004 10:01 pm
Location: New York

Post by bartleby »

Thanks for the words of encouragment! And help getting more content in once the frame work is set up would be most apreciated.

Hopefully in the end there will be two types of books and or parcments or writing mediums. The first that is completely player modifiable that stores its text on the book object itself and the second thats text is indexed by its item name and is retrived from a .tlk file or other external database via script whose text is not modifiable to be used for store bought "offical" RP books. Which would help out standardizing books as all you would need to do is name an activateable object with the apropriate tag the apropriate name. But I have no idea what books would be good to have or where to find them or their text. Also any text that was supposed to be in another language would need to be formatted by hand to be in the right languages.

Adding parchment should be easy and exactly the same as a book to make too all id need to do is remove a UIPane resize the Main GUI and make a different background all very easy to do.
User avatar
Magonushi
Gelatinous Cube
Posts: 355
Joined: Wed Jan 21, 2004 9:15 pm
Location: Seattle
Contact:

Post by Magonushi »

Wowie!
Current PC: Helga Hornraven
Next PC: Coming Soon
User avatar
White Warlock
Otyugh
Posts: 920
Joined: Mon Jan 05, 2004 3:44 am
Location: Knu-Mythia
Contact:

Post by White Warlock »

User avatar
White Warlock
Otyugh
Posts: 920
Joined: Mon Jan 05, 2004 3:44 am
Location: Knu-Mythia
Contact:

Post by White Warlock »

User avatar
ç i p h é r
Retired
Posts: 2904
Joined: Fri Oct 21, 2005 4:12 pm
Location: US Central (GMT - 6)

Post by ç i p h é r »

Wow. That's really impressive.

Yes, variables on items in a character's inventory should be saved along with the character, but I believe this only works in multiplayer mode. If you want the text to be truly persistent, you'll want to use the database. You can find information on ACR persistence functions in the tech wiki, here:

http://www.alandfaraway.org/docs/Techni ... ersistence

Each book will need to have a unique tag to store data in the database, naturally.
Locked