I maked some models and want them in Warcraft 3 TFT. But i can't export them to MDX. Help me please, say what is wrong.
If you can't help, maybe you can try that i send you my model, i prefer not to because i want to do it myself ^^.
The error:
-- Unable to convert: Undifined to type: Integer
the script line where it happens:
local point = getTVert selection[geoInd].mesh texVerts[j]
I'm using:
Autodesk's 3dsMax 8
Import Export MDX script
I posted it here because i didn't saw any other thing where this supposed to be and this was going about models. So sorry if it's wrong here.
I couldn't find a tutorial how to export or something neither
EDIT:
I exported it now with a bone and with a empty texture it now says:
-- Runtime error: Mesh has no TVFaces
Scriptline:
local texFace = getTVFace selection[geoInd].mesh j
Found a solution by this one that didn't work: adding an uvmap modifier
Still need help
EDIT2:
I exported it now with a bone and with a WOOD texture it now says:
-- Unknown property: "Alphasource" in map #2:Wood
Scriptline:
if selection.material.diffuseMap.alphasource == 0 then
Still need help
EDIT3:
And if i add an original texture [ From W3 ] then i get the integer error again
Other things:
It's an item [ helm ]
I used an bone of an other helm
I imported that other helm attached my helm deleted the other helm, doesn't work either.
EDIT4:
Ok my request is now some1 to do it for me.
Because it don't even work's if i open an normal w3 unit and edit it.
If you can't help, maybe you can try that i send you my model, i prefer not to because i want to do it myself ^^.
The error:
-- Unable to convert: Undifined to type: Integer
the script line where it happens:
local point = getTVert selection[geoInd].mesh texVerts[j]
I'm using:
Autodesk's 3dsMax 8
Import Export MDX script
I posted it here because i didn't saw any other thing where this supposed to be and this was going about models. So sorry if it's wrong here.
I couldn't find a tutorial how to export or something neither
EDIT:
I exported it now with a bone and with a empty texture it now says:
-- Runtime error: Mesh has no TVFaces
Scriptline:
local texFace = getTVFace selection[geoInd].mesh j
Found a solution by this one that didn't work: adding an uvmap modifier
Still need help
EDIT2:
I exported it now with a bone and with a WOOD texture it now says:
-- Unknown property: "Alphasource" in map #2:Wood
Scriptline:
if selection.material.diffuseMap.alphasource == 0 then
Still need help
EDIT3:
And if i add an original texture [ From W3 ] then i get the integer error again
Other things:
It's an item [ helm ]
I used an bone of an other helm
I imported that other helm attached my helm deleted the other helm, doesn't work either.
EDIT4:
Ok my request is now some1 to do it for me.
Because it don't even work's if i open an normal w3 unit and edit it.
Last edited: