Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN2 TOOLS

- Jump to comments -
Name  Blender 2.5 MDB Import/Export plugin
Author  Jester_v01, Ardell,Olblach,Duskwind
Submitted / Updated  11-08-2010 / 06-29-2011
Category  Modelling
Patch  1.00
NWN2Game  All
Description
This is a continuation of Jester and Ardell works. Since Blender 2.5 has a completely different API it was not possible to keep using the old import/export scripts. Hence I did the adaptation.
Developped and Tested with Blender 2.55 for Windows XP/32 bits.

Files

NameTypeSizeDownloads
Blender2.5_MDB.zipBlender2.5_MDB.zip
Submitted: 11-08-2010 / Last Updated: 06-29-2011
zip1.6Mb531
Blender MDB Importer/Exporter v0.79
SCORE OUT OF 10
10
6 votes
View Stats
Cast Your Vote!
Voting FAQ

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS

Crossroad Keep


Aldanon


Placeable made from Blender 2.55





You Must Be Logged In to Participate.
Comments (37):

  1  2 Next>

Posted by Olblach at 2012-08-21 22:46:52    
Hi SolventMoon sorry for the delay.

I think the problem is that you don't have any material assigned, I can add a test to prevent the thing to crash but if you assign a material that should work too. I'll have a look when I have some time. If you can send me a test file at [My pseudo] at yah00 dot c0m that would help.

Posted by SolventMoon at 2012-07-24 10:02:14    
This is what is popping up in the console if it helps at all:

Traceback (most recent call last):
File "C:\Program Files\Blender Foundation\Blender\2.58\scripts\addons\nwn2_mdb\NWN2Exporter.py", line 204, in execute
packet.setBlenderData(obj)
File "C:\Program Files\Blender Foundation\Blender\2.58\scripts\addons\nwn2_mdb\nwn2mdb.py", line 574, in setBlenderData
self.setMaterial(self.meshData)
File "C:\Program Files\Blender Foundation\Blender\2.58\scripts\addons\nwn2_mdb\nwn2mdb.py", line 485, in setMaterial
self.material.setMaterial(object.materials[0])
IndexError: bpy_prop_collection[index]: index 0 out of range, size 0

location::-1


Posted by SolventMoon at 2012-07-24 09:58:53    
hey OlBlach, im using blender 2.58 and im just experimenting with a weapon mdb just to make sure the export is working. I keep getting a export error. i made sure that the weapon was in object mode and i even renamed everything except the dds files. really want to get some cool custom stuff in game. thanks :)

Posted by Olblach at 2011-08-24 21:32:14    
Look under the tutorial section there are several custom contents guide. Look for how to make a custom placeable for example before you can move to the heads and body which are a bit more complicated.

Thanks for the vote CPiciullo!

Posted by Luthrendel at 2011-08-24 11:02:24    
im getting a bug with the exporter...importing is just fine, but it exports as a microsoft access database file and it doesnt show up in game. please let me know if i just put something in the wrong place and im just an idiot, thanks!

Posted by CPiciullo at 2011-08-03 13:30:56    Voted 9.00 on 08/03/11
Thanks Olblach! I figured it out (new to Blender, if you couldn't tell) but forgot to update the status.

Posted by Olblach at 2011-08-02 23:57:43    
It's explained in the Readme btw.

Posted by Olblach at 2011-08-02 05:25:35    
There is an option to install add-ons in the Preferences.

Posted by CPiciullo at 2011-07-21 00:40:31    Voted 9.00 on 08/03/11
Can anyone help me install this on a Mac running Blender 2.5.8a? I can't seem to figure out where to install the scripts. Thanks in advanced!

Posted by Olblach at 2011-06-29 22:21:52    
Update for 2.58 (doh they have renamed things again!)

Posted by jester_v01 at 2011-04-30 15:29:00    Voted 10.00 on 04/19/11
Any bugs with SKINs please let me know - I think it's working but please try it out. I'll get a proper tutorial done at some point.

Posted by Olblach at 2011-04-30 06:46:37    
Updated with Jester's SKIN fix.

Posted by jester_v01 at 2011-04-28 13:19:14    Voted 10.00 on 04/19/11
Doesn't work with SKINs yet. Nearly fixed it, got the importer working, exporter nearly. Blender API for vertex groups has changed quite a lot

Posted by Olblach at 2011-04-21 09:45:15    
Updated with Jester fix and a few other fixes. I have imported / exported and reimported clothes successfully with it.

Posted by Olblach at 2011-04-20 00:01:16    
OK thanks I'll have a look. My email is [My pseudo] at yah00 dot c0m

Posted by jester_v01 at 2011-04-19 15:48:37    Voted 10.00 on 04/19/11
Getting a bug with the importer. I think it's because vertex_groups no longer has an assign method. Try the following in NWN2Importer.py instead:

if packet.type == b'SKIN':
for ix in range(int(vert.boneCount)):
if [g for g in meshObj.vertex_groups if g.name == BONE_DICT[vert.boneIndices[ix]]]:
if vert.boneWeights[ix] > 0:
g.add([mesh.vertices[counter].index], vert.boneWeights[ix], 'REPLACE')
else:
if vert.boneWeights[ix] > 0:
g = meshObj.vertex_groups.new(BONE_DICT[vert.boneIndices[ix]])
g.add([mesh.vertices[counter].index], vert.boneWeights[ix], 'REPLACE')

Is there an easier way to communicate - I'd be glad to help debug.

Posted by jester_v01 at 2011-04-19 15:48:35    Voted 10.00 on 04/19/11
Getting a bug with the importer. I think it's because vertex_groups no longer has an assign method. Try the following in NWN2Importer.py instead:

if packet.type == b'SKIN':
for ix in range(int(vert.boneCount)):
if [g for g in meshObj.vertex_groups if g.name == BONE_DICT[vert.boneIndices[ix]]]:
if vert.boneWeights[ix] > 0:
g.add([mesh.vertices[counter].index], vert.boneWeights[ix], 'REPLACE')
else:
if vert.boneWeights[ix] > 0:
g = meshObj.vertex_groups.new(BONE_DICT[vert.boneIndices[ix]])
g.add([mesh.vertices[counter].index], vert.boneWeights[ix], 'REPLACE')

Is there an easier way to communicate - I'd be glad to help debug.

Posted by jester_v01 at 2011-04-19 13:53:32    Voted 10.00 on 04/19/11
Oh thank God.. I was getting all bogged down in packages and modules and Python crap I've forgotten because I haven't written any Python for about year. Very glad you've done this. Thank you!

Posted by Olblach at 2011-04-18 05:13:28    
Updated for Blender 2.57

Posted by Olblach at 2011-04-17 06:13:17    
Yep it's out now looking at it.

Posted by jester_v01 at 2011-03-12 12:54:29    Voted 10.00 on 04/19/11
Blender 2.57 is out soon (next few weeks hopefully) and is meant to be stable - so there should be no more Python API 'updates'. When this happens I'll update the IO scripts - unless Olblachs all ready to go(?). There are couple more bugs that need fixing as well as those already discussed.

Posted by Registerdebakel at 2011-03-02 03:05:25    
Ieeeeek, finaly a 2.5 MDB exporter for Blender and now they changed again something so the Exporter does not work.

Hope you will update this quickly. I want to model something for NWN2.

i get this error,if i try to export something:

Traceback (most recent call last):
File "C:\PROGRA~1\BLENDE~1\BLENDE~1.56A\2.56\scripts\addons\nwn2_mdb\NWN2Expor
ter.py", line 223, in invoke
context.window_manager.add_fileselect(self)
AttributeError: 'WindowManager' object has no attribute 'add_fileselect'
location::-1
location::-1


seems to be the same issue jester already posted

Posted by jester_v01 at 2011-02-15 07:49:52    Voted 10.00 on 04/19/11
Great job - perils of developing against a moving target. Thanks

Posted by Olblach at 2011-02-14 20:16:00    
Yes, they have renamed add_fileselect into fileselect_add :S
They have also removed the float parameter from remove_doubles.

It's fixed but i need to repackage and send it.

Posted by jester_v01 at 2011-01-24 12:54:55    Voted 10.00 on 04/19/11
Hi there... Was mucking about recently with Blender 2.56a. Scripts seem to be bust. When running the import script it says the WindowManager object has not attribute 'add_fileselect' on line 536 of NWN2Importer.py. Probably an API change in 2.56

Would be most grateful if you'd look at it.

Thanks!

Posted by Olblach at 2010-11-14 02:07:45    
v 0.75
Added Duskwind's code for support of WALK and HOOK packets
Fixed armature import
Various fixes

Posted by Olblach at 2010-11-12 02:27:34    
FIXED: some temp objects were still not deleted
FIXED: packets were not emptied at the beginning of an import/export

Posted by Olblach at 2010-11-11 10:17:03    
There is still the object not deleted bug...
So, save your project as .blend, export and if you want to make corrections then reopen and export or you will double the size of the mdb each time.
I'm going to look into it.

Posted by Olblach at 2010-11-11 09:03:15    
v0.72
the file selector only shows .md files now
FIX: TGA fallback (again)
removed some debug messages

Posted by Olblach at 2010-11-09 11:55:53    
OK thanks. If you could elaborate on TS exporting I'll see what I can do hehe.

  1  2 Next>

You must be Logged In to post comments in this section.

10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 UI


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters