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
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
}
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.
$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.