python("import CoDMayaTools");
I cant seem to find the export as xmodel_bin. Where is this setting? I have the path set to export2bin, just cant seem to find a way to actually export as bin
IsUneededNote = ( # If you find a Note that is not needed in WaW and you want to remove it from further anims add it here:
NoteTrack == "reload_large"
or NoteTrack == "reload_small"
or NoteTrack == "reload_medium"
or NoteTrack == "clip_out"
or NoteTrack == "clip_in"
or NoteTrack == "rechamber_release"
or NoteTrack == "rechamber_pull_back"
or NoteTrack == "end" # This will cause an error in converter, but might be needed for BO3, appears to be on ALL anims.
)
IgnoreUslessNotes = cmds.checkBox("Scoba_IgnoreUslessNotes", label="Ignore Useless Notes like reload_large, etc.", annotation="Check this if you want to ignre notes like reload_large, etc.", value=False)
Only "end" gives an error btw?
I've always added the other notes, even tho they are totally redundant granted
if cmds.checkBox("CoDMAYA_ReverseAnim", query=True, value=True):
cmds.currentTime(((frameEnd+1)-i)*multiplier) # Frame End defined by user (frameEnd) - what our current frame should be (i).
else:
cmds.currentTime(i*multiplier)
Yes please :rainbow:.
Lovely, any idea i could export it and add it to my own gdt ? Not having to make one ?
I followed these instructions exactly and nothing shows up in Maya. I am using Maya 2014, and I had to create usersetup.mel so nothing was in it and I copied python("import CoDMayaTools"); into the file and then saved it and opened Maya, I dont get an error, there just isnt the CodMayaTools tab on the top. Ive been trying this for a few hours and nothing seems to work. Any help is great thanks.
# Error: TypeError: cannot concatenate 'str' and 'tuple' objects #
Uploaded a hotfix. Export2Bin is now 100% confirmed working.
100% NOT working.Sorry for misleading, I forgot to edit my post after I've noticed that it doesn't work at all, god dammit. I thought that the tool would accept the full path as argument, but it doesn't.
I tried it yesterday and the export2bin doesn't create the correct file (content).
I used Maya 2016.
The normal export worked fine, but I had to run it (after 1 hour of raging) manually through export2bin (that tool is also questionable...)
Could this please be reviewed, because I got clearly fooled by the developer saying it works 100%.
Sorry for misleading, I forgot to edit my post after I've noticed that it doesn't work at all, god dammit. I thought that the tool would accept the full path as argument, but it doesn't.
Whenever I try to export a model i'm getting the same error, I tried with Maya Tools 1.0 and 2.0, Maya 2015 / 2016.
Am I doing something wrong ?
(http://image.noelshack.com/fichiers/2016/43/1477521697-816-27-10-2016-at-00-41-15.jpg)
I've found the solution, my username contains a unicode character so I just had to do an other account.Alright, I think I fixed this, I pushed another small update, if you're not running into this issue you don't need to download it.
I cant get this to work with Maya 2016..am i doing something wrong?
An unhandled error occurred during export:
Traceback (most recent call last):
File "C:/Users/ARlO-DESKTOP/Documents/maya/2016/scripts\CoDMayaTools.py", line 2031, in GeneralWindow_ExportSelected
exec("response = %s(\"%s\")" % (OBJECT_NAMES[windowID][4], filePath))
File "<string>", line 1, in <module>
File "C:/Users/ARlO-DESKTOP/Documents/maya/2016/scripts\CoDMayaTools.py", line 1325, in ExportXAnim
RunExport2Bin(filePath)
File "C:/Users/ARlO-DESKTOP/Documents/maya/2016/scripts\CoDMayaTools.py", line 2293, in RunExport2Bin
subprocess.call(p.replace("/","\\") + " \"" + file.replace("/","\\") + "\"")# , "\"" + file.replace("/","\\") + "\""])
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\subprocess.py", line 709, in __init__
errread, errwrite)
File "C:\Program Files\Autodesk\Maya2016\bin\python27.zip\subprocess.py", line 957, in _execute_child
startupinfo)
WindowsError: [Error 193] %1 is not a valid Win32 application
I get this error when trying to click on anything in the tool: "# Error: NameError: name 'CoDMayaTools' is not defined"I was about to suggest you to check the filename as it has to be the same.
EDIT: Huh, that is odd... I restarted Maya for the second time and it works now.
I was about to suggest you to check the filename as it has to be the same.Yeah, it is the same.