Author Topic: Shaper fails to export MS3D ASCII file  (Read 1268 times)

Seeing as how xC uses my chairs, i thought i'd search the forums and remake them, fix up their script, etc, but i don't have the .ms3d files on this XP computer (I don't know about the Vista one), so i thought i'd use Shaper to import the .dts, and export it as a MS3D ASCII .txt file, but then this error comes up



I looked at the exMS3D.lua file with Notepad and looked for line 189 (Manually, cause i forget what program can search for a line, seeing as how Notepad and WordPad can't), this is what i saw
Code: [Select]
function exMS3D:exportMaterial(material, exportFile)

-- name
exportFile:write("\"" .. material:getName() .. "\"\n")

self:exportColor(material:getAmbientColor(), exportFile)

self:exportColor(material:getDiffuseColor(), exportFile)

self:exportColor(material:getSpecularColor(), exportFile)

-- emissive
self:exportColor(Color(), exportFile)

-- shininess
exportFile:write("0\n")

-- transparency
exportFile:write("0\n")

exportFile:write("\"" .. material:getDiffuseMap() .. "\"\n")

-- alpha map
exportFile:write("\"\"\n")
end
The '-- transparency' line or the line below it is possibly line 189, i don't see any problems, but then again, i know nothing about LUA, let alone Torque Script, so i'm not sure :S

It's been broken for a while.

It's been broken for a while.
Isn't there any way to fix it?

Inverse Software is never going to fix it seeing as they said Shaper is no longer a high priority (Though it may resume development in the future)

Try deleting all bones on the model, then export.