Export Error

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!

Export Error

Postby cskid13 » Wed Mar 16, 2011 2:48 pm

I imported one of Cyan's ages, but when i re-export it, I get this error:
local variable col_r referenced before assignment
I did not use vertex paint. Does anyone know how to fix this?
cskid13
 
Posts: 228
Joined: Tue Feb 01, 2011 4:19 pm
Location: Eder Tsogal

Re: Export Error

Postby Egon » Thu Mar 17, 2011 12:15 am

First of all: You should rather not use PyPRP importing version in the first place. It's good it exists, because it allows to restore some data from Your own age (if You happens to lost somehow blend file), or helps in study how Cyan build they ages, but that's it. Don't hope for fully functional importer.

But if You really have to import something from Cyan age then brace yourself for lots of work.
In all imported objects (and sometimes for all materials, if object have them more then one), You have to do:
a)in Editing Panel (F9):
- rename "Color" to "Col"
- rename whatever is in UVTexture to "UVTex"
- delete Vertex Groups
b)in Shading Panel (F5) switch from "OB" to "ME" and set some kind of material (I usually copy the one which was visible in "OB" settings).
c)You might need to reapply textures for each material, but I'm not sure is it necessary
Egon #2052375
Who You gonna call? Guild of Doorcallers! #5356672
Eder Tsogal/Delin Marathon
Image
User avatar
Egon
 
Posts: 284
Joined: Fri Nov 16, 2007 9:45 pm

Re: Export Error

Postby GPNMilano » Sun Mar 20, 2011 1:49 pm

Egon wrote:First of all: You should rather not use PyPRP importing version in the first place. It's good it exists, because it allows to restore some data from Your own age (if You happens to lost somehow blend file), or helps in study how Cyan build they ages, but that's it. Don't hope for fully functional importer.

But if You really have to import something from Cyan age then brace yourself for lots of work.
In all imported objects (and sometimes for all materials, if object have them more then one), You have to do:
a)in Editing Panel (F9):
- rename "Color" to "Col"
- rename whatever is in UVTexture to "UVTex"
- delete Vertex Groups
b)in Shading Panel (F5) switch from "OB" to "ME" and set some kind of material (I usually copy the one which was visible in "OB" settings).
c)You might need to reapply textures for each material, but I'm not sure is it necessary


Hmm. I'm not sure If I updated the PyPRP importer or not after I did work to correct these things. I'll check at some point and put up the newest update to it. But IIRC The only thing it needed last i checked was to switch from OB to ME. Everything else was changed (the vertex layers were switched. Vertex groups no longer imported etc) And you shouldn't need to rename the UV texture names at any rate. I could be mistaken though.
You can't stop the truth. IC Blog
User avatar
GPNMilano
 
Posts: 1155
Joined: Mon Apr 21, 2008 5:50 am

Re: Export Error

Postby Chacal » Mon Mar 21, 2011 9:38 am

It would be great if you did that, Chloe.
Much is to be learned by examining Cyan Ages.
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: Export Error

Postby Sirius » Tue Mar 22, 2011 9:22 am

I don't know if this has anything to do with it, but when I want to re-export an object I imported, I have to open a new window, use Append or Link to import the object, and delete the material.

Anyway, that's great if you can fix some bugs.
Chacal wrote:Much is to be learned by examining Cyan Ages.
I can only agree.
User avatar
Sirius
 
Posts: 1508
Joined: Mon Jul 26, 2010 4:46 am
Location: France

Re: Export Error

Postby cskid13 » Wed Mar 23, 2011 1:17 pm

It worked at first, but then I got the export error again.
cskid13
 
Posts: 228
Joined: Tue Feb 01, 2011 4:19 pm
Location: Eder Tsogal

Re: Export Error

Postby cskid13 » Wed Feb 08, 2012 2:44 pm

Thank you. I am now experienced enough to try this.
cskid13
 
Posts: 228
Joined: Tue Feb 01, 2011 4:19 pm
Location: Eder Tsogal


Return to Building

Who is online

Users browsing this forum: No registered users and 0 guests