STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
814
IN-GAME
6,333
ONLINE
Founded
October 26, 2013
Language
English
Quote04 Jul 12, 2017 @ 2:11pm
Bad command $
Somebody already made a thread about this but it was ignored so hopefully this one won't.
Im trying to compile a model but everytime I try to compile it it aborts and gives me the error
"bad command $"
< >
Showing 1-7 of 7 comments
jahpeg Jul 12, 2017 @ 2:24pm 
Originally posted by Quote:
Somebody already made a thread about this but it was ignored so hopefully this one won't.
Im trying to compile a model but everytime I try to compile it it aborts and gives me the error
"bad command $"
be useful if you actually posted your .qc
Quote04 Jul 12, 2017 @ 2:28pm 
Originally posted by No.:
Originally posted by Quote:
Somebody already made a thread about this but it was ignored so hopefully this one won't.
Im trying to compile a model but everytime I try to compile it it aborts and gives me the error
"bad command $"
be useful if you actually posted your .qc

Sure thing. Here it is:
$modelname Demon_Crown.mdl
$cdmaterials "models"
$scale 1
$surfaceprop "metal"
$staticprop
$body studio "Demon_crown.smd"
$sequence idle "Demon_crown_idle" fps 1
$collisionmodel "Demon_crown.smd"
{
$automass
$concave
}
ZeqMacaw Jul 12, 2017 @ 3:05pm 
You should also paste the entire compile log because often the context and the exact error message is helpful.

I recently saw someone who solved this problem by making sure the QC file was written as UTF-8 text. One way of making sure is: Open the QC file in Notepad++. Select "Encoding > Encode in UTF-8" from the menu. Save the QC file. Try compiling with the new QC file.
Quote04 Jul 12, 2017 @ 3:16pm 
Originally posted by ZeqMacaw:
You should also paste the entire compile log because often the context and the exact error message is helpful.

I recently saw someone who solved this problem by making sure the QC file was written as UTF-8 text. One way of making sure is: Open the QC file in Notepad++. Select "Encoding > Encode in UTF-8" from the menu. Save the QC file. Try compiling with the new QC file.
Well encoding it to UTF-8 solved my problem. Thank you my good man!
TheLazyDemomann Mar 23, 2024 @ 2:32pm 
Originally posted by ZeqMacaw:
You should also paste the entire compile log because often the context and the exact error message is helpful.

I recently saw someone who solved this problem by making sure the QC file was written as UTF-8 text. One way of making sure is: Open the QC file in Notepad++. Select "Encoding > Encode in UTF-8" from the menu. Save the QC file. Try compiling with the new QC file.
I tried that but it didn't work. I'll show my compile log and QC real quick.
TheLazyDemomann Mar 23, 2024 @ 2:38pm 
Originally posted by Quote04:
Originally posted by ZeqMacaw:
You should also paste the entire compile log because often the context and the exact error message is helpful.

I recently saw someone who solved this problem by making sure the QC file was written as UTF-8 text. One way of making sure is: Open the QC file in Notepad++. Select "Encoding > Encode in UTF-8" from the menu. Save the QC file. Try compiling with the new QC file.
Well encoding it to UTF-8 solved my problem. Thank you my good man!
QC:
$modelname toony afton.mdl
$cdmaterials "models/toondudes/toonyafton"
$scale 1
$surfaceprop metal
$staticprop
$body monitor "Toon_Afton.smd"
$sequence idle "Toon_Afton" fps 1
{
$concave

}
Compile Log:
Compiling with Crowbar 0.74: "C:\temporarily\afton.qc" ...

Compiling "afton.qc" ...
Output from compiler "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\bin\studiomdl.exe":
qdir: "c:\temporarily\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod\"
g_path: "afton.qc"
Building binary model files...
Working on "afton.qc"
ERROR: c:\temporarily\afton.qc(1): - bad command afton.mdl
ERROR: Aborted Processing on 'toony'
... Compiling "afton.qc" finished. Check above for any errors.

... Compiling with Crowbar 0.74: "C:\temporarily\afton.qc" finished.
Originally posted by TheLazyDemomann:
Originally posted by Quote04:
Well encoding it to UTF-8 solved my problem. Thank you my good man!
QC:
$modelname toony afton.mdl
$cdmaterials "models/toondudes/toonyafton"
$scale 1
$surfaceprop metal
$staticprop
$body monitor "Toon_Afton.smd"
$sequence idle "Toon_Afton" fps 1
{
$concave

}
Compile Log:
Compiling with Crowbar 0.74: "C:\temporarily\afton.qc" ...

Compiling "afton.qc" ...
Output from compiler "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\bin\studiomdl.exe":
qdir: "c:\temporarily\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod\"
g_path: "afton.qc"
Building binary model files...
Working on "afton.qc"
ERROR: c:\temporarily\afton.qc(1): - bad command afton.mdl
ERROR: Aborted Processing on 'toony'
... Compiling "afton.qc" finished. Check above for any errors.

... Compiling with Crowbar 0.74: "C:\temporarily\afton.qc" finished.
Same Issue
< >
Showing 1-7 of 7 comments
Per page: 1530 50