STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
1,387
IN-GAME
8,902
ONLINE
Founded
26 October, 2013
Language
English
Chefpyroe 18 Nov, 2022 @ 9:40pm
bad command {
Hi i need help with my qc, everytime i compile it says "Bad command {"

Heres my qc:

$modelname "simfphys_vehicle1\body.mdl"

$model 1 "Body.smd"

$cdmaterials "simfphys_vehicle1\body\"

$surfaceprop "metal"

$contents "solid"

$sequence "idle" "anims\body_idle.smd"{
fps 1
}
$collisionmodel "Body_phys.smd"
{
$concave
$maxconvexpieces 30
$automass
$inertia 1
$damping 0
$rotdamping 0
}

Thanks in advance
< >
Showing 1-4 of 4 comments
ZeqMacaw 19 Nov, 2022 @ 10:02am 
You probably need a space before the $sequence {. In other words change this line from:
$sequence "idle" "anims\body_idle.smd"{
to:
$sequence "idle" "anims\body_idle.smd" {
Chefpyroe 19 Nov, 2022 @ 3:00pm 
Originally posted by ZeqMacaw:
You probably need a space before the $sequence {. In other words change this line from:
$sequence "idle" "anims\body_idle.smd"{
to:
$sequence "idle" "anims\body_idle.smd" {
Well when i tried that and compiled it, it still gives the same error
HATE AGENT 19 Nov, 2022 @ 3:51pm 
You have it in the wrong place.

$sequence "idle" "anims\body_idle.smd"{ fps 1 }
Should be
$sequence "idle" { "anims\body_idle.smd" fps 1 }
Chefpyroe 19 Nov, 2022 @ 4:27pm 
\Car.qc(13): - bad command {
It still doesnt work but thanks for trying to help
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: 18 Nov, 2022 @ 9:40pm
Posts: 4