Page 1 of 1

Journal Question

PostPosted: Fri Dec 04, 2009 7:13 pm
by Atrion
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.

Re: Journal Question

PostPosted: Fri Dec 04, 2009 7:21 pm
by Tweek
That's something I'd love to be able to do, would make journal updates so much easier.

Re: Journal Question

PostPosted: Sat Dec 05, 2009 6:17 am
by diafero
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).