Lost with Python

Help bring our custom Ages to life! Share tips and tricks, as well as code samples with other developers.
User avatar
andylegate
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am
MOULa KI#: 0

Re: Lost with Python

Post by andylegate »

I'll give it a try tonight.

As it is, Boblishman pointed out that my journals are not working either.......why? because I forgot to go back and add:

Code: Select all


    physical:
        pinned: true


to everyone of my freakin journals.......sigh. Why oh why did we have to add this? 'Twas working just fine without it.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Lost with Python

Post by D'Lanor »

andylegate wrote:I'll give it a try tonight.

As it is, Boblishman pointed out that my journals are not working either.......why? because I forgot to go back and add:

Code: Select all


    physical:
        pinned: true


to everyone of my freakin journals.......sigh. Why oh why did we have to add this? 'Twas working just fine without it.

Clickables never worked well for me in the GoW plugin without being pinned. I don't think anything changed there. Robert's conversion wizards have set that property on my clickables from the beginning. So I have always tried to use pinned faithfully after I noticed that.

Clickables seem to have a mind of their own though. :o
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
andylegate
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am
MOULa KI#: 0

Re: Lost with Python

Post by andylegate »

Gave the new one a try. No error exporting this time. But no joy either. I still can't click on the crystals.

Also, even after adding the pinned property to my journals, that still don't work either....and they DID WORK JUST FINE before the 1.3.2 plugin.....

:shrugging: I've not changed anything as far as they go.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Lost with Python

Post by D'Lanor »

Just checking, but are your bounds set to Convex Hull?
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
andylegate
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am
MOULa KI#: 0

Re: Lost with Python

Post by andylegate »

yah, I noticed that the Tutorial said to set them to that (which SUCKS for me, as I almost always use Static Mesh), but yes, I changed the bounds, on the clickables AND the regions.

No joy.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
D'Lanor
Posts: 1980
Joined: Sat Sep 29, 2007 4:24 am

Re: Lost with Python

Post by D'Lanor »

I guess we'll have to look at your Zephyr_Cove.age.log to find out what goes wrong. Can you post it here?
"It is in self-limitation that a master first shows himself." - Goethe
User avatar
andylegate
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am
MOULa KI#: 0

Re: Lost with Python

Post by andylegate »

No need. Just figured it all out: Pages.

You click region MUST be on the same page number as your clickable object. The moment I tired that, BINGO, my crystals became clickable. now the sound isn't playing, but I think I know why on that.

Now my journals. My region still didn't have bounds set on it. I changed them to Convex Hull (rolling eyes here), and bam, my journals went back to being clickable again.

I guess we haven't had a need to mention that clickables and their regions must be on the same page number as no one has run into this problem...until now, hehe.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
Nadnerb
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
MOULa KI#: 23247
Location: US (Eastern Time)
Contact:

Re: Lost with Python

Post by Nadnerb »

Yes, pretty much every object that has to interact with another object must be in the same page. Lights will only affect objects in the same page, object references such as clickable regions either must be in the same page, or explicitly specify which page the target is in. This should probably simply be put somewhere as a general principle of building. Only separate objects which have no connection to each other into different pages.
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
User avatar
Chacal
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
MOULa KI#: 0
Location: Quebec, Canada

Re: Lost with Python

Post by Chacal »

Exploring Cyan prps with PrpExplorer, I noticed all objects have the same page number along with an object name.
I guess Plasma uses both when referencing an object.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Grogyan
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am
MOULa KI#: 0

Re: Lost with Python

Post by Grogyan »

Heres a wild idea, have you put in that clickfilex attribute in the logic properties?

Oh and when you figured it out, can ya let the rest of us know what the end script was as I too have to have clickable crystals, but not directly, so a a question would be, is it possible to attach a clickable script to an invisible collision or invisible mesh?
Better to have loved and lost than never to have loved at all
Post Reply

Return to “Scripting”