pie plugin

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: pie plugin

Post by carbon dude oxide »

MaNGusT wrote:viewtopic.php?f=33&t=4967#p50425 learn how to use search ;-)

all - http://developer.wz2100.net/browser/tools/blender and
updated.rar
dude thanks !!!! i didnt see the attachment!!!

its working now =D
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: pie plugin

Post by carbon dude oxide »

but its not fully working on the import script

here is what the output says

Image
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: pie plugin

Post by carbon dude oxide »

i tried again and i got this :
Image
User avatar
MaNGusT
Art contributor
Posts: 1154
Joined: 22 Sep 2006, 10:31
Location: Russia

Re: pie plugin

Post by MaNGusT »

Are you blind? :|
1)go to http://developer.wz2100.net/browser/tools/blender
2)Open each *.py file in a new tab
3)at the bottom of each page press original format
4)save the scripts
5)put saved scripts to the blender's scripts folder
6)put new scripts to the blender's script folder
7)overwrite the old scripts.
99)enjoy

and use the latest 2.*.* version of python! not older than 2.6.0
http://www.python.org/download/ :annoyed:
Image
User avatar
carbon dude oxide
Trained
Trained
Posts: 141
Joined: 28 Apr 2011, 07:46

Re: pie plugin

Post by carbon dude oxide »

ok thanks =D all working now =D
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: pie plugin

Post by stiv »

and use the latest 2.*.* version of python! not older than 2.6.0
Sorry, this is incorrect. You need to match the major version of python that that your blender was built with. If your blender says "Compiled with Python 2.5.2", you want the latest 2.5.x version. (the last digit is the minor version, and does not matter).

Recent downloads of blender 2.49 are likely using python 2.6, but if not, use the one blender wants. (reminder: the last digit does not matter)

Do NOT try to trick blender with environment variables. Blender is all-knowing and will not be fooled by your pitiful attempts.
Jorzi
Regular
Regular
Posts: 2063
Joined: 11 Apr 2010, 00:14

Re: pie plugin

Post by Jorzi »

I suggest you use blender 2.49b instead of 2.48 (although that would require you to install python 2.6.)
Unfortunately the .pie scripts fpor blender are a bit old and I haven't had much success with exporting. Import works fairly well, though. A minor thing I've noticed is that the importer assumes that the textures are 256x256. For larger textures you will have to scale the uv coordinates manually (just put the pivot cursor in the upper left corner)
ImageImage
-insert deep philosophical statement here-
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: pie plugin

Post by stiv »

I haven't had much success with exporting
The exporter insists on a certain data structure, unfortunately - an Empty as a parent with Mesh children named in a certain way. Import an .obj and look in the Outliner to see what I mean. This was in the process of getting fixed when we started going back and forth with the PIE format.
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: pie plugin

Post by cybersphinx »

http://developer.wz2100.net/wiki/Creati ... #Exporting should tell you all you need to know.