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 17155 times)

Skarn

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 807
    • View Profile
    • http://skarn-project.net
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #45 on: February 25, 2016, 08:47:24 am »
The new version of this tool is out along with the tutorial on how to use it:
http://www.model-changing.net/files/fil ... -25022016/
New features: Portals, Ambient lighting, Material flags, Global WMO settings (skybox, DBC IDs) and some more.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #46 on: March 09, 2016, 06:48:14 pm »
I needed some booty bay parts to my plunder island project, so i split it with this tool. Generally successful, but i have issue with vertex sahding ( colors? ) in indoor parts of new wmo.

Noggit renders them as shouls be - darker corners, shodows imitation.
Game engine reders them  just fully brigt.  

model has 4 objects: 1 outdoor with flag 0x09, and thee with 0x0520 flag. All these internal objects have  MOCV chunk.

And now im bit confused what's wrong with this , maybe global light isused to render indoor objects?. Does internal lights could solve this issue?
« 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 #47 on: March 10, 2016, 06:19:29 am »
Quote from: "stan84"
I needed some booty bay parts to my plunder island project, so i split it with this tool. Generally successful, but i have issue with vertex sahding ( colors? ) in indoor parts of new wmo.

Noggit renders them as shouls be - darker corners, shodows imitation.
Game engine reders them  just fully brigt.  

model has 4 objects: 1 outdoor with flag 0x09, and thee with 0x0520 flag. All these internal objects have  MOCV chunk.

And now im bit confused what's wrong with this , maybe global light isused to render indoor objects?. Does internal lights could solve this issue?
Might be missing flag hasMOCV. Might be ambient color related.
What are your group settings in Blender?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #48 on: March 10, 2016, 06:42:45 am »
hmmm

flags seems to be ok ( at 1st sight), each group has:

0x20 00 - 0x2000-- Indoor
+
0x04 -Has vertex colors MOCV
+
0x01 Has MOBN and MOBR

here is screenshot of blender window, also i have attached my example wmo, Skarn could You look at it ?

thanks in advance :)
« Last Edit: March 10, 2016, 04:11:53 pm by Admin »

Supora

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 143
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #49 on: March 10, 2016, 09:28:28 am »
try to change "0x2A    uint16       Number of batches interior" to the value of "0x2C    uint32       Number of batches exterior". And then set "0x2C    uint32       Number of batches exterior" to 0.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [TOOL] Blender 2.5+ WMO import/export script
« Reply #50 on: March 10, 2016, 04:11:07 pm »
Quote from: "Supora"
try to change "0x2A    uint16       Number of batches interior" to the value of "0x2C    uint32       Number of batches exterior". And then set "0x2C    uint32       Number of batches exterior" to 0.

Yessss!!! :) That's solution on my issue.

Thank You Supora.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »