It imports the app models ( all those I have tested worked fine, so if you encounter one that gives an error please let me know )
Imports multiple meshes
Imports the bones
Imports the Hard Points ( = Reference points in SC2 )
Imports the Vertex Weights
Script has been changed so that it scales and rotates to fit the SC2 units !
There does not seem to be an "easy" way of finding the correct textures, so that part of the code is commented out ( sorry don't seem to find that thing anywhere ... )
Run the script, or put it in the startup folder of the Scripts directory of your 3DS Max 2011
It will install a utility which you can select in the Utilities Tab ( see picture below )
Press the ellipsoid (...) and select your app model
Press the Import button
Wait a moment...
Done!
Tell me what you think, any suggestions are always welcome
Waaaait, so you can get complete D3 models into 3dsmax and then to the editor? Last time this came up the whole process ended with nothing but the model (no bones points animations).
So, it is possible for someone to retrieve animated and textured models of... let's say... Diablo, Goatman, ...?
Anyone able to get those for us/me? ^^
I will probably do some models, but these will be mainly as a test result of my scripts. On the other hand, if you have Diablo III, you can do this yourself.
Sadly, there is no (no yet anyway) method found to apply the textures to the models automatically ( using the scripts)
I used a little algorithm to find them, but they are such a chaos ( for scripting anyway)
ofcourse you should be able to find out which texture is used for the model manually, and it is not so hard to do and apply them in Max
Diablo III uses specific HLSL Shaders so there are no (90% of the time) no normal textures available and only diffuse textures.
Also, not a lot of specular textures are used either.
So to get your model in SC2 Editor, some manual stuff is required....
Gimme a model and its texture and I'll try to create normal and specular maps. Sometimes it's pretty easy. Also, what's in alpha channel of d3 textures?
Gimme a model and its texture and I'll try to create normal and specular maps. Sometimes it's pretty easy. Also, what's in alpha channel of d3 textures?
Here is Cain ( in the attachment) app, tex and dds are included, no alpha map found on the dds thou, maybe the 3DTexToDds.exe doesn't support extracting the alpha channel. So I added the original tex file.
If, by any chance you can convert the tex file to a dds with the alpha, please let me know.
Do D3 use slightly modified wow graphical angine/shader? Model quality and texture quality/technics is almost the same as wow uses.
So, wasn't too hard to create normal/specular maps, but the result isn't much impressive. The model look better in game, than the one with only diffuse map, but not as good as other sc2 units. Mostly because of low texture resolution and limits of diffuse->normal conversion.
Here is a separate thread where I will post the scripts i did for importing Diablo III file formats into 3DS Max 2011.
Download the stuff I post here from my assets: http://www.sc2mapster.com/assets/sc1-raynor-vulture/files/
Stuff includes:
App import script ( not working for the beta models yet )
Goatman Melee
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
Here is the first script.
It imports the app models ( all those I have tested worked fine, so if you encounter one that gives an error please let me know ) Imports multiple meshes Imports the bones Imports the Hard Points ( = Reference points in SC2 ) Imports the Vertex Weights
Script has been changed so that it scales and rotates to fit the SC2 units !
There does not seem to be an "easy" way of finding the correct textures, so that part of the code is commented out ( sorry don't seem to find that thing anywhere ... )
Run the script, or put it in the startup folder of the Scripts directory of your 3DS Max 2011 It will install a utility which you can select in the Utilities Tab ( see picture below )
Press the ellipsoid (...) and select your app model Press the Import button Wait a moment...
Done!
Tell me what you think, any suggestions are always welcome
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
Waaaait, so you can get complete D3 models into 3dsmax and then to the editor? Last time this came up the whole process ended with nothing but the model (no bones points animations).
YEP !!
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
Small leaps and bounds as with any retro-development. Still does not do the lighting/normal right though from the looks. But we are getting there.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
So, it is possible for someone to retrieve animated and textured models of... let's say... Diablo, Goatman, ...?
Anyone able to get those for us/me? ^^
@DrSuperEvil: Go
Got the importer to work. Got what looks like all the bones, helpers, and mesh.
You have the animations part in the works?
@DrSuperEvil: Go
Sometimes you speak to me in riddles my friend :)
But I didn't find any lights in the app files. The normals ( as in vertex normals) are applied as found in the app file.
@Daara87: Go
Absolutely, the animation script is in the works, and actually nearly finished! This will be uploaded soonish.... :)
@Ahli634: Go
I will probably do some models, but these will be mainly as a test result of my scripts. On the other hand, if you have Diablo III, you can do this yourself.
Sadly, there is no (no yet anyway) method found to apply the textures to the models automatically ( using the scripts) I used a little algorithm to find them, but they are such a chaos ( for scripting anyway)
ofcourse you should be able to find out which texture is used for the model manually, and it is not so hard to do and apply them in Max
Diablo III uses specific HLSL Shaders so there are no (90% of the time) no normal textures available and only diffuse textures. Also, not a lot of specular textures are used either.
So to get your model in SC2 Editor, some manual stuff is required....
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
Gimme a model and its texture and I'll try to create normal and specular maps. Sometimes it's pretty easy. Also, what's in alpha channel of d3 textures?
Likely used to do dying like SC2's team colors.
I expect to see specular mask there since no team colors needed in diablo.
There is a dyeing system in D3 that lets you change the colors of your armor. I assume it uses the alpha channel to do it.
@Daara87: Go
The dyeing is only on the heroes, so I don't think is applicable on the other stuff.
@Zolden: Go
Here is Cain ( in the attachment) app, tex and dds are included, no alpha map found on the dds thou, maybe the 3DTexToDds.exe doesn't support extracting the alpha channel. So I added the original tex file. If, by any chance you can convert the tex file to a dds with the alpha, please let me know.
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
@TaylorMouse: Go
I looked at the Female Wizard textures. There is a Diffuse, Tint, and Specular. None of them have an alpha channel.
Just downloaded the Diablo III PTR, which has some of the new models included for the upcoming expansion...
Model format got changed :/ and not all of them
And many of them are still placeholders. Texture format probably aswell, hope that the ani file are still the same format ...
Many head-breaking nights are coming my way...
T
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
Do D3 use slightly modified wow graphical angine/shader? Model quality and texture quality/technics is almost the same as wow uses.
So, wasn't too hard to create normal/specular maps, but the result isn't much impressive. The model look better in game, than the one with only diffuse map, but not as good as other sc2 units. Mostly because of low texture resolution and limits of diffuse->normal conversion.
I have about the same result in any of my attempts, sadly the textures are of a really really low quality compared to SC2 or even wow :/
Here is my first finished D3 model, download it from my assets.
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
here it is the animation import script!!
Download here: My Assets
There is a dummy ( which is hidden) that has the animation name, start and end frame , just check the objects properties.
Feedback is always welcome.
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
So, now we can turn any D3 model into animated sc2 unit?
There any tools to polish the textures up a bit, preferably automatically?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg