This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TOOL] Blender 2.5+ WMO import/export script  (Read 17145 times)

iindigo

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 198
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #15 on: March 31, 2014, 09:38:01 pm »
Quote from: "Skarn"
If this feature will exist the plugin will be very very inconvinient for WoW modding because the model will be full of useless doodad placeholders. And it will be nearly impossible to combine both .m2 and .wmo file formats in the one plugin. So, don't expect much. Machinima Studio can render fully working .wmos along with a doodadsets. We're not a machinima community and the goal is development. Sorry for a bit rude post, but I'm in a bad mood today. ;)
However, the plugin should preserve all these sections or create the new ones if they're missing to make Cromon's WMO doodadset editor compatible with exported models.

That’s why I suggested that it be an option that’s turned off by default (blender import plugins can present import options boxes prior to importing). There’s no need for software to be rigid and inflexible when options are easy to implement.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #16 on: March 31, 2014, 09:38:54 pm »
Awesome progress! Give the purple nickname to this guy!  :D
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #17 on: April 02, 2014, 12:51:12 pm »
Great progress.  Hope you release soon a version with collision.  I creat models from scratch,  so export is much more importand for me :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

happyhack

  • Contributors
  • Race Changer
  • *****
  • Posts: 38
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #18 on: April 07, 2014, 08:38:10 pm »
Added collision. Im not 100% sure what kind of algorithm blizzard use, but it seems to work. Tell me if u find any bug.
Collision panel is in Propertie view => Data
If some faces use a material which has Wow material panel disabled, its exported without material and therefore wont be rendered. If u have to export simplified mesh, do it this way.
« Last Edit: April 08, 2014, 04:25:08 pm by Admin »

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #19 on: April 07, 2014, 08:42:56 pm »
Awesome update. Big thanks from all the Skarn project. Keep it on, dude.  ;)

@Admins: I really think this guy should have a purple nickname. His contribution is really important for the scene.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Gamh

  • Contributors
  • Loreweaver
  • *****
  • Posts: 81
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #20 on: April 08, 2014, 07:13:42 pm »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Supora

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #21 on: April 08, 2014, 07:49:40 pm »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

happyhack

  • Contributors
  • Race Changer
  • *****
  • Posts: 38
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #22 on: April 09, 2014, 02:03:33 am »
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

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 ?

just copy io_scene_wmo to C:Program FilesBlender FoundationBlender<blender version>scriptsaddons
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Supora

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #23 on: April 09, 2014, 08:36:53 pm »
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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

happyhack

  • Contributors
  • Race Changer
  • *****
  • Posts: 38
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #24 on: April 13, 2014, 03:57:22 pm »
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.

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.

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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

derass

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
    • http://sineria-serveur.fr/
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #25 on: April 13, 2014, 08:12:22 pm »
Good software well use to import large piece of WMO (as h2 inn dala).
But I testing in game I have no collisions with.
Why? Should we make a special handling?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

happyhack

  • Contributors
  • Race Changer
  • *****
  • Posts: 38
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #26 on: April 13, 2014, 09:51:13 pm »
Seems many people have problems to know where panels are located so I updated first post with more informations.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

derass

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 11
    • View Profile
    • http://sineria-serveur.fr/
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #27 on: April 15, 2014, 05:14:34 pm »


I have this bug to export wmo.
Why ?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Helnesis

  • Registred Member
  • Race Changer
  • *****
  • Posts: 36
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #28 on: April 15, 2014, 10:04:43 pm »
Hi, i have problem.  I installing the script with Blender 2.62, i try import WMO i have error

the error :
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

happyhack

  • Contributors
  • Race Changer
  • *****
  • Posts: 38
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #29 on: April 18, 2014, 02:30:04 am »
Quote from: "derass"
I have this bug to export wmo.
Why ?
because i wrote 'h' instead of 'H'... updated

Quote from: "Helnesis"
Hi, i have problem. I installing the script with Blender 2.62, i try import WMO i have error
what the hell did u do? u broke everything u bad boy
« Last Edit: January 01, 1970, 01:00:00 am by Admin »