• Compiler not recognizing bodygroup.
    3 replies, posted
So currently I'm trying to work on a model hack and and whenever I try to compile the qc, the compiler won't recognize one of the bodygroups. When I remove the bodygroup, the compiler then doesn't recognize the material path for some odd reason. So any ideas on fixing this? QC: [code]$cd "C:\Users\David\Desktop\WiP\Imperial Guard" $modelname "bloocobalt\dow\jacknife.mdl" $model "guardsman" "reference.smd" $model "head" "male_09_reference.smd" { $include "standardflex_xsi_09.qci" $bodygroup "equipment" { studio "equipment_common_a.smd" studio "equipment_common_b.smd" studio "equipment_common_c.smd" studio "equipment_common_d.smd" studio "equipment_rare_a.smd" studio "equipment_rare_b.smd" studio "equipment_rare_c.smd" studio "equipment_rare_d.smd" studio "equipment_epic_a.smd" studio "equipment_epic_b.smd" blank } $bodygroup "helmet" { studio "helmet_1.smd" studio "helmet_1_goggles.smd" studio "helmet_2.smd" studio "helmet_2_goggles.smd" studio "helmet_epic.smd" studio "helmet_sota.smd" blank } $bodygroup "head_goggles" { blank studio "head_goggles_down.smd" studio "head_goggles_up.smd" } $bodygroup "head_gasmask" { blank studio "head_gasmask.smd" studio "head_gasmask_down.smd" } $bodygroup "backpack" { blank studio "equipment_epic_pack.smd } $bodygroup "holster" { blank studio "equipment_holster.smd" } $cdmaterials "models\bloocobalt\dow\jacknife\" $cdmaterials "models\bloocobalt\dow\jacknife\facemaps\" $texturegroup skinfamilies { {"guardig_armour_a_dif"} {"guardig_armour_b_dif"} {"guardig_armour_c_dif"} {"guardig_armour_d_dif"} {"guardig_armour_e_dif"} {"guardig_armour_f_dif"} {"guardig_armour_j_dif"} } $hboxset "default" $hbox 1 "ValveBiped.Bip01_Head1" -1.250 -6.500 -3.190 8.250 3.500 3.310 $hbox 4 "ValveBiped.Bip01_L_UpperArm" 0.000 -2.750 -2.750 12.510 1.750 2.250 $hbox 4 "ValveBiped.Bip01_L_Forearm" 0.000 -2.190 -2.380 13.000 1.810 1.620 $hbox 4 "ValveBiped.Bip01_L_Hand" 0.060 -2.000 -1.500 4.060 1.000 2.500 $hbox 5 "ValveBiped.Bip01_R_UpperArm" 0.000 -3.000 -2.250 12.390 2.000 2.750 $hbox 5 "ValveBiped.Bip01_R_Forearm" -0.500 -2.200 -1.550 12.500 1.800 2.450 $hbox 5 "ValveBiped.Bip01_R_Hand" 0.060 -2.000 -2.500 4.060 1.000 1.500 $hbox 6 "ValveBiped.Bip01_L_Thigh" 0.000 -3.750 -3.250 17.850 3.750 3.250 $hbox 6 "ValveBiped.Bip01_L_Calf" 0.000 -3.510 -3.280 15.640 3.490 2.720 $hbox 6 "ValveBiped.Bip01_L_Foot" -1.070 -2.000 -2.840 5.040 5.000 2.160 $hbox 7 "ValveBiped.Bip01_R_Thigh" 0.000 -3.750 -3.250 17.850 3.750 3.250 $hbox 7 "ValveBiped.Bip01_R_Calf" 0.000 -3.510 -2.820 15.640 3.490 3.180 $hbox 7 "ValveBiped.Bip01_R_Foot" -1.060 -2.010 -2.280 5.050 4.990 2.720 $hbox 3 "ValveBiped.Bip01_Pelvis" -7.500 -5.500 -6.000 7.500 8.500 5.000 $hbox 2 "ValveBiped.Bip01_Spine2" -2.500 -2.500 -7.000 14.500 7.500 7.000 // Model uses material "arms.vmt" // Model uses material "guardig_armour_a_dif.vmt" // Model uses material "ig_trooper_a_dif.vmt" // Model uses material "ig_trooper_b_dif.vmt" // Model uses material "ig_trooper_c_dif.vmt" // Model uses material "bayonet.vmt" // Model uses material "ig_trooper_common_a_dif.vmt" // Model uses material "guardig_armour_b_dif.vmt" // Model uses material "ig_trooper_common_b_dif.vmt" // Model uses material "guardig_armour_c_dif.vmt" // Model uses material "ig_trooper_common_c_dif.vmt" // Model uses material "guardig_armour_d_dif.vmt" // Model uses material "ig_trooper_common_d_dif.vmt" // Model uses material "guardig_armour_e_dif.vmt" // Model uses material "ig_trooper_common_e_dif.vmt" // Model uses material "guardig_armour_f_dif.vmt" // Model uses material "guardig_armour_j_dif.vmt" // Model uses material "ig_trooper_common_f_dif.vmt" // Model uses material "erdim_facemap.vmt" // Model uses material "eyeball_l.vmt" // Model uses material "eyeball_r.vmt" // Model uses material "head.vmt" $attachment "eyes" "ValveBiped.Bip01_Head1" 3.98 -3.72 0.03 rotate -0.00 -80.10 -90.00 $attachment "mouth" "ValveBiped.Bip01_Head1" 1.20 -5.70 0.00 rotate -0.00 -80.00 -90.00 $attachment "chest" "ValveBiped.Bip01_Spine2" 5.00 4.00 0.00 rotate 0.00 90.00 90.00 $attachment "forward" "ValveBiped.forward" 0.00 -0.00 -0.00 rotate 0.00 0.00 0.00 $attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00 $attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00 $attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" 0.00 0.00 0.00 rotate -90.00 -90.00 0.00 $includemodel "humans/male_shared.mdl" $includemodel "humans/male_ss.mdl" $includemodel "humans/male_gestures.mdl" $includemodel "humans/male_postures.mdl" $surfaceprop "flesh" $eyeposition -0.000 0.000 70.000 $illumposition -0.000 0.637 36.217 $sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00 $ikchain rhand ValveBiped.Bip01_R_Hand knee 0.707 0.707 0.000 $ikchain lhand ValveBiped.Bip01_L_Hand knee 0.707 0.707 0.000 $ikchain rfoot ValveBiped.Bip01_R_Foot knee 0.707 -0.707 0.000 $ikchain lfoot ValveBiped.Bip01_L_Foot knee 0.707 -0.707 0.000 $collisionjoints "phymodel.smd" { $mass 90.0 $inertia 10.00 $damping 0.01 $rotdamping 1.50 $rootbone "valvebiped.bip01_pelvis" $jointconstrain "valvebiped.bip01_l_thigh" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" y limit -55.00 90.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" z limit -70.00 120.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" y limit -12.00 12.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" z limit -12.00 145.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" y limit -90.00 55.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" z limit -70.00 125.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" y limit -12.00 12.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" z limit -12.00 145.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" y limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" z limit -55.00 35.00 0.00 $jointconstrain "valvebiped.bip01_spine2" x limit -70.00 70.00 0.00 $jointconstrain "valvebiped.bip01_spine2" y limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_spine2" z limit -65.00 95.00 0.00 $jointconstrain "valvebiped.bip01_l_clavicle" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_clavicle" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_clavicle" z limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" y limit -115.00 150.00 0.00 $jointconstrain "valvebiped.bip01_l_upperarm" z limit -135.00 135.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" y limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" z limit -140.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_clavicle" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_clavicle" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_clavicle" z limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" y limit -150.00 115.00 0.00 $jointconstrain "valvebiped.bip01_r_upperarm" z limit -135.00 135.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" y limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" z limit -140.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" x limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" y limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" z limit -70.00 70.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" x limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" y limit -60.00 60.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" z limit -70.00 70.00 0.00 $jointconstrain "valvebiped.bip01_head1" x limit -70.00 70.00 0.00 $jointconstrain "valvebiped.bip01_head1" y limit -25.00 25.00 0.00 $jointconstrain "valvebiped.bip01_head1" z limit -65.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" y limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" z limit -55.00 35.00 0.00 } $jointmassbias "valvebiped.bip01_l_forearm" 4.00 $jointrotdamping "valvebiped.bip01_l_forearm" 4.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit -60.00 25.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" y limit -20.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" z limit -150.00 20.00 0.00 $jointrotdamping "valvebiped.bip01_l_hand" 1.00 $jointconstrain "valvebiped.bip01_l_hand" x limit -120.00 120.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" y limit -80.00 80.00 0.00 $jointconstrain "valvebiped.bip01_l_hand" z limit -80.00 80.00 0.00 $jointmassbias "valvebiped.bip01_r_forearm" 4.00 $jointrotdamping "valvebiped.bip01_r_forearm" 4.00 $jointconstrain "valvebiped.bip01_r_forearm" x limit -60.00 25.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" y limit -20.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_forearm" z limit -150.00 0.00 0.00 $jointrotdamping "valvebiped.bip01_r_hand" 1.00 $jointconstrain "valvebiped.bip01_r_hand" x limit -120.00 120.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" y limit -80.00 80.00 0.00 $jointconstrain "valvebiped.bip01_r_hand" z limit -80.00 80.00 0.00 $jointmassbias "valvebiped.bip01_head1" 4.00 $jointrotdamping "valvebiped.bip01_head1" 3.00 $jointconstrain "valvebiped.bip01_head1" x limit -50.00 50.00 0.00 $jointconstrain "valvebiped.bip01_head1" y limit -20.00 20.00 0.00 $jointconstrain "valvebiped.bip01_head1" z limit -26.00 50.00 0.00 $jointmassbias "valvebiped.bip01_r_thigh" 7.00 $jointrotdamping "valvebiped.bip01_r_thigh" 7.00 $jointconstrain "valvebiped.bip01_r_thigh" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" y limit -10.00 55.00 0.00 $jointconstrain "valvebiped.bip01_r_thigh" z limit -145.00 25.00 0.00 $jointmassbias "valvebiped.bip01_r_calf" 4.00 $jointconstrain "valvebiped.bip01_r_calf" x limit -10.00 25.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" y limit -5.00 5.00 0.00 $jointconstrain "valvebiped.bip01_r_calf" z limit -10.00 142.00 0.00 $jointmassbias "valvebiped.bip01_r_foot" 4.00 $jointconstrain "valvebiped.bip01_r_foot" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" y limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" z limit -50.00 70.00 0.00 $jointmassbias "valvebiped.bip01_l_thigh" 7.00 $jointrotdamping "valvebiped.bip01_l_thigh" 7.00 $jointconstrain "valvebiped.bip01_l_thigh" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" y limit -10.00 55.00 0.00 $jointconstrain "valvebiped.bip01_l_thigh" z limit -140.00 25.00 0.00 $jointmassbias "valvebiped.bip01_l_calf" 4.00 $jointconstrain "valvebiped.bip01_l_calf" x limit -10.00 25.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" y limit -5.00 5.00 0.00 $jointconstrain "valvebiped.bip01_l_calf" z limit -10.00 142.00 0.00 $jointmassbias "valvebiped.bip01_l_foot" 4.00 $jointconstrain "valvebiped.bip01_l_foot" x limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" y limit -30.00 30.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" z limit -50.00 70.00 0.00 $jointmassbias "valvebiped.f_gear" 9.00 $jointconstrain "valvebiped.f_gear" x limit -10.00 10.00 0.00 $jointconstrain "valvebiped.f_gear" y limit -10.00 10.00 0.00 $jointconstrain "valvebiped.f_gear" z limit -96.00 0.00 0.00 } [/code]
First of all, I notice a missing quotation mark here: [code]$bodygroup "backpack" { blank studio "equipment_epic_pack.smd }[/code] Should be another " after the .smd. Also... [code] $jointconstrain "valvebiped.bip01_l_foot" x limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" y limit -40.00 40.00 0.00 $jointconstrain "valvebiped.bip01_l_foot" z limit -55.00 35.00 0.00 }[/code] Having the } underneath there as well as under the f_gear segment might cut off the physics model early. That should be fixed, too.
Well I fixed both of them, now the compiler is saying there's no sequences.
does the included QCI have a correct closing bracket? Also your texturegroups won't probably work, since you need to add a space between the brackets and " Just for fun try [code] $cd "C:\Users\David\Desktop\WiP\Imperial Guard" $modelname "bloocobalt\dow\jacknife.mdl" $model "guardsman" "reference.smd" { } $model "head" "male_09_reference.smd" { } //$include "standardflex_xsi_09.qci" $bodygroup "equipment" ... [/code] and see if it compiles fine
Sorry, you need to Log In to post a reply to this thread.