expecting number, got "wheel_rl_low" - car compile problem.


 $modelname        "als/fl/beha.mdl"
$cd                "C:\Users\arleitiss\Desktop\123"

//----- Attachments -----

$attachment wheel_fl "als.wheel.fl" 0 0 0
$attachment wheel_fr "als.wheel.fr" 0 0 0
$attachment wheel_rl "als.wheel.rl" 0 0 0
$attachment wheel_rr "als.wheel.rr" 0 0 0
$attachment "vehicle_driver_eyes" "als.eyes" 5.00 0.00 0.00
$attachment exit1 "als.exit" 0 0 8 rigid



//----- Pose Parameters -----

$poseparameter "vehicle_steer" -1 1
$poseparameter "vehicle_wheel_fl_height" 0 1
$poseparameter "vehicle_wheel_fr_height" 0 1
$poseparameter "vehicle_wheel_rl_height" 0 1
$poseparameter "vehicle_wheel_rr_height" 0 1

$poseparameter "vehicle_wheel_fl_spin" -180 180 wrap
$poseparameter "vehicle_wheel_fr_spin" -180 180 wrap
$poseparameter "vehicle_wheel_rl_spin" -180 180 wrap
$poseparameter "vehicle_wheel_rr_spin" -180 180 wrap

// --------- Animation sequences -------

$sequence "idle" "bmw_ref" fps 30 ACT_IDLE 1 //addlayer aim_all
$sequence "turn" "bmw_turn" fps 30
$sequence "suspension" "bmw_height" fps 30
$sequence "spin" "bmw_spin" fps 30


$animation neutral "bmw_ref" frames 0 0


// front steering sequence
$weightlist front_wheels { "als.wheel.fl" 1.0 "als.wheel.fr" 1.0 "als.steering" 1.0 }
$animation turn_left "bmw_turn" frame 0 0 subtract neutral 0 weightlist front_wheels 
$animation turn_right "bmw_turn" frame 2 2 subtract neutral 0 weightlist front_wheels 
$sequence turning { turn_left turn_right blend vehicle_steer -1 1 } weightlist front_wheels delta autoplay

// front right
$weightlist wheel_fr { "als.wheel.axel.fr" 1.0 "als.wheel.fr" 0.0  }
$animation wheel_fr_low "bmw_height" frame 0 0 subtract neutral 0 weightlist wheel_fr 
$animation wheel_fr_high "bmw_height" frame 2 2 subtract neutral 0 weightlist wheel_fr 
$sequence wheel_fr_suspension { wheel_fr_low wheel_fr_high blend  "vehicle_wheel_fr_height" 0 1.0 } weightlist wheel_fr delta autoplay

$weightlist wheel_fr_spin { "als.wheel.fr" 1.0 }
$animation wheel_fr_spin0 "bmw_spin" frame 0 0 subtract neutral 0 weightlist wheel_fr_spin 
$animation wheel_fr_spin120 "bmw_spin" frame 3 3 subtract neutral 0 weightlist wheel_fr_spin
$animation wheel_fr_spin240 "bmw_spin" frame 6 6 subtract neutral 0 weightlist wheel_fr_spin
$sequence wheel_fr_spin { wheel_fr_spin0 wheel_fr_spin120  wheel_fr_spin240 wheel_fr_spin0 blendwidth 4 blend  "vehicle_wheel_fr_spin" -180 180 } weightlist wheel_fr_spin delta  autoplay

// front left
$weightlist wheel_fl { "als.wheel.axel.fl" 1.0 "als.wheel.fl" 0.0 }
$animation wheel_fl_low "bmw_height" frame 0 0 subtract neutral 0 weightlist wheel_fl 
$animation wheel_fl_high "bmw_height" frame 2 2 subtract neutral 0 weightlist wheel_fl 
$sequence wheel_fl_suspension { wheel_fl_low wheel_fl_high blend  "vehicle_wheel_fl_height" 0 1.0 } weightlist wheel_fl delta autoplay

$weightlist wheel_fl_spin { "als.wheel.fl" 1.0 } 
$animation wheel_fl_spin0 "bmw_spin" frame 0 0 subtract neutral 0 weightlist wheel_fl_spin 
$animation wheel_fl_spin120 "bmw_spin" frame 3 3 subtract neutral 0 weightlist wheel_fl_spin 
$animation wheel_fl_spin240 "bmw_spin" frame 6 6 subtract neutral 0 weightlist wheel_fl_spin 
$sequence wheel_fl_spin { wheel_fl_spin0 wheel_fl_spin120  wheel_fl_spin240 wheel_fl_spin0 blendwidth 4 blend  "vehicle_wheel_fl_spin" -180 180 } weightlist wheel_fl_spin delta  autoplay

// rear right
$weightlist wheel_rr { "als.wheel.axel.rr" 1.0 "als.wheel.rr" 0.0 }
$animation wheel_rr_low "bmw_height" frame 0 0 subtract neutral 0 weightlist wheel_rr 
$animation wheel_rr_high "bmw_height" frame 2 2 subtract neutral 0 weightlist wheel_rr 
$sequence wheel_rr_suspension { wheel_rr_low wheel_rr_high blend  "vehicle_wheel_rr_height" 0 1.0 } weightlist wheel_rr delta autoplay

$weightlist wheel_rr_spin { "als.wheel.rr" 1.0 } 
$animation wheel_rr_spin0 "bmw_spin" frame 0 0 subtract neutral 0 weightlist wheel_rr_spin 
$animation wheel_rr_spin120 "bmw_spin" frame 3 3 subtract neutral 0 weightlist wheel_rr_spin 
$animation wheel_rr_spin240 "bmw_spin" frame 6 6 subtract neutral 0 weightlist wheel_rr_spin 
$sequence wheel_rr_spin { wheel_rr_spin0 wheel_rr_spin120  wheel_rr_spin240 wheel_rr_spin0 blendwidth 4 blend  "vehicle_wheel_rr_spin" -180 180 } weightlist wheel_rr_spin delta  autoplay

// rear left
$weightlist wheel_rl { "als.wheel.axel.rl" 1.0 "als.wheel.rl" 0.0}
$animation wheel_rl_low "bmw_height" frame 0 0 subtract neutral 0 weightlist wheel_rl 
$animation wheel_rl_high "bmw_height" frame 2 2 subtract neutral 0 weightlist wheel_rl 
$sequence wheel_rl_suspension { wheel_rl_low wheel_rl_high blend  "vehicle_wheel_rl_height" 0 1.0 } weightlist wheel_rl delta autoplay

$weightlist wheel_rl_spin { "als.wheel.rl" 1.0 }
$animation wheel_rl_spin0 "bmw_spin" frame 0 0 subtract neutral 0 weightlist wheel_rl_spin 
$animation wheel_rl_spin120 "bmw_spin" frame 3 3 subtract neutral 0 weightlist wheel_rl_spin 
$animation wheel_rl_spin240 "bmw_spin" frame 6 6 subtract neutral 0 weightlist wheel_rl_spin 
$sequence wheel_rl_spin { wheel_rl_spin0 wheel_rl_spin120  wheel_rl_spin240 wheel_rl_spin0 blendwidth 4 blend  "vehicle_wheel_rl_spin" -180 180 } weightlist wheel_rl_spin delta  autoplay

//----- Physbox -----

$collisionmodel "bmw_col.smd" {
     // Mass in kilograms
         $Mass 1500
    $concave
}
$texturegroup bmw
{
    { "bmw1"  }
    { "bmw2" }
    { "bmw3"  }
    { "bmw4" }
    { "bmw5"  }
    { "bmw6" }
    { "bmw7" }
}


and it says error:


Created command line: "D:\Program Files (x86)\Steam\steamapps\arleitiss\sourcesdk\bin\orangebox\bin\studiomdl.exe" -game "d:\program files (x86)\steam\steamapps\arleitiss\garrysmod\garrysmod" -nop4 -nox360 C:\Users\arleitiss\Desktop\123\bmw.qc

qdir:    "c:\users\arleitiss\desktop\123\"
gamedir: "d:\program files (x86)\steam\steamapps\arleitiss\garrysmod\garrysmod\"
g_path:  "C:\Users\arleitiss\Desktop\123\bmw.qc"
Building binary model files...
Working on "bmw.qc"
SMD MODEL C:\Users\arleitiss\Desktop\123/bmw_ref.smd
SMD MODEL C:\Users\arleitiss\Desktop\123/bmw_turn.smd
SMD MODEL C:\Users\arleitiss\Desktop\123/bmw_height.smd
SMD MODEL C:\Users\arleitiss\Desktop\123/bmw_spin.smd
ERROR: c:\users\arleitiss\desktop\123\bmw.qc(83): - expecting number, got "wheel_rl_low"
ERROR: Aborted Processing on 'als/fl/beha.mdl'

What’s wrong with it? Or can someone tell me what’s wrong with QC? I just copied it and replaced buggy with custom anims that I made. Not sure if they are right.

Line 82. I believe there should be a space between 0.0 and }. Probably isn’t it though since it would most likely give a error involving $animation.

thanks that worked.