Forum > Resources and Tools

[TOOL] Blender 2.5+ WMO import/export script

<< < (5/11) > >>

Gamh:
Can't test it, how you're supposed to install that plugin ? I don't know shit about Blender.

Anyway if you can make it work properly ( = with portals and 100% working BSP tree), you'll definetely save us all from the available shitty tools. Mail me if you want some help with the trees or w/e, but seeing the source I guess  you got them quite correctly.

Supora:
Having an error:
[attachment=0:3i655f1y]error.jpg[/attachment:3i655f1y]
Changed the path for BSP_DEBUG.txt in BSP_Tree.py and export is worked.

happyhack:
I realize implementing bsp tree and collision in python is madness but well... got no choice. So it can be a bit long, and even make blender crash because of recursivity limit so be carefull when playin with node max size. From my tests i found 150 was a good limit but if u wanna change it u can


--- Quote from: "Supora" ---Having an error
--- End quote ---

thx for feedback, fixed it, as well as various other errors


--- Quote from: "Gamh" ---Can't test it, how you're supposed to install that plugin ?
--- End quote ---

just copy io_scene_wmo to C:Program FilesBlender FoundationBlender<blender version>scriptsaddons

Supora:
How many group files can we import with this script? It seems that we can't load big wmo's such as stormwind, undercity and etc.
Also when I imported pirate ship, delete the sails and export, game freezes when I look at this wmo.

happyhack:

--- Quote from: "Supora" ---How many group files can we import with this script? It seems that we can't load big wmo's such as stormwind, undercity and etc.
--- End quote ---

it works here :


it has something like 1M triangles and 600+ lights. It can be long to load...


--- Quote from: "Supora" ---Also when I imported pirate ship, delete the sails and export, game freezes when I look at this wmo.
--- End quote ---

portals doesnt work. When u import something there is a panel in Object properties which gives informations about "indoor"/"outdoor". If u set everything to outdoor u can export without portal, else it will crash. Can be many other reason, like bsp bug, and other things... I didnt try bsp export on big object, but it will probably crash with default parameters, resulting in the exported wmo being corrupted.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version