Dynamic Book Template (version 2.1)

Help bring our custom Ages to life! Share tips and tricks, as well as code samples with other developers.

Re: Dynamic Book Template (version 2)

Postby boblishman » Sun Feb 03, 2008 11:38 am

I wanted to use a "new" age ... and yours just seemed perfect! (CampBravo rocks!). Glad you like it :)
(oh, I updated the sketch drawing in my previous post ... much more appropriate now)
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Dynamic Book Template (version 2)

Postby Chacal » Sun Feb 03, 2008 12:20 pm

Maybe it is, but it was still interesting to see the leaves in color in the journal. Nothing says we have to keep using the same journal style as in Myst! For instance, what if someone took pictures of his Age and glued them in his journal? Or what about a photo album? A magazine?
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: Dynamic Book Template (version 2)

Postby boblishman » Sun Feb 03, 2008 12:24 pm

I agree totally, but my original objective was to create a 'sketch' (which the leaves were not) ... but yes, I am going to actually put some 'real' leaves in the journal later on ... fixed with sticky tape ;)
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Dynamic Book Template (version 2)

Postby boblishman » Sun Feb 03, 2008 12:40 pm

... like this ...

Show Spoiler
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Dynamic Book Template (version 2)

Postby Chacal » Sun Feb 03, 2008 2:24 pm

Exactly what I had in mind. That looks great!
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: Dynamic Book Template (version 2)

Postby boblishman » Sun Feb 03, 2008 2:51 pm

Ok ... more testing ...

Now it seems logical ... a picture on a text line forces a line break, both at the start and finish of it (you can't have a mixture of the two on one line, it''s text OR a picture) so, Uru wants the picture to be 512 pixels WIDE ... however, :) ... good news ... they CAN be of different heights (as long as they are Base 2 - 2,4,8,16,32,64,128,256 or 512) ...
EDIT: using the GoWPyPrp Plugin version 1.2.1. or later means you can use ANY size image

Now, there is another thing to take into consideration ... the font size of the text. The picture is placed on a text line, and, depending on the HEIGHT of the picture, that may not 'line up' with the next line of text, so it forces another line break. Something similar happens at the start of the picture too ... and, depending on the font size, part of the text MAY be 'chopped off' by the alpha transparancy of the picture. To avoid this, always FORCE a line break BEFORE your picture (\n).

You have to play around with the font size and your picture size (but keep to the 512 x (base2) size) to get everything 'perfect' ... but, if you are using this Python template, thats pretty straightforward and easy to do (you're editing the *YourAge*Journals.py file which ONLY contains the content ... so not messing with any python 'scripting' code that makes the journals 'work'.

You can get some cool effect ... (these were just some quick tests I did, but you get the idea).

Show Spoiler
Last edited by boblishman on Sun Feb 03, 2008 6:10 pm, edited 1 time in total.
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Dynamic Book Template (version 2)

Postby boblishman » Sun Feb 03, 2008 5:19 pm

OKAY, so.. the new version of the plugin was just released ... ROTFL ... a whole day spent working on this ... and the new plugin version GowPyPrp 1.2.1 means that you can use ANY size image (and I mean ANY) as long as you have the INTERPOL and MIPMAP turned off which now stops resizing and compression ... (Oh well, I wasn't doing anything interesting today anyway ... *crawls into a corner*)

... so, it WAS the resizing that was causing the problems... ;)

Oh well... sorted now ... better edit the tutorial ... again ... *sigh*

Seriously, Thanks Trylon for doing that :)
when it comes to Age creation ... "DOH" seems to be my middle name...
User avatar
boblishman
 
Posts: 882
Joined: Fri Oct 05, 2007 4:47 pm
Location: Spain

Re: Dynamic Book Template (version 2)

Postby Chacal » Sun Feb 03, 2008 8:30 pm

Look at it that way: It's because of guys like you who spend their days finding problems that guys like Trylon can fix them.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: Dynamic Book Template (version 2)

Postby dah'kree » Sun Feb 10, 2008 6:00 pm

I tried using your script to add a journal to the age I am working on, and its not adding the click hotspot, though both the age export and the Python.o.elf file seems like it should.
.Tahgehmah b'zoo ah rehlehm
.Tahgehmah b'zoo ah rehkor
.Tahgehmah b'zoo ah rehmahgah b'sel d'sehv
ImageImage
User avatar
dah'kree
 
Posts: 40
Joined: Tue Jan 29, 2008 9:47 pm
Location: Texas

Re: Dynamic Book Template (version 2)

Postby andylegate » Sun Feb 10, 2008 7:04 pm

What does your log file say?

And try this just for giggles:

select your book in blender and go to the logic properties (purple smiley face).

Make sure you have a string property.

If it says: Name:clickfile

try changing it to: clickfileX
that's a Big X on the end.

Don't ask me. But I couldn't get any of my books to have a hot spot. I took a look at the FuncChk age, and that X was there.
I changed mine, and bingo, all my books gave me a hot spot after that.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

PreviousNext

Return to Scripting

Who is online

Users browsing this forum: No registered users and 2 guests

cron