Working a Python Script

I just recently downloaded NeverBlender’s .mdl exporter scripts and put them into the scripts directory.

However because this is the first time I’ve tried both exporting a model and installing a Python script, I have no idea how to tell it to export the file. The option to export an .mdl doesn’t appear under File > Export, or Scripts > Export

I appologize if the answer is right in front of my face, but I googled tutorials on how to do this well over 10+ times and haven’t found anything of even remote use.

Thanks in advance.

your title suggests you were developing a python script :open_mouth:

I’m not sure, but did you “re-evaluate scripts registration in menus”, which can be found in:

User Preferences -> File Paths -> Little button to the right of the python path text field.

or in

Scripts Window -> Scripts -> Update Menus.

Wim

L0gan: Sorry, I meant ‘Getting a script to work’ :slight_smile:

Tunibels: I went to the scripts window and updated the menus, then went to Scripts Window -> Export, but .mdl script didn’t appear. I looked at the User Preferences bar, but there’s no “File Paths” tab, just File, Add, Render, Timeline, Game, Help, and the Datablock text field. :confused:

Where did you get the script?
What version of Blender do you use?
Who is the author of the script?(open the script in Notepad or similar text editor)

By the way and this Does’nt apply to you “ILikePotatoes”
I downloaded the script from here:
http://www.beastwithin.org/users/wwwwolf/games/nwn/gametools/neverblender/
And here is a section of the code.

#!BPY
“”" Registration info for Blender menus
Name: ‘Bioware NWN, ASCII (.mdl)…’
Blender: 233
Group: ‘Export’
Tip: ‘Export in Neverwinter Nights format ASCII model’
“”"
#################################################################

nwnmdlexport.py

Neverwinter Nights ASCII .mdl export script for Blender.

part of the NeverBlender project

© The NeverBlender Contributors 2003

Distribute, modify and use however you please as long as you

retain this copyright notice and comply to the terms set forth in the

file COPYING. No warranty expressed or implied.

$Id: nwnmdlexport.py,v 1.20 2005/05/15 10:56:04 wwwwolf Exp $

#################################################################

This is a severely ugly hack to get the path access working

in a sane way. Goddamn Blender won’t honor the Ordinary Python

Library Path.

:mad: :mad: :mad: :frowning: :frowning: :frowning:
@#$%^&*()[email protected]#$ idiots should be more careful what they say. Complain to Neverblender.:mad: :mad: :mad: :frowning: :frowning: :frowning:

I got mine from http://www.beastwithin.org/users/wwwwolf/games/nwn/gametools/neverblender/ (I think your is the same as mine)

I run Blender3D v. 2.42

Author:
© Urpo Lankinen 2003

CONTACT

E-mail:
[email protected]
Home page:
http://www.iki.fi/wwwwolf/
Neverwinter Nights stuff:
http://www.iki.fi/wwwwolf/games/nwn/
Neverblender:
http://www.iki.fi/wwwwolf/games/nwn/neverblender.html

Have I placed the scripts in the right place (Blender/.blender/scripts)?

Is it a bad script?

Am I going to have to go to the Dark Side and use XSI? :frowning:

no you should’nt have to go to the dark side.:smiley:
It is just a very badly written script, it also contains swearing an other bad principles. I will find you another script. There is one importer =====================
= mdl_import.py v1.2 =

© 2005 Jean-Baptiste PERIN -I’ll try to find the address for this one.
and an export script here
http://www.angelfire.com/dragon/compcor85/blender/scripts.html
Their may be more but as yet I have not tested them. they may be compatible with older versions of blender. Other people may know of other better scripts.
What upset me was that people should not swear and say Blender is whatever in the middle of a script they wrote.:frowning:
Also Install Python 2.4.3 for Blender 2.42a.
Also search this forum (search tool at top) for any other information.