Crowbar doesn't compile my model due to "missing sequence" even though it's included

I don’t even know whats causing it not to compile my model, and before that everything worked fine


$modelname "cardboardman2/cardboardman.mdl"

$model cardboard "cardboard.smd"
$model cardboardman "cardboardman.smd"
$model cardboardman_eye_L "cardboardman_eyeball_L.smd"
$model cardboardman_eye_R "cardboardman_eyeball_R.smd"
$model cardboardman_swimming_pants "cardboardman_swimming_pants.smd"
$sequence idle "cardboardman.smd"
//RAGDOLLS
$keyvalues
{
"prop_data"
{
"base" "flesh.small"
}
}

// Jiggleboned cardboard - TODO
$jigglebone "cardboard" {
	is_flexible {
		yaw_stiffness 1
		angle_constraint 5	
	}
}
// Material
$cdmaterials "models/cardboardman2/"

//Including important stuff.
$includemodel "humans/male_ss.mdl"
$includemodel "humans/male_shared.mdl"

$includemodel "player/male_anims.mdl"
$includemodel "player/player_animations.mdl"

// IKChains
$ikchain "rhand" "ValveBiped.Bip01_R_Hand" knee 0.707 0.707 0
$ikchain "lhand" "ValveBiped.Bip01_L_Hand" knee 0.707 0.707 0
$ikchain "rfoot" "ValveBiped.Bip01_R_Foot" knee 0.707 -0.707 0
$ikchain "lfoot" "ValveBiped.Bip01_L_Foot" knee 0.707 -0.707 0

// Attachments
$attachment "eyes" "ValveBiped.Bip01_Head1" 3.43 -3.51 0.05 rotate 0 -80.1 -90
$attachment "mouth" "ValveBiped.Bip01_Head1" 0.8 -5.5 0.1 rotate 0 -80 -90
$attachment "chest" "ValveBiped.Bip01_Spine2" 5 4 0 rotate 0 90 90

$collisionjoints "ragdoll.SMD" {

	$mass 90.0
	$inertia 10.00
	$damping 0.01
	$rotdamping 1.50
//root bone
	$rootbone "valvebiped.bip01_pelvis"
	$jointmerge "ValveBiped.Bip01_Pelvis" "ValveBiped.Bip01_Spine1"

//ragdoll rotation constraints.
	$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_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_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_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 -110.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_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_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 -110.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_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

	$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_l_toe0" x limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_l_toe0" y limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_l_toe0" z limit -46.00 46.00 0.00
	
	$jointconstrain "valvebiped.bip01_r_toe0" x limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_r_toe0" y limit 0.00 0.00 0.00
	$jointconstrain "valvebiped.bip01_r_toe0" z limit -46.00 46.00 0.00
	$animatedfriction 1.000 400.000 0.500 0.300 0.000
}

Try adding “ACT_IDLE 1 fps 30.00” to the end of your $sequence line.

still doesn’t work

I always using this line:
$sequence ragdoll “ragdoll/ragdoll” ACT_DIERAGDOLL 1 fps 30.00,
so in your QC, try to put this:

$sequence ragdoll “cardboardman” ACT_DIERAGDOLL 1 fps 30.00

There’s really nothing wrong with the current $sequence command. What exactly does the compiler say?

Yeah, post here the compiler log, might give us a hint on what’s going wrong.


// Created by Crowbar 0.24.0.0

Compiling...

WARNING: AppFramework : Unable to load module p4lib.dll!
qdir:    "f:\sourceenginestuff\cardboardman2.0\"
gamedir: "D:\steam\SteamApps\common\Half-Life 2\ep2\"
g_path:  "cardboardman2.qc"
Building binary model files...
Working on "cardboardman2.qc"
ERROR: model has no sequences
ERROR: Aborted Processing on 'rudismodels\cardboardman2\cardboardman.mdl'

...Compiling finished. Check above for any errors.

this has to be the most bizzare thing crowbar ever gave me

Huh. Even if you didn’t have a $sequence it still shouldn’t say that since you have $includemodel.
It could be because you didn’t close a quotation mark or bracket somewhere, but those all seem correct.

Very strange.

Ok. So i have updated my crowbar from 0.24 to 0.34, and the model has been succesfully compiled. I still don’t know the cause or reason behind my model not compiling on my pc (I asked if my friend to compile the same model on his pc, he could even if he had identical 0.24 version). I guess we can lock this thread or something.

could have been location of $sequence. I usually put it after $cdmaterials.