Page 1 of 2

Journal Tutorials

PostPosted: Sun May 25, 2008 6:59 am
by Justintime9
I'm trying to create a journal, I have the cover texture, and the words that'll appear in it. I've looked for a tutorial at GoW on it, and didn't find anything. I did however find a link to this: http://alcugs.almlys.org/Plasma_Engine_HTML
is this tutorial still valid? Can we still create our own font? If so, is there a better tutorial? this one is very unclear...

Re: Journal Tutorials

PostPosted: Sun May 25, 2008 7:47 am
by andylegate
You need to use D'Lanor's templates for making journals, there are 3 python files you have to use. In the Wiki you look under "Making Objects Clickable" and they provide a link to D'Lanor's Templates. His Templates are easy to use, and he has comment lines in the Python script to tell you what to change, and what to fill out. Here's the link:

D'Lanor's Templates

Re: Journal Tutorials

PostPosted: Sun May 25, 2008 7:59 am
by Justintime9
ah... ok.. so what do I do with the three python files? Can I make my own font? I don't get it...

Re: Journal Tutorials

PostPosted: Sun May 25, 2008 8:27 am
by andylegate
:? Uh...

Okay, let me try to explain what a journal is......

You create an object that looks like a book, texture it, etc. Then follow the tutorial on the Wiki for making objects clickable (and make the journal the clickable object).
You also have to make 3 python files: a GUI, a PageDefiner, and Journal Contents. D'lanor's templates ARE these three files. Using a program like PlasmaShop, you edit the templates to reflect YOUR Journal stuff (that's why there are comments from D'Lanor in them to tell you what to put where).
The GUI python file is what tells the game that, you clicked on a Journal, so put up the book on the screen to be opened.
The PageDefs python file tells the game how the pages are to look, and where the contents of the book are.
Journal contents are just that: what you write to put in your book, including pictures or sketches.

If you want to create your own font, that's a long and drawn out process, and no, there is no tutorial for it yet, just a thread here in the Forum. Here is the link to that: Font Making.

The 3 python files go in your pak file for the Age.

If this is hard for you to understand or do, you might consider requesting someone to do it for you.

Re: Journal Tutorials

PostPosted: Sun May 25, 2008 9:55 am
by Justintime9
Ah, ok :) thx, I'll try to figure that out :P

Re: Journal Tutorials

PostPosted: Tue May 27, 2008 2:01 pm
by Justintime9
Ok... I practically finished the tutorial, and I'm at the part where it talks about AlcScript, and changing "Object name" to my object name... now, I got all that fine, but then it asks me for the name of my python file... how do I find that out? what python file? /me is confused

Re: Journal Tutorials

PostPosted: Tue May 27, 2008 2:12 pm
by andylegate
That would be the name of your GUI Python file. The template is called BookGUI.py or some such. You should rename the python file to something unique like: JustinAgeBookGUI.py or JustinJournalGUI.py

in the ALCscript you would put whatever you name it, but don't include the .py part

Bascially the ALCscript is saying, hey when someone clicks on me, I use this python file.

Re: Journal Tutorials

PostPosted: Tue May 27, 2008 2:21 pm
by Justintime9
ah, ok... now, do I just export the age to URU, and then drag the python files into the dat folder along with the age, and then edit them? Do I have to upload them to the file or something?

Re: Journal Tutorials

PostPosted: Tue May 27, 2008 2:26 pm
by Nadnerb
the python files don't go in the dat folder, they go in the Python folder. (which is in the uru directory, along with the dat folder.)

Re: Journal Tutorials

PostPosted: Tue May 27, 2008 2:29 pm
by Justintime9
Ah... but then how do I tell URU that the age with the clickable region is the age that the python files go to?