XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Jun 23, 2018 5:13 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: [REL] Natural Selection 2 MeshTool
PostPosted: Tue May 20, 2014 3:46 am 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Fri Apr 27, 2012 9:37 am
Posts: 430
Has thanked: 29 times
Have thanks: 179 times














You can make the ads go away by registering

Not sure what the devs were thinking when they engineered the model format for this game. Their vertex buffer structure is 92 bytes long which could of easily been around 40 if they actually utilized common compression techniques like compressing the UVs into halffloats or store bone indicies as bytes instead of 32bit integers. Anyway I don't think anyone cares thats reading this so I'll stop bitching.


Whats Included?

meshtool.exe
XY_Fix.ms
Mesh2Obj.bat
Mesh2Smd.bat
(bunch of txt files)
Instructions:

I've included some batch files to help ease the use since this is a command line tool it may be difficult for some people that aren't very competent with computers, well actually I have no idea why you would even use this tool if you have no clue on how to use command line applications.

If you want the output to be an obj mesh just drag and drop a .model file onto the Mesh2Obj.bat it should then create an output folder with the resulting mesh. Same applies for the Mesh2Smd.bat just dragdrop onto it.

For more info on the usage of the tool just run the exe and it will give you the usage commands I don't go through it because the Readme.txt has all the info you need.

As for the Maxscript file XY_Fix.ms it can be used with 3DS Max to fix the rotation of the models if you're exporting to SMD since it defaults to the Maya method (Y is Up/Down). Though please note some models may break if bones are not linked properly.

Lastly I'd like to thank chrrox for his help with this.

Image

Download:
http://dev.cra0kalo.com/?p=103
or here locally


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Devblog


Top
 Profile  
 
 Post subject: Re: [REL] Natural Selection 2 MeshTool
PostPosted: Wed Oct 22, 2014 2:27 pm 
Offline
beginner

Joined: Wed Oct 22, 2014 2:19 pm
Posts: 20
Has thanked: 4 times
Have thanks: 1 time
Good but how can I extract the 3d models. I meant where are there(In which .dat or .fat file)??with which formats?


Top
 Profile  
 
 Post subject: Re: [REL] Natural Selection 2 MeshTool
PostPosted: Sun Dec 07, 2014 3:14 pm 
Offline
advanced

Joined: Tue Nov 16, 2010 12:11 pm
Posts: 59
Has thanked: 9 times
Have thanks: 4 times
Well I tried your tool and at first i was exited, only to find that the UV maps are destroyed. The models are exported and they look ok, but the UV map coordinates are missing. Maybe it's due to an update of the game? (I tried to open the marine models - female and male models, all of them have the same problem)


Top
 Profile  
 
 Post subject: Re: [REL] Natural Selection 2 MeshTool
PostPosted: Sun Dec 07, 2014 3:32 pm 
Offline
ultra-veteran
ultra-veteran
User avatar

Joined: Fri Apr 27, 2012 9:37 am
Posts: 430
Has thanked: 29 times
Have thanks: 179 times
napoleon321 wrote:
Well I tried your tool and at first i was exited, only to find that the UV maps are destroyed. The models are exported and they look ok, but the UV map coordinates are missing. Maybe it's due to an update of the game? (I tried to open the marine models - female and male models, all of them have the same problem)

could be an update to the game because the UVs and all were working perfectly fine when I did it. Attach some samples or pm me them ill have a look.

_________________
Devblog


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group