• 3DS Max 2012 and Sequence SMD's [Simple Question]
    6 replies, posted
I'm sorry about making a similar thread to my other one about this issue, but I can't find an answer anywhere. Is it possible[B][I] at all[/I][/B] to get a working, compilable sequence SMD out of MAX 2012? StudioMdl and GuiStudioMdl always freeze on me before the .QC compiles. I've found absolutely no solution to this so far. I am using CannonFodder's exporter.
Ah, I should have included some extra info: Here is the .qc: [QUOTE]// defining the upaxis is needed for maya exports $upaxis Z $modelname player/scout_animations.mdl $definevariable infoNode "scoutInfo" $include "scout_definebones.qci" // include the file that sets up the ikchains $include "../../TF_animation_rules/ruleshierarchy.qci" $include "../../TF_animation_rules/TF_macros_list.qci" $pushd "../animations" $sequence Test "Test" snap fps 30[/QUOTE] I've exported the sequence SMD out of 3DS Max 2012. The Sequence SMD is located in the folder: [QUOTE]sourcesdk_content\tf\modelsrc\player\scout\animations[/QUOTE] ...And the .qc (named: "scout_animations_1") is located in the folder: [QUOTE]sourcesdk_content\tf\modelsrc\player\scout\scripts[/QUOTE] Now the problem is that whenever I out the "scout_animations_1.qc" into GUIStudioMdl and hit compile, it gives me this message and then just freezes: [QUOTE]Created command line: "C:\program files (x86)\steam\steamapps\mysteamname\sourcesdk_conten t\tf\modelsrs\player\scout\script all paths:c:\program files (x86)\steam\steamapps\mysteamname\teamfortress2\tf \;c:\program files (x86)\steam\steamapps qdir: "C:\program files (x86)\steam\steamapps\mysteamname\sourcesdk_conten t\tf\modelsrc\player\scout\scripts\" gamedir: "c:\program files (x86)\steam\steamapps\mysteamname\teamfortress2\tf \" g_path "C:\program files (x86)\steam\steamapps\mysteamname\sourcesdk_conten t\tf\modelsrs\player\scout Building binary model files... Working on "scout_animations_1.qc" SMD../animations/Test.smd[/QUOTE] The question is still, however: [B]Is it possible at all to get a working, compilable sequence SMD out of MAX 2012?[/B]
I assume you changed mysteam name yourself. Could you try compiling with studioMDL. Just append pause on the second line of the batch file. might have a bit more information than the gui window. Also instead of Pushd could you try writing the SMD path out. Aka $sequence ..\animation\Test "Test" snap fps 30 Also what's your $cd - the compiler is sometimes a bit buggy when none is defined. It usually works fine if everything is in the same folder, but once you start referencing others it doesn't take it too kindly, unless a $cd is defined. As to max2012 SMD;s - if you can geta working reference out, you should be able to get a working animation out as well.
Hey, thanks for responding. First, when I try to add the path inside the $sequence command, it doesn't freeze, however, it gives me a message saying: [QUOTE]ERROR: c:\program files (x86)\steam\steamapps\nosekidk\sourcesdk_content\tf\modelsrc\player\scout\scripts\scout_animations_6.qc(129): - could not load file 'primary_idle.dmx' ERROR: Aborted Processing on 'player/scout_animations.mdl'[/QUOTE] Also, forgive me for being a bit new to this but what do you mean by "What's your [B]$cd[/B]?" Additionally could you maybe point me in some kind of direction to a website that tells me how to make a batch to compile this. I tried one before on this SMD and it just kept spitting out the same few sentences over and over.
From VALVe Wikia: The deprecated QC command $cd was used to change the location at which SMD files and $included QC files are looked for. It has been replaced by $pushd and $popd.
The $cd command essentially points to the folder to use as the root directory to use for the compiler to find the resources specified. [code]"H:/Games/Steam/steamapps/username/sourcesdk/bin/orangebox/bin/studiomdl" %1 pause [/code] here's a batch file example, all you have to do is drag and drop your QC on it. Also considering it's saying it can't find the DMX file, leads me to thinking that there's a filename issue or a folder issue actually. Quick question do you have a file somewhere that's primary_idle.dmx.smd? At least that's what the error message usually means. - Can't find the file specified.
Well, actually that message just occured after adding the $cd... And yes, primary_idle.dmx is in the DMX folder. After trying to compile with the batch file, it gives me this message (regardless of adding $cd or not): [QUOTE]C:\Program Files (x86)\Steam\steamapps\username\sourcesdk_content\tf\modelsrc\pl ayer\scout\scripts>C:/Games/Steam/steamapps/username/sourcesdk/bin/orangebox/bin /studiomdl" "C:\Program Files (x86)\Steam\steamapps\username\sourcesdk_content\t f\modelsrc\player\scout\scripts\scout_animations_1.qc" [B]The filename, directory name, or volume label syntax is incorrect.[/B] C:\Program Files (x86)\Steam\steamapps\username\sourcesdk_content\tf\modelsrc\pl ayer\scout\scripts>pause Press any key to continue . . .[/QUOTE]
Sorry, you need to Log In to post a reply to this thread.