New PyPRP pre-release

News pertaining to the site and the forums, as well as guild discussions and events in the world of Uru.

New PyPRP pre-release

Postby Trylon » Sat Jan 05, 2008 4:19 pm

OK, by popular request, here is a pre-release of the new pyprp I'm working on.

http://ulm.hbyte.net/PyPRP/pypyp-0.9pre1.zip

Be warned, as much has changes, and you will need to run at least the conversion-wizard (Scripts->Wizards->PyPRP) to update your book objects (in layer 3) to the new style text script.

Also note that you'll need to use the BOUNDS button in the blender logic-properties menu to set the collision info, and ACTOR + ACTOR->DYNAMIC
to make an object kickable.

Just enabling the ACTOR button, without any other settings, will make the object dynamic - aka having a coordinate interface.


New stuff:
- doesn't use multiple objects in blender for one uru ublect anymore - but it now combines them all, and sets the per-face materials correctly:
- is able to export multiple materials per mesh
- can do multiple uv-maps per mesh
- can do alpha vertex painting - it uses the 2nd vertex color layer for that, which you should use only in black and white. (white being full opacity, and black full transparency
- Oh, parenting does work now for exports - just don't make the mistake if parenting two kickables together :)
- specular lighting works
- More, but I can't think of it from the top of my head.
- it imports every prp file into a separate blender scene
- Does not export unnecessary doubles - previous versions made copies of each vertex for each face that used them. (Something to do with blenders per-face uv mapping system) Now it only does that if absolutely necessary :)

Broken stuff at the moment:
- clickables - they are compleately redone at the moment
- footstep sounds - similar as clickregions
- camera regions - will be needing a little change.
- swim regions - don't ask me why
- automatic ladder creation - but that wasn't any good anyway.

have fun, and report those bugs :)
Last edited by Trylon on Sun Jan 06, 2008 7:59 am, edited 1 time in total.
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: New PyPRP pre-release

Postby andylegate » Sat Jan 05, 2008 5:30 pm

uhm.........okay.........

I just installed this version. I dumped the files in the Blender script folder. I told Blender to re-evaluate them.....

I even shut blender down and restarted it. It didn't want to export my Age. That's okay. Let's start fresh and new.

I started with a clean slate. Went to scripts, and told it to create a new book, and I got a console error right away.

It says:

Compiled with Python version 2.5.
Checking for installed Python... got it!
Traceback (most recent call last):
File "<string>", line 60, in <module>
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alcresmanag
er.py", line 38, in <module>
from alcprpfile import *
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alcprpfile.
py", line 33, in <module>
from alc_ResponderMod import *
ImportError: No module named alc_ResponderMod
Traceback (most recent call last):
File "<string>", line 64, in <module>
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alcresmanag
er.py", line 38, in <module>
from alcprpfile import *
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alcprpfile.
py", line 33, in <module>
from alc_ResponderMod import *
ImportError: No module named alc_ResponderMod


So what did I do wrong?
"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: New PyPRP pre-release

Postby Trylon » Sat Jan 05, 2008 8:32 pm

Hmm, I should know better than to pack a zip file after midnight :/ - forgot to remove a reference....

It should be fixed now...
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: New PyPRP pre-release

Postby andylegate » Sun Jan 06, 2008 7:32 am

You mean it wasn't me? I didn't do something wrong???

Yippy!

*does a little dance....*

oh, ahem, sorry Trylon, thanks for fixing it!!! :D
"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: New PyPRP pre-release

Postby andylegate » Sun Jan 06, 2008 7:57 am

Er.....okay I'm back to whine some more (winces) Sorry!

Okay, I downloaded it again, put the files in the script folder of blender. Had Blender re-evaluate the files again. Restarted Blender.

Just to test it quickly,I told it to create a new book. I didn't get an error this time! The console simply said that it was creating a book with the Funny Settings.....

Okay, but....no book. I mean I looked at layer 3 and it wasn't there. So I looked at all the layers.....still not there. So I ran the Wizard to upgrade the book. No error, but still, no book in any layers.....

So I shrugged at this and opened up my training Age. It loaded fine.
I used the Wizard as you said to upgrade the book. No errors.
I then tried to export the Age, and got an error. Here is what it said this time:

Compiled with Python version 2.5.
Checking for installed Python... got it!
Creating a book
Setting default Funny settings
Upgrading Book Settings
Creating a book
Setting default Funny settings
Upgrading Book Settings
Found Page on object xPage0
Contents: {'hide': 0, 'type': 0, 'name': 'mainRoom'}
Found Page on object xPage-2
Contents: {'hide': 0, 'type': 8, 'name': 'BuiltIn'}
Found Page on object xPage-1
Contents: {'hide': 0, 'type': 8, 'name': 'Textures'}
Found Book on object xBook
[Property "SequencePrefix"]
[Property "StartDateTime"]
[Property "DayLength"]
[Property "MaxCapacity"]
[Property "LingerTime"]
Exporting C:\Program Files\Blender Foundation\Age2\Campbravo.age ...
Args are e_age_final
['e', 'age', 'final']
Exporting age Campbravo
[AlcScript Parser]
Traceback (most recent call last):
File "<string>", line 176, in open_file
File "<string>", line 71, in export_age
File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alcresmanag
er.py", line 1895, in export_book

File "C:\Program Files\Blender Foundation\Blender\.blender\scripts\alcresmanag
er.py", line 1797, in export_book

AttributeError: alcBook instance has no attribute 'find'
"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: New PyPRP pre-release

Postby Chacal » Sun Jan 06, 2008 1:31 pm

Andy, did you do this:

Trylon wrote:Be warned, as much has changes, and you will need to run at least the conversion-wizard (Scripts->Wizards->PyPRP) to update your book objects (in layer 3) to the new style text script.
Chacal


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

Re: New PyPRP pre-release

Postby Trylon » Sun Jan 06, 2008 1:52 pm

he did - that's what the output is all about...
that's a bug alright.

Andy, do you have a text file called "Book" in blender?

I can't make heads or tails of the log.... it refers to non-existing lines in alcresmanager.py
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: New PyPRP pre-release

Postby Kato » Sun Jan 06, 2008 2:16 pm

Maybe you should delete all your PyPRP files and then reinstall it?

-Kato
Image
(explorer card designed and created by me)
User avatar
Kato
 
Posts: 315
Joined: Fri Sep 28, 2007 8:02 pm
Location: South USA

Re: New PyPRP pre-release

Postby Trylon » Sun Jan 06, 2008 2:36 pm

that could be it - an old alcresmanager.py lying around would cause weird problems like this....
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: New PyPRP pre-release

Postby andylegate » Sun Jan 06, 2008 3:10 pm

uhm but.....there are pyprp files that are NOT with Trylon's update.......I know, there are more files from the stable version that there are with this version....

Book file, let me go look
"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 Guild News

Who is online

Users browsing this forum: No registered users and 0 guests