PyPRP Conversion Wizards

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

PyPRP Conversion Wizards

Postby Robert The Rebuilder » Fri Jan 18, 2008 9:47 pm

For those of you who have an existing age in Blender that needs to be converted to work with the latest plugin, I've just finished writing some conversion wizards.

[EDIT 1/29/08] I transferred the instructions to the Wiki here, under the subheading "Conversion Wizards".
Last edited by Robert The Rebuilder on Tue Jan 29, 2008 9:38 am, edited 2 times in total.
Can we rebuild it? Yes, we can - here's how.

MOULagain KI# 1299

Myst Movie coming soon - spread the word!
User avatar
Robert The Rebuilder
 
Posts: 1383
Joined: Sat Sep 29, 2007 7:24 am
Location: Virginia, US

Re: PyPRP Conversion Wizards

Postby andylegate » Sat Jan 19, 2008 6:35 am

Bravo! :much clapping:

Can't wait to try it out! Thanks Robert for your hard work!!

EDIT: so far the only problems I've had is what we mentioned in our emails (stuff I had mistakenly done while building the Age). So far so good!
"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

Re: PyPRP Conversion Wizards

Postby mar » Sat Jan 19, 2008 10:08 am

I have tried to convert my Ahra Pathfile for fun and everthing is going good at one point. :)

Maybe a have something doing wrong in the old file.

Loading the wizard files :arrow: good
Backup file :arrow: good
Upgrade book :arrow: good
Upgrade properties :arrow: good
Adding missing Blender materials and textures I get the following error:

Traceback (most recent call last):
File "<string>", line 97, in <module>
File "<string>", line 91, in do_main
File "D:\program files\Blender\.blender\scripts\alc_Wizards.py", line 987, in
Wizard_mattex_create
if image != None:
UnboundLocalError: local variable 'image' referenced before assignment

What is here happening :?: :?:
User avatar
mar
 
Posts: 182
Joined: Sat Sep 29, 2007 8:04 am

Re: PyPRP Conversion Wizards

Postby andylegate » Sat Jan 19, 2008 10:46 am

looks like you're missing a image file that you used for UV mapping.
"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

Re: PyPRP Conversion Wizards

Postby Trylon » Sat Jan 19, 2008 11:02 am

No, it looks like Robert made an error in the coding for the wizard

EDIT:
Took a better look at the code - the problem is that in this specific case there were no uv images set ....
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: PyPRP Conversion Wizards

Postby Aloys » Sat Jan 19, 2008 4:02 pm

Great job Robert!
I can't wait to try it on Ahra Pahts. (and see my computer choke and die. :? )

[Edit] Ha!

Show Spoiler
User avatar
Aloys
 
Posts: 1968
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: PyPRP Conversion Wizards

Postby Robert The Rebuilder » Sat Jan 19, 2008 6:12 pm

mar and Aloys:

I added a line to alc_Wizards.py to initialize the image variable to None. That will hopefully solve both of your problems. Get the new version here:

alc_Wizards.py
Can we rebuild it? Yes, we can - here's how.

MOULagain KI# 1299

Myst Movie coming soon - spread the word!
User avatar
Robert The Rebuilder
 
Posts: 1383
Joined: Sat Sep 29, 2007 7:24 am
Location: Virginia, US

Re: PyPRP Conversion Wizards

Postby andylegate » Sat Jan 19, 2008 6:16 pm

Robert,

I converted my Age just fine, but......

the footsteps didn't work. Didn't hear them anyway.

I could swim just fine! But no swim sounds.....

Then I became stuck in the pool and for some reason it panic linked me out. Once in Relto, my avie had turned to stone!
Not sure about that.

I was going to mention it earlier, but I jumped back on my Night Time version that I'm working on.

It could just be my Age, not your wizard at all. It seemed to me like your Wizard was working just fine.
"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

Re: PyPRP Conversion Wizards

Postby Robert The Rebuilder » Sun Jan 20, 2008 10:25 pm

UPDATE:

I made fixes to the alc_Wizards.py file:
- The material wizard now flags a texture for no compression if the texture begins with "noCompress"
- The material wizard checks if the texture has any alpha values < 1 and sets "USEALPHA"
- The properties wizard no longer chooses the first click region for the clickable; instead, it properly selects the region surrounding the clickable

Andy: when using the stable v0.5 plugin, did your footstep regions work correctly?
Can we rebuild it? Yes, we can - here's how.

MOULagain KI# 1299

Myst Movie coming soon - spread the word!
User avatar
Robert The Rebuilder
 
Posts: 1383
Joined: Sat Sep 29, 2007 7:24 am
Location: Virginia, US

Re: PyPRP Conversion Wizards

Postby andylegate » Mon Jan 21, 2008 6:59 am

Yep, they sure did.
"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

Next

Return to Building

Who is online

Users browsing this forum: No registered users and 2 guests