Game Editing > 3D Modeling & Content Creation

[md3] Import error

<< < (2/4) > >>

kat:
Hmm.. I just double checked the MD3 files, you'll need to try this using Blender 2.42 (and the appropriate python install) which is what that version of the script was originally written for. BTW, you can install multiple Blender/Python combinations so long as each is in it's own directory.

bookentire:
kat,
now i am using Blender 2.42.
this Blender does not have the same directory structure, So i made one: "Blender Foundation\Blender\.blender\scripts\io".
And placed the three MD3 files inside folder \io.
have i been placing the scripts in the wrong location all along?

when selecting the Import\Quake3 (md3), Python tells me this:

--- Code: ---Compiled with Python version 2.4.
Checking for installed Python... got it!
Traceback (most recent call last):
File "(string)", line 45, in ?
ImportError: No module named md3

--- End code ---

kat:
Yes that won't work, you can't 'invent' directory structures like that. Blenders script directory locations are explained here.

The easiest thing to try first is to load the script into the Text Editor and run it from there. Switch the main 3D view to the Text Editor (Shift+F11) and the "Open" the script by clicking the double headed arrow button (in between the "AB" and "Screen 12" buttons) then use Alt+P to run it and go through the import process.

bookentire:
kat,
the three MD3 scripts have been placed in "C:\Documents and Settings\Administrator\Application Data\Blender Foundation\Blender\.blender\scripts\".

after using Blender to open the file "md3_import.py", And using ALT+P to run, Python says this:

--- Code: ---Compiled with Python version 2.4.
Checking for installed Python... got it!
Traceback (most recent call last):
File "C:\Documents and Settings\Administrator\Application Data\Blender Foundation\Blender\.blender\scripts\md3_import.py", line 45, in?
import md3
File "C:\Documents and Settings\Administrator\Application Data\Blender Foundation\Blender\.blender\scripts\md3.py", line 7, in?
import q_shared
ImportError: No module named q_shared

--- End code ---

kat:
Have you got your Python Path Variable set?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version