yeah well, that is another question :/ if only I knew how blizzard uses the shaders from D3 so I could generate the normal and specular map ... but that is not in my power to unravel (yet)
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.
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....
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
Weird, did you try to remove that line, since it is only a message being shown?
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
Strange, just tested the Angel trooper, true, he only has one obvious animation, but probably other animations can be used for him as well.
Btw, which Female wizard file did you use? the OneBatch, the CharacterSelect or the full model?
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
Ok, I'll check this tonight.. I haven't tried the female wizard, but I surely tried the Angel trooper.. keep you posted.
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
@Daara87: Go
Which model and which animation are you using?
I know that, for the butcher for example, some of his animations are not working, because in the ani file there is no reference to any of the bones.
@DrSuperEvil: Go
Well, if he can figure out the compressed shader files from the Shaders.mpq, that would be neat !
In the new files ( from the beta) there is a nicer reference to which shaders are used, only the animation files differ also, so no luck there yet...
T.
My Starcraft II Tutorials Youtube Channel
My Basic Moddeling Tutorials Youtube Channel
My assets here
@Zolden: Go
As far as I know, yes, I haven't found any model yet that failed to import and was unable to animate.
but it does NOT support the D3 PTR ( beta) models, I tried it on the Crusader, no luck, yet
@DrSuperEvil: Go
yeah well, that is another question :/ if only I knew how blizzard uses the shaders from D3 so I could generate the normal and specular map ... but that is not in my power to unravel (yet)
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
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
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
@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
@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
YEP !!
T.
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
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