Journal Question

General debates and discussion about the Guild of Writers and Age creation

Journal Question

Postby Atrion » Fri Dec 04, 2009 7:13 pm

Is it possible to put a journal in an age that can function sorta like the player handbook, as in it shows the contents of a html (?xml I forget the file type off hand).

I was thinking either a journal in an age that shows the same content as the Player Journal, which means it would be produced from the same file as the player journal. And the second idea i had would be for storyline use in an online setting have a journal in an age that could simply be a html (or whatever type it is) file that is updated by an admin. I figure this would be a good way to do it if possible to save on having to go into blender and add to the journal and re-export it.

Thanks for any help.
-Atrion Darnay-
User avatar
Atrion
 
Posts: 109
Joined: Fri Jul 10, 2009 1:26 am

Re: Journal Question

Postby Tweek » Fri Dec 04, 2009 7:21 pm

That's something I'd love to be able to do, would make journal updates so much easier.
Beneath - IC Blog.
Beneath: Ages of Tweek - FB Age Dev Page.
User avatar
Tweek
 
Posts: 693
Joined: Sat Sep 29, 2007 6:37 am

Re: Journal Question

Postby diafero » Sat Dec 05, 2009 6:17 am

First of all, since the journal text is set by Python, you don't have to re-export your age anyway to change the journal. Just change the Python file as re-compile the Python.

And yes, both of what you described is possible, as Python can do a lot of stuff: The player journal is completely coded in Python, so you ca re-use or re-write all that code - or simply trigger the player journal in your age (i.e. no custom journal implementation at all). And yes, in an online environment, you could create a special vault node managed by an admin which is used as the content of the book (like admins can add global KI messages).
I prefer e-mails to "diafero arcor de" (after adding the at and the dot) over PMs.

"Many people's horizon is a circle with a radius of zero. They call it their point of view."

Deep Island Shard | Offline KI
diafero
Deep Island Admin
 
Posts: 2972
Joined: Mon May 05, 2008 5:50 am
Location: Germany


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 3 guests