Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
So let's say I have a head.dmx for the head, a body.dmx for the torso, a hat.dmx for a misc hat item and i want to combine them all in to 1 compiled model.
My QC would look like this:
//............ Start QC1 ............
$modelname [path\modelname].mdl
$modtlyopaque
$body "head" "head.dmx"
$body "body" "body.dmx"
$body "hat" "hat.dmx"
$cdmaterials [path\to\materials\folder]
$sequence "idle" "body.dmx" fps 1
//............ end QC1 ............
And the Compiled model would spawn in SFM with the hat, head and body.
Now let's say I had two different heads and hats I wanted to switch between as bodygroups and I wanted to be able to hide the hat as well, then my QC would look like this:
//............ Start QC2 ............
$modelname [path\modelname].mdl
$modtlyopaque
$bodygroup "head" {
studio "head1.dmx"
studio head2.dmx
}
$body "body" "body.dmx"
$bodygroup "hat" {
studio "hat1.dmx"
studio "hat2.dmx"
blank
}
$cdmaterials [path\to\materials\folder]
$sequence "idle" "body.dmx" fps 1
//............ end QC2 ............
If I compile QC2, the model would spawn with head1, torso and hat1.
I would use the bodygroup function in SFM to switch between head1 and head2 and the hat1, hat2 and NONE (which would hide the hat).
And that's how you piece together multiple SMD/DMX exports to build a model.
when i try to do it in crowbar with the command $modtlyopaque i get errors and it doesnt if i take it out it goes to 8 and not the rest and gives me another error
Compiling with Crowbar 0.71: "C:\Users\thomas\Desktop\blendertosfmexport" (folder + subfolders) ...
Compiling "blackbonnie.qc" ...
Output from compiler "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\bin\studiomdl.exe":
qdir: "c:\users\thomas\desktop\blendertosfmexport\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod\"
g_path: "blackbonnie.qc"
Building binary model files...
Working on "blackbonnie.qc"
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_1.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_2.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_0.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_3.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_4.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_5.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_6.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_7.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_8.dmx
ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
ERROR: Aborted Processing on '[blackbonnie].mdl'
... Compiling "blackbonnie.qc" finished. Check above for any errors.
the newest one
the old one
Compiling "blackbonnie.qc" ...
Output from compiler "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\bin\studiomdl.exe":
qdir: "c:\users\thomas\desktop\blendertosfmexport\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod\"
g_path: "blackbonnie.qc"
Building binary model files...
Working on "blackbonnie.qc"
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_1.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_2.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_0.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_3.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_4.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_5.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_6.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_7.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_8.dmx
ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
ERROR: Aborted Processing on '[blackbonnie].mdl'
... Compiling "blackbonnie.qc" finished. Check above for any errors.
is there a fix ?
$maxverts 65530
under the $modelname command try your compile again.
Building binary model files...
Working on "blackbonnie10.qc"
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_1.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_2.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_0.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_3.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_4.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_5.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_6.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_7.dmx
DMX Model c:\users\thomas\desktop\blendertosfmexport\mesh_8.dmx
ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
ERROR: Aborted Processing on '[blackbonnie].mdl'
... Compiling "blackbonnie10.qc" finished. Check above for any errors.
... Compiling with Crowbar 0.71: "C:\Users\thomas\Desktop\blendertosfmexport" (folder + subfolders) finished.
working now i now need to find out another way to make it better tho cause one file i got off google isnt showing in sfm but thanks for your help!!
how to chop and combine them