Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Improved W3D importer for 3d studio max now available
Improved W3D importer for 3d studio max now available [message #435775] Sat, 28 August 2010 23:58 Go to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Get it from
http://www.cncmods.net/files/w3dimport.zip

It can now import a lot more including wwskin (creating the wwskin "crossbones" object, linking the mesh to the object and linking the vertexes to the bones), materials (setting all the settings correctly) and w3d flags (collision etc etc). It does not import multiple materials assigned to a single mesh (it will import the first material and apply it to the whole mesh), objects set to "NULL (LOD)" in the w3d tools roll-out, the valpha checkbox and possibly a few other things.

Included in the zip file is:
w3dms.dlx New w3d maxscript extention plugin to allow maxscript access to various pieces of data specific to the W3D export plugin (w3d flags, materials etc)
w3dms.txt documentation of the maxscript functions supported by w3dms.dlx and by the W3D export plugin
w3d-importer.ms updated import script
max2w3d.dle updated w3d import plugin (there were a couple of options that existed in the gmax plugin but were disabled in the 3ds max plugin, I re-enabled them)
w3dms.vcxproj, w3dms.vcxproj.filters, dllmain.cpp, w3dms.sln Source code for w3dms.dlx (see COPYING for the license, basically it means that if you use my source code, you have to publish any changes you make and complete source code to any programs you use my code as part of)

To compile the plugin code you need visual C++ 2010 and you need the 3D studio max 8 SDK. If you have installed the 3D studio max 8 SDK in a folder other than the default, you will need to change the include and library paths in the project options to point to your SDK location.

The new importer and w3dms.dlx plugin are not compatible with gmax or any version of 3DS max other than version 8.

Please let me know if you make any improvements to the importer or w3dms.dlx plugin. Also let me know if you find any bugs, crashes, maxscript errors, things that wont properly import etc.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies

[Updated on: Sun, 29 August 2010 00:05]

Report message to a moderator

Re: Improved W3D importer for 3d studio max now available [message #435776 is a reply to message #435775] Sun, 29 August 2010 00:41 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

A new version has been uploaded to fix a bug with vertex colors and one with wwskin meshes


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Improved W3D importer for 3d studio max now available [message #435777 is a reply to message #435775] Sun, 29 August 2010 00:46 Go to previous messageGo to next message
Stefan is currently offline  Stefan
Messages: 212
Registered: April 2006
Karma: 0
Recruit
Dude, i love you. In Love

je m'appelle ohnoes!
Re: Improved W3D importer for 3d studio max now available [message #435778 is a reply to message #435775] Sun, 29 August 2010 02:25 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
Sounds great Jonwill but it keeps crashing. I tried loading the plugin on a clean install of 3dsmax8.

Trying to import a big mesh http://img529.imageshack.us/img529/9933/87623258.jpg

Almost any other .w3d http://img295.imageshack.us/img295/5315/42080599.jpg

The only thing i was able to import was character bones.

I was able to import volcano but it has no material info.
http://img535.imageshack.us/img535/2996/3dsmax.jpg


http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Sun, 29 August 2010 03:03]

Report message to a moderator

Re: Improved W3D importer for 3d studio max now available [message #435787 is a reply to message #435775] Sun, 29 August 2010 07:26 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

Updated the script a bit more, I fixed an issue with material import and I made vertex painting work correctly (in that it imports the correct values)

To use the script, you need to put the w3d-importer.ms file into the scripts\startup folder. If you have a w3d-importer.mse file, delete it.
Put max2w3d.dle and w3dms.dlx into the plugins folder (replacing the existing max2w3d.dle file)
The other files are only relavent if you want to change the w3dms.dlx plugin.

Mr. Nice Guy, firstly make sure you have 3ds max service pack 3.
Secondly, make sure you have the w3d export plugin setup and working correctly.
Thirdly, make sure you have the max2w3d.dle file and w3dms.dlx from the w3dimport.zip file in the plugins folder.

The error where it highlights "wwSetSortLevel" and displays that error box indicates that you haven't put w3dms.dlx in the right place (meaning that 3DS Max cant find wwSetSortLevel which is inside w3dms.dlx)


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Improved W3D importer for 3d studio max now available [message #435790 is a reply to message #435775] Sun, 29 August 2010 08:28 Go to previous messageGo to next message
Di3HardNL is currently offline  Di3HardNL
Messages: 1273
Registered: December 2006
Location: Netherlands
Karma: 0
General (1 Star)
Nice work man, I will check it out Thumbs Up

http://i236.photobucket.com/albums/ff5/Di3HardNL/Di3Logo-1.jpg

Visit My website to download all kind of models for Renegade! Also learn how to create your own stuff with my tutorials!
www.renegademodels.tk

Check out my video's on my Youtube profile!
http://www.youtube.com/user/Di3HardNL
Re: Improved W3D importer for 3d studio max now available [message #435792 is a reply to message #435775] Sun, 29 August 2010 08:40 Go to previous messageGo to next message
Reaver11 is currently offline  Reaver11
Messages: 888
Registered: April 2007
Karma: 1
Colonel
Nice work ill be checking this out!
Re: Improved W3D importer for 3d studio max now available [message #435794 is a reply to message #435792] Sun, 29 August 2010 09:13 Go to previous messageGo to next message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
Reaver11 wrote on Sun, 29 August 2010 17:40

Nice work ill be checking this out!

Thumbs Up


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
Re: Improved W3D importer for 3d studio max now available [message #435841 is a reply to message #435794] Mon, 30 August 2010 07:27 Go to previous messageGo to next message
LR01 is currently offline  LR01
Messages: 842
Registered: April 2006
Location: The Netherlands
Karma: 0
Colonel
Except for Null(LOD), where there any other options disabled?

Moding can be real Fun...

[Updated on: Mon, 30 August 2010 07:28]

Report message to a moderator

Re: Improved W3D importer for 3d studio max now available [message #435932 is a reply to message #435841] Wed, 01 September 2010 07:10 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3809
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
It'd be nice if there was a version of this for the newest release of max, I don't even think its possible to buy 3dsmax8 anymore.

Re: Improved W3D importer for 3d studio max now available [message #435933 is a reply to message #435775] Wed, 01 September 2010 07:19 Go to previous messageGo to next message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
*cough*download*cough* Sly

http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg
Re: Improved W3D importer for 3d studio max now available [message #435936 is a reply to message #435933] Wed, 01 September 2010 09:47 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3809
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
Omar007 wrote on Wed, 01 September 2010 08:19

*cough*download*cough* Sly

Last time I checked there were no download links on the site, and all the torrents were dead, so unless you know of a legal site where they still distribute a free copy of 3dsmax8, I'm just out of luck.


Re: Improved W3D importer for 3d studio max now available [message #435937 is a reply to message #435936] Wed, 01 September 2010 10:35 Go to previous messageGo to next message
Omar007 is currently offline  Omar007
Messages: 1711
Registered: December 2007
Location: Amsterdam
Karma: 0
General (1 Star)
Jerad Gray wrote on Wed, 01 September 2010 18:47

Omar007 wrote on Wed, 01 September 2010 08:19

*cough*download*cough* Sly

Last time I checked there were no download links on the site, and all the torrents were dead, so unless you know of a legal site where they still distribute a free copy of 3dsmax8, I'm just out of luck.

I sadly cant give a link here if i'd upload it somewhere for you Huh (guess even though its not legally possible to get it, it's still warez?)


http://tiberiumredux.omarpakker.nl/Old Unused Parts/Plaatjes/PromoteBanner_Hades_small.jpg

[Updated on: Wed, 01 September 2010 10:36]

Report message to a moderator

Re: Improved W3D importer for 3d studio max now available [message #436677 is a reply to message #435937] Thu, 16 September 2010 19:39 Go to previous messageGo to next message
YazooGang is currently offline  YazooGang
Messages: 742
Registered: August 2008
Location: US
Karma: 0
Colonel
index.php?t=getfile&id=12957&private=0
  • Attachment: error.JPG
    (Size: 7.42KB, Downloaded 936 times)
Re: Improved W3D importer for 3d studio max now available [message #436753 is a reply to message #436677] Sun, 19 September 2010 16:54 Go to previous messageGo to next message
YazooGang is currently offline  YazooGang
Messages: 742
Registered: August 2008
Location: US
Karma: 0
Colonel
can anybody help me??
Re: Improved W3D importer for 3d studio max now available [message #436927 is a reply to message #436753] Fri, 24 September 2010 04:32 Go to previous messageGo to next message
YazooGang is currently offline  YazooGang
Messages: 742
Registered: August 2008
Location: US
Karma: 0
Colonel
Anyone, please??
Re: Improved W3D importer for 3d studio max now available [message #436933 is a reply to message #435775] Fri, 24 September 2010 07:45 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Quote:

The new importer and w3dms.dlx plugin are not compatible with gmax or any version of 3DS max other than version 8.


Did you remember to remove the old importer BEFORE installing the new one? If you left some of the files from the old importer behind it will try to load that importer and probably result in the error you are seeing...


http://steamsignature.com/card/1/76561197975867233.png
Re: Improved W3D importer for 3d studio max now available [message #453201 is a reply to message #435775] Sat, 03 September 2011 15:28 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 0
General (5 Stars)
This isn't working correctly. The importer does indeed import files but it doesn't save the UVs of the models, which makes it worthless for fixing up Renegade vehicles. I love the changes, otherwise.

Also, if you could find a way to enable dazzle export in Max 8, that would be stellar. The dazzles simply do not export at all in Max 8. They work fine in RenX. Yes, I have dazzle.ini in both instances.
Re: Improved W3D importer for 3d studio max now available [message #453206 is a reply to message #435775] Sat, 03 September 2011 16:08 Go to previous messageGo to next message
NACHO-ARG is currently offline  NACHO-ARG
Messages: 397
Registered: October 2010
Karma: 0
Commander
nice work JW, it would be nice to have new renx vercion of the w3d importer 2 but i think i am the onlyone using it lol.
Re: Improved W3D importer for 3d studio max now available [message #453319 is a reply to message #453206] Mon, 05 September 2011 08:58 Go to previous message
Intradox is currently offline  Intradox
Messages: 60
Registered: February 2011
Location: United States
Karma: 0
Recruit
NACHO-ARG wrote on Sat, 03 September 2011 16:08

nice work JW, it would be nice to have new renx vercion of the w3d importer 2 but i think i am the onlyone using it lol.


and me lol.

Nice work. Big Ups


Not pro enough at renegade to snipe.
Previous Topic: Spikewar
Next Topic: TMSG Bug - Patched DLL Attached
Goto Forum:
  


Current Time: Fri Nov 22 10:09:42 MST 2024

Total time taken to generate the page: 0.01138 seconds