Page 21 of 56

Re: Breldur, my new age

Posted: Mon Jan 25, 2010 3:09 pm
by Jojon
The "Transp" button Lontahv is referring to, would be for the object, not the material: ObjectButtons/Draw/DrawExtra. Ticking it will sort the object into major: defrend, minor: blend, without need for any alcscript.

Re: Breldur, my new age

Posted: Mon Jan 25, 2010 6:45 pm
by GPNMilano
Jonnee wrote:@dendwaler: Yes, I've seen that already too. So I can understand your explanation very well. 8-)

@GPNMilano: I tried it by using this code:

Code: Select all

BaumGruenKrone1:
    visual:
        drawflags:
          - sortspans
        criteria:
          - sortspans
        renderlevel:
            major:
              - fb
            minor:
              - blend

I get an error while exporting:
Criteria = int<FindInDict....
TypeError:int<> argument must be a string or a number, not 'list'


Yeah, that happens very often, I hate coding! :D What did I write wrong?


If you're using the older version instead of the newest pyprp, use:

Code: Select all

BaumGruenKrone1:
    visual:
        drawflags:
          - sortspans
        criteria: 2
        renderlevel:
            major:
              - fb
            minor:
              - blend

Re: Breldur, my new age

Posted: Mon Jan 25, 2010 10:36 pm
by Jonnee
I'm using an old version of PyPRP, downloaded a half year ago. I thought you are having some troubles with the new one? :roll:

Re: Breldur, my new age

Posted: Tue Jan 26, 2010 1:43 am
by diafero
As far as I know, version 1.6 works mostly fine - at least I saw almost no complaints ;-) (I don't use Blender myself though, so this is just an observation from the outside)

Re: Breldur, my new age

Posted: Tue Jan 26, 2010 4:18 am
by D'Lanor
I can understand writers being hesitant to switch to a newer PyPRP version because there will always be things that are done differently. Such is the way of progress. But at least for version 1.6 all breaking changes are documented and it comes with instructions how to revert the undesirable effects of these changes.

Switching PyPRP versions when you are in the middle of building an age is a pain but since you are redoing Breldur anyway, now would probably be a good time to switch to 1.6.

Re: Breldur, my new age

Posted: Tue Jan 26, 2010 6:28 am
by kahinj
This age may be smaller, but it's still amazing! :D

Re: Breldur, my new age

Posted: Tue Jan 26, 2010 10:21 pm
by Jonnee
Thanks alot. I will try it as soon as possible. 8-)

Re: Breldur, my new age

Posted: Fri Jan 29, 2010 2:00 pm
by Jonnee
Hi, friends!

A few minutes ago I was updating my python, blender and PyPRP to the newest versions.
But something is going wrong here: I'm not able to export the age, I get the error "No module named PyPRP".
What?? :shock: For sure the PyPRP was added to the .blender/scripts folder. 8-) I was also changing the path to the scripts in the program preferences. (Even if I'm running Windows.) But I don't get it exporting...

Who may help please? Thanks.

Hugs, Jonnee

Re: Breldur, my new age

Posted: Fri Jan 29, 2010 3:41 pm
by Nadnerb
what version of pyprp are you upgrading from? If it's below 1.6, this might be an issue.

http://forum.guildofwriters.com/viewtopic.php?p=35842#p35842

Re: Breldur, my new age

Posted: Fri Jan 29, 2010 10:36 pm
by Jonnee
I'm using all newest versions now. PyPRP 1.6 and blender 2.49.
I got it running, don't know what happend. I had to put the PyPRP folder into the /.blender directory. After that I moved it from there into the scripts folder. Till then I'm able to see the folder in the scripts directory and I'm able to export the age again too.

So...
I was able to test the different ways to solve my small problem with the transparent leefs.
I tryed GPNMilano's code, but the leefs got displayed much worser than before.
03
03
Error03.jpg (42.82 KiB) Viewed 3261 times

Using the Transp button did not really solve the problem too. I will try something different now.

But, anyway... Thanks to everybody for giving me pieces of advice. :) *hugs*