I'm having two different import problems, I've searched all over for solutions but can't find any so I'm sorry if these have been covered.
The first is importing a model into 3ds max using the m3 import utility, I get an error I can't find referenced anywhere else:
"Argument count error: ReadFixedString wanted 1, got 2
it looks like a syntax or logic error within the script
The second problem is with importing the model into sc2,I've downloaded the mapster logo asset, and I can get that in the game easily enough, but when I import my own, the model is black I don't know what I'm doing differently between the logo asset and my own I suspect the problem is with the exported model or the model's material, but I've looked at every resource and tutorial on exporting, and read and reread the instructions, but can't figure out what I'm doing wrong.
as an aside: it seems when I first installed the sc2 model tools, there was a property on the starcraft material for selecting and displaying team colors, that property is gone…
For the first one I'll need to know what version of your importer is it and our 3ds max version.
The second one, as you guessed, it's most likely to a material mishandling, you didn't add a material, material was an incorrect shader type (should be starcraft 2 material type) OR you have some animations which are messing up with the bind pose (frames 0 and 1) which I doubt is your case since I don't think you're doing any editing in the M3 sequences plug in.
the first problem has not been fixed The second problem seems to have resolved itself I seem to have been forgotten, woe is me
two new questions:
first, since I can't import a model, like a marine, I can't get a sense of scale for my models and they show up huge, so, what dimensions should a box object be to approximate the size of a marine or zealot?
two: is there a set of instructions or a tutorial for exporting animations for sc2 out there? To be clear I don't mean instructions for creating animations I'm not new to 3ds max, but I don't understand how to export them
not to be impatient, but I'm usually better at figuring things out, , maybe if I had a push in the right direction or a hint where to start
I did find discussions mentioning "m3 - Sequences in utilities, but there is no such utility, when I run the sc_objects script,I get an error so I tried an older version where m3 - sequences utility shows up, but I get another script error when exporting.…
I'm starting to think you installed it incorrectly since you don't have the M3 sequences plug in.
And quite honestly if you just say "it errors" kinda doesn't help figuring out what's going on.
How exactly did you install this? you don't have to run any script at all, you just open them in maxscript, you don't really interact with anything called "sc_objects" in 3ds max. You seem to be doing this incorrectly. The plug ins come with installation instructions to put the downloaded files in the 3ds max /plugins/startup/ folder or something like so, did you follow that? It sounds to me that you're trying to run the scripts and not having them "installed" like the download instructions say.
Yes, in the zip file for the tools i downloaded, sc2_objects.ms is in the plugins folder and I put it in the plugins folder inside max, and the other scripts from the zip file are in scripts/startup.
I took everything out and tried to reinstall with everything in its proper place, the error i get on startup says:"Syntax error at on, expected<rollout clause> in line: on c" which is line 1097 on clpCol1Start
additionally, the instructions say, "2b. Extract sc2_plugins.ms into your 3ds max '...\Plugins' directory to be able to use the... but there is no file "sc2_plugins.ms" in the zip folder for the max tools, there is a file called sc2_objects.ms in the plugins folder in the zip...
on a side note I was electing to run the script manually because hat opens the script editor and shows the exact line that's causing the error
edit, edit:the instructions call it sc2_ objects not sc2_plugins, I copied that line from an older set of instructions
so, to recap, the importer doesn't work as outlined in the first post, m3 - sequences doesn't show up, most likely because max has an issue with the plugin
@TrueTsumetai: Go
Ive been using the Importer/Exporter for a while now with no major issues (mainly human error if any).
I Personally use Max2011, I would Recommend trying MAX 2010 or 2011 rather than 9. While the script is compatible with other versions, I've found that it can have problems with versions below 2010 and with 2012.
you can download and get a student license for free from Autodesk directly through http://students.autodesk.com/?nd=download_center
the only limitation for the student license is not using it for profit (sell models/premium maps)
I would suggest setting the plugins to load automaticly
Copy from the plugins download:
m3_import_v0.31.ms
m3_export_v0.22.ms
m2_import_v0.304b.ms
impexpmdx_v2.0.4.ms
and place them in your C:\Program Files\Autodesk\3ds Max 2011\Scripts\Startup Folder
Copy from the plugins download:
sc2_objects.ms
Place in C:\Program Files\Autodesk\3ds Max 2011\plugins Folder
Like I said, I think you installed them incorrectly. I've used them in MAX 9, and 2011 without a single problem. This problem is most likely not the plug in's fault.
I'll be making a tutorial today on how to install them, hopefully that helps you, other than that none of us pretty much have any clue, we did not make the plug ins.
@TrueTsumetai: Go Ive been using the Importer/Exporter for a while now with no major issues (mainly human error if any).
I Personally use Max2011, I would Recommend trying MAX 2010 or 2011 rather than 9. While the script is compatible with other versions, I've found that it can have problems with versions below 2010 and with 2012.
you can download and get a student license for free from Autodesk directly through http://students.autodesk.com/?nd=download_center
the only limitation for the student license is not using it for profit (sell models/premium maps)
I would suggest setting the plugins to load automaticly
Copy from the plugins download:
m3_import_v0.31.ms
m3_export_v0.22.ms
m2_import_v0.304b.ms
impexpmdx_v2.0.4.ms
and place them in your C:\Program Files\Autodesk\3ds Max 2011\Scripts\Startup Folder
Copy from the plugins download:
sc2_objects.ms
Place in C:\Program Files\Autodesk\3ds Max 2011\plugins Folder
This is exactly what I did, and I just un-iinstalled them, restarted max and re-downloaded them, just to be sure, and the problems persist I'll try a newer version of max, I held on to 9 so long because it was the only version I had compatible with mod tools for other games
Now I'm having new troubles, I'd swear these things are sentient and intentionally conspire to piss me off
I installed max 2011 and the plugins, and now the importer works and the exporter exports without error, but, the model won't import into sc2 properly, something different happens every time I try to import the exact same model, sometimes it shows up as a checkered dome, sometimes its dark gray, this makes no sense, the old animation-less models I made in max 9 still import just fine
I'm getting really fed up with this non-sense, it's one thing after another with these tools
okay, sometimes when I import all I get is a checkered dome, some times the model shows up, sorta, but its all wrong, like it's using the wrong frame as its base pose, also the model wont show up at all in the previewer
Also sometimes the M3-sequences tool wont have any animation in it the only thing in the list will be "none" and clicking add or remove wont do anything
although the model wont show up in the previewer;some of the animations seem to. of course since no model shows up, no animations seem to work, although, based on the timeline, its clear the animations are way shorter than they're supposed to be. this BS is getting real old real fast. I've been modding games since forge and anvil on marathon none has ever given me this much trouble, except maybe source, but source is ridiculously convoluted, but even then, I got it to work eventually
The Importer/Exporter are fan made with limited information about the .M3 format, Errors are to be expected. So are work arounds.
The "Checkered Dome" is an error in the Map Editor, NOT the plugin. The Editor calls on assets from an archive, either internal or external (ex: liberty Campain mod) The Checkered Dome is used by the editor when it is unable to find the defined asset. to archive your model in your current project:
-First Import All textures for your model
Import path should be same as defined in 3DS max
-SAVE, this will archive your textures. if the textures are not archived first, your model will show as pure black or a purple tint.
Import your .M3 file
-Save
IF you import your model and textures at the same time you will need to save and restart the editor before they will render correctly.
M3-Sequences:
The sequence part of the plugin is bugged. to add a new sequence to a model with No Animations:
Run the M3-Sequence Utility
Select Add
Click Close
Run the M3-Sequence Utility Agian
You should now be able to view, edit, and add sequences without any issue
If you are still having issues, posting screenshots might assist in determining the exact issue.
The Importer/Exporter are fan made with limited information about the .M3 format, Errors are to be expected. So are work arounds.
The "Checkered Dome" is an error in the Map Editor, NOT the plugin. The Editor calls on assets from an archive, either internal or external (ex: liberty Campain mod) The Checkered Dome is used by the editor when it is unable to find the defined asset. to archive your model in your current project:
-First Import All textures for your model
Import path should be same as defined in 3DS max
-SAVE, this will archive your textures. if the textures are not archived first, your model will show as pure black or a purple tint.
Import your .M3 file
-Save
IF you import your model and textures at the same time you will need to save and restart the editor before they will render correctly.
</quote>>
I do that, and it usually works, though sometimes it appears to work but when I try to move the viewport camera, the model vanishes, something when I open the previewer
<<quote 545421>>
@TrueTsumetai: Go
M3-Sequences:
The sequence part of the plugin is bugged. to add a new sequence to a model with No Animations:
Run the M3-Sequence Utility
Select Add
Click Close
Run the M3-Sequence Utility Agian
You should now be able to view, edit, and add sequences without any issue
If you are still having issues, posting screenshots might assist in determining the exact issue.
<</quote>>I see...
Okay, so that takes care of the sequences not showing up, but not the issues with the model once imported
so, the remaining issues are model showing up warped, animations not working, animation lengths not making sense
so, answer me this, what are some numbers I should be working with in terms of export:FPS, animation lengths, bind pose, and base
sequence: frequency and move speed?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm having two different import problems, I've searched all over for solutions but can't find any so I'm sorry if these have been covered. The first is importing a model into 3ds max using the m3 import utility, I get an error I can't find referenced anywhere else: "Argument count error: ReadFixedString wanted 1, got 2 it looks like a syntax or logic error within the script The second problem is with importing the model into sc2,I've downloaded the mapster logo asset, and I can get that in the game easily enough, but when I import my own, the model is black I don't know what I'm doing differently between the logo asset and my own I suspect the problem is with the exported model or the model's material, but I've looked at every resource and tutorial on exporting, and read and reread the instructions, but can't figure out what I'm doing wrong.
as an aside: it seems when I first installed the sc2 model tools, there was a property on the starcraft material for selecting and displaying team colors, that property is gone…
For the first one I'll need to know what version of your importer is it and our 3ds max version.
The second one, as you guessed, it's most likely to a material mishandling, you didn't add a material, material was an incorrect shader type (should be starcraft 2 material type) OR you have some animations which are messing up with the bind pose (frames 0 and 1) which I doubt is your case since I don't think you're doing any editing in the M3 sequences plug in.
the importer is the latest version, I have max 9, the download page said the tools were compatible with max 6 and up
the first problem has not been fixed The second problem seems to have resolved itself I seem to have been forgotten, woe is me two new questions: first, since I can't import a model, like a marine, I can't get a sense of scale for my models and they show up huge, so, what dimensions should a box object be to approximate the size of a marine or zealot? two: is there a set of instructions or a tutorial for exporting animations for sc2 out there? To be clear I don't mean instructions for creating animations I'm not new to 3ds max, but I don't understand how to export them
0.1x0.1x0.1 metres will be closely the size of a command center. For reference.
Damn, I need to really make a better tutorial for this.
not to be impatient, but I'm usually better at figuring things out, , maybe if I had a push in the right direction or a hint where to start I did find discussions mentioning "m3 - Sequences in utilities, but there is no such utility, when I run the sc_objects script,I get an error so I tried an older version where m3 - sequences utility shows up, but I get another script error when exporting.…
I'm starting to think you installed it incorrectly since you don't have the M3 sequences plug in.
And quite honestly if you just say "it errors" kinda doesn't help figuring out what's going on.
How exactly did you install this? you don't have to run any script at all, you just open them in maxscript, you don't really interact with anything called "sc_objects" in 3ds max. You seem to be doing this incorrectly. The plug ins come with installation instructions to put the downloaded files in the 3ds max /plugins/startup/ folder or something like so, did you follow that? It sounds to me that you're trying to run the scripts and not having them "installed" like the download instructions say.
Yes, in the zip file for the tools i downloaded, sc2_objects.ms is in the plugins folder and I put it in the plugins folder inside max, and the other scripts from the zip file are in scripts/startup. I took everything out and tried to reinstall with everything in its proper place, the error i get on startup says:"Syntax error at on, expected<rollout clause>
in line: on c" which is line 1097 on clpCol1Startadditionally, the instructions say, "2b. Extract sc2_plugins.ms into your 3ds max '...\Plugins' directory to be able to use the... but there is no file "sc2_plugins.ms" in the zip folder for the max tools, there is a file called sc2_objects.ms in the plugins folder in the zip...
on a side note I was electing to run the script manually because hat opens the script editor and shows the exact line that's causing the error edit, edit:the instructions call it sc2_ objects not sc2_plugins, I copied that line from an older set of instructions
the importer doesnt work either....
so, to recap, the importer doesn't work as outlined in the first post, m3 - sequences doesn't show up, most likely because max has an issue with the plugin
Is their realy no progress on fixing these issues, or am I going to have to wait a couple years for Blizzards tools?
Not to be pushy, but evidently other people can get the exporter an d importer working, and mine still wont work, and I have mod work to do
4 posts in a row should get your post up.... lol,
4 posts days apart
@TrueTsumetai: Go Ive been using the Importer/Exporter for a while now with no major issues (mainly human error if any).
I Personally use Max2011, I would Recommend trying MAX 2010 or 2011 rather than 9. While the script is compatible with other versions, I've found that it can have problems with versions below 2010 and with 2012.
you can download and get a student license for free from Autodesk directly through http://students.autodesk.com/?nd=download_center
the only limitation for the student license is not using it for profit (sell models/premium maps)
Varify you have the most recent version of the .M3 plugins
http://www.sc2mapster.com/assets/m3-export-plugin-3ds-max/
I would suggest setting the plugins to load automaticly
Copy from the plugins download:
m3_import_v0.31.ms
m3_export_v0.22.ms
m2_import_v0.304b.ms
impexpmdx_v2.0.4.ms
and place them in your C:\Program Files\Autodesk\3ds Max 2011\Scripts\Startup Folder
Copy from the plugins download:
sc2_objects.ms
Place in C:\Program Files\Autodesk\3ds Max 2011\plugins Folder
Formally Kinkycactus
Like I said, I think you installed them incorrectly. I've used them in MAX 9, and 2011 without a single problem. This problem is most likely not the plug in's fault.
I'll be making a tutorial today on how to install them, hopefully that helps you, other than that none of us pretty much have any clue, we did not make the plug ins.
This is exactly what I did, and I just un-iinstalled them, restarted max and re-downloaded them, just to be sure, and the problems persist I'll try a newer version of max, I held on to 9 so long because it was the only version I had compatible with mod tools for other games
Now I'm having new troubles, I'd swear these things are sentient and intentionally conspire to piss me off I installed max 2011 and the plugins, and now the importer works and the exporter exports without error, but, the model won't import into sc2 properly, something different happens every time I try to import the exact same model, sometimes it shows up as a checkered dome, sometimes its dark gray, this makes no sense, the old animation-less models I made in max 9 still import just fine
I'm getting really fed up with this non-sense, it's one thing after another with these tools okay, sometimes when I import all I get is a checkered dome, some times the model shows up, sorta, but its all wrong, like it's using the wrong frame as its base pose, also the model wont show up at all in the previewer Also sometimes the M3-sequences tool wont have any animation in it the only thing in the list will be "none" and clicking add or remove wont do anything although the model wont show up in the previewer;some of the animations seem to. of course since no model shows up, no animations seem to work, although, based on the timeline, its clear the animations are way shorter than they're supposed to be. this BS is getting real old real fast. I've been modding games since forge and anvil on marathon none has ever given me this much trouble, except maybe source, but source is ridiculously convoluted, but even then, I got it to work eventually
@TrueTsumetai: Go
The Importer/Exporter are fan made with limited information about the .M3 format, Errors are to be expected. So are work arounds.
The "Checkered Dome" is an error in the Map Editor, NOT the plugin. The Editor calls on assets from an archive, either internal or external (ex: liberty Campain mod) The Checkered Dome is used by the editor when it is unable to find the defined asset. to archive your model in your current project:
-First Import All textures for your model
Import path should be same as defined in 3DS max
-SAVE, this will archive your textures. if the textures are not archived first, your model will show as pure black or a purple tint.
Import your .M3 file
-Save
IF you import your model and textures at the same time you will need to save and restart the editor before they will render correctly.
M3-Sequences:
The sequence part of the plugin is bugged. to add a new sequence to a model with No Animations:
Run the M3-Sequence Utility
Select Add
Click Close
Run the M3-Sequence Utility Agian
You should now be able to view, edit, and add sequences without any issue
If you are still having issues, posting screenshots might assist in determining the exact issue.
Formally Kinkycactus
<<quote 545421>>
@TrueTsumetai: GoThe Importer/Exporter are fan made with limited information about the .M3 format, Errors are to be expected. So are work arounds.
The "Checkered Dome" is an error in the Map Editor, NOT the plugin. The Editor calls on assets from an archive, either internal or external (ex: liberty Campain mod) The Checkered Dome is used by the editor when it is unable to find the defined asset. to archive your model in your current project:
-First Import All textures for your model Import path should be same as defined in 3DS max -SAVE, this will archive your textures. if the textures are not archived first, your model will show as pure black or a purple tint. Import your .M3 file -Save IF you import your model and textures at the same time you will need to save and restart the editor before they will render correctly. </quote>>
I do that, and it usually works, though sometimes it appears to work but when I try to move the viewport camera, the model vanishes, something when I open the previewer
<<quote 545421>>
@TrueTsumetai: GoM3-Sequences: The sequence part of the plugin is bugged. to add a new sequence to a model with No Animations: Run the M3-Sequence Utility Select Add Click Close Run the M3-Sequence Utility Agian You should now be able to view, edit, and add sequences without any issue
If you are still having issues, posting screenshots might assist in determining the exact issue. <</quote>>I see... Okay, so that takes care of the sequences not showing up, but not the issues with the model once imported
so, the remaining issues are model showing up warped, animations not working, animation lengths not making sense so, answer me this, what are some numbers I should be working with in terms of export:FPS, animation lengths, bind pose, and base sequence: frequency and move speed?