Error while compiling a custom model with builder.
Hi guys.
I'm creating a custom map and wanted to create some custom props for it. I've succesfully followed Brian's video tutorials and created the psd's to dds, but I'm having troubles getting the .model file compiled from collada format.
I have set the source and output folders correctly and I have the *.model_compile file in the same folder as my *.dae file.
Contents of the .model_compile file are:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->geometry "tree01.DAE"<!--QuoteEnd--></div><!--QuoteEEnd-->
And when I launch the builder it reports following:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->1> C:\Users\BABI\custommod\modelssrc\ns_lush\tree01\tree01.model
1> Error: Couldn't load 'C:\Program Files (x86)\Steam\steamapps\common\Natural Selection 2\compilemodel'<!--QuoteEnd--></div><!--QuoteEEnd-->
Now, I've tried pretty much everything I could figure out, but can't get it working. If I remove the .model_compile file contents, the builder will report:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->1> Error: No geometry file was specified<!--QuoteEnd--></div><!--QuoteEEnd-->
So, the CompileModel.exe should be working correctly right?
Only thing that I've done differently is, that I'm using 3ds max 2012 64-bit, so the UWE collada-plugin doesnt work, thus I'm using OpenCollada plugin for exporting the *.dae.
Could that be the issue?
Thanks for your help.
- Bablo
I'm creating a custom map and wanted to create some custom props for it. I've succesfully followed Brian's video tutorials and created the psd's to dds, but I'm having troubles getting the .model file compiled from collada format.
I have set the source and output folders correctly and I have the *.model_compile file in the same folder as my *.dae file.
Contents of the .model_compile file are:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->geometry "tree01.DAE"<!--QuoteEnd--></div><!--QuoteEEnd-->
And when I launch the builder it reports following:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->1> C:\Users\BABI\custommod\modelssrc\ns_lush\tree01\tree01.model
1> Error: Couldn't load 'C:\Program Files (x86)\Steam\steamapps\common\Natural Selection 2\compilemodel'<!--QuoteEnd--></div><!--QuoteEEnd-->
Now, I've tried pretty much everything I could figure out, but can't get it working. If I remove the .model_compile file contents, the builder will report:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->1> Error: No geometry file was specified<!--QuoteEnd--></div><!--QuoteEEnd-->
So, the CompileModel.exe should be working correctly right?
Only thing that I've done differently is, that I'm using 3ds max 2012 64-bit, so the UWE collada-plugin doesnt work, thus I'm using OpenCollada plugin for exporting the *.dae.
Could that be the issue?
Thanks for your help.
- Bablo
Comments
Brian said something about max 9. So I think that's is the point.
€dit: Already tried max 2010 2011 and 2013 (32 and 64-bit)
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Building...
1> Executing '"C:\Games\Steam\steamapps\common\Natural Selection 2\CompileModel" -dependencies "C:\Users\BABI\customsrc\modelssrc\ns_lush\tree01\tree01.model_compile"'
1> C:\Users\BABI\custommod\modelssrc\ns_lush\tree01\tree01.model
1> Executing '"C:\Games\Steam\steamapps\common\Natural Selection 2\CompileModel" -material_src "C:\Users\BABI\customsrc\" "C:\Users\BABI\customsrc\modelssrc\ns_lush\tree01\tree01.model_compile" "C:\Users\BABI\custommod\modelssrc\ns_lush\tree01\tree01.model"'
1> Error: Couldn't load 'C:\Games\Steam\steamapps\common\Natural Selection 2\CompileModel'<!--QuoteEnd--></div><!--QuoteEEnd-->
What's interesting is, that if I change the output folder by changing the mod project in launch pad to ...\Natural Selection 2\ns2\, I get a different error:
<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Building...
1> Executing '"C:\Games\Steam\steamapps\common\Natural Selection 2\CompileModel" -dependencies "C:\Users\BABI\customsrc\modelssrc\ns_lush\tree01\tree01.model_compile"'
1> C:\Games\Steam\steamapps\common\natural selection 2\ns2\modelssrc\ns_lush\tree01\tree01.model
1> Executing '"C:\Games\Steam\steamapps\common\Natural Selection 2\CompileModel" -material_src "C:\Users\BABI\customsrc\" "C:\Users\BABI\customsrc\modelssrc\ns_lush\tree01\tree01.model_compile" "C:\Games\Steam\steamapps\common\natural selection 2\ns2\modelssrc\ns_lush\tree01\tree01.model"'
1> Error: Couldn't load 'selection'<!--QuoteEnd--></div><!--QuoteEEnd-->
Now that just seems that the output folder does not like spaces in it.
It is becoming so frustrating, I've watched Brian's tutorial videos about five times now, pausing and checking every little detail that might be causing the issue.
I've tried to fiddle with the settings file, but haven't been able to fix this.
Only thing I could do now, is to see the ModelCompile.exe source file for the problem but too bad that is not possible.
Anyone have ANY clue what might fix this? I'm getting so desperate with this.
Tried it, but the same error message appeared.
Thanks for the help anyway.
Is there someone who have succesfully compiled their *.dae to *.model?
try to recreate a mod with different path its work for me...
try to recreate a mod with different path its work for me...<!--QuoteEnd--></div><!--QuoteEEnd-->
I've tried with building to an empty folder and into the ns2 folder, but none of them works.
Gives different errors though, as you can see from my earlier post. :/
EDIT: If someone can build my models from my .dae files, I would be hugely delighted. PM me.