.QC Help

Problem:
“ERROR: ‘EXCEPTION_ACCESS_VIOLATION’ (assert: 1)”

Compiler Log:


qdir:    "c:\users\chamka\documents\123\mario\wip\"
gamedir: "C:\Games\Steam\SteamApps\common\GarrysMod\garrysmod\"
g_path:  "C:\Users\Chamka\Documents\123\mario\wip\mariob.qc"
Building binary model files...
Working on "mariob.qc"
SMD MODEL plushtrap_eyes.smd
SMD MODEL plushtrap_ears.smd
SMD MODEL plushtrap_head.smd
SMD MODEL plushtrap_nose.smd
SMD MODEL plushtrap_teeth.smd
SMD MODEL plushtrap_endo_mounth.smd
SMD MODEL plushtrap_mounth_inner.smd
SMD MODEL plushtrap_jaw.smd
SMD MODEL plushtrap_body.smd
SMD MODEL plushtrap_arms.smd
SMD MODEL plushtrap_arm_endo.smd
SMD MODEL plushtrap_spine_endo.smd
SMD MODEL plushtrap_pelvis.smd
SMD MODEL plushtrap_legs.smd
SMD MODEL plushtrap_endo_knee.smd
SMD MODEL plushtrap_eyelids.smd
VTA MODEL mariob.vta
SMD MODEL mariob_anims\a_proportions.smd
SMD MODEL mariob_anims\reference.smd
SMD MODEL mariob_anims\ragdoll.smd
SMD MODEL mariob_physics.smd
ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
ERROR: Aborted Processing on 'spygineer\fnaf4\plushtrap.mdl'


.qc:



$ModelName "spygineer\fnaf4\plushtrap.mdl"

$BodyGroup "eyes"
{
	studio "plushtrap_eyes.smd"
	blank
}
$BodyGroup "Ears"
{
	studio "plushtrap_ears.smd"
	blank
}
$BodyGroup "Head"
{
	studio "plushtrap_head.smd"
	blank
}
$BodyGroup "Nose"
{
	studio "plushtrap_nose.smd"
	blank
}
$BodyGroup "Teeth"
{
	studio "plushtrap_teeth.smd"
	blank
}
$BodyGroup "Endoskeleton Mounth"
{
	studio "plushtrap_endo_mounth.smd"
	blank
}
$BodyGroup "Inner Mounth"
{
	studio "plushtrap_mounth_inner.smd"
	blank
}
$BodyGroup "Jaw"
{
	studio "plushtrap_jaw.smd"
	blank
}
$BodyGroup "Body"
{
	studio "plushtrap_body.smd"
	blank
}
$BodyGroup "Arms"
{
	studio "plushtrap_arms.smd"
	blank
}
$BodyGroup "Endoskeleton Arms"
{
	studio "plushtrap_arm_endo.smd"
	blank
}
$BodyGroup "Endoskeleton Spine + pelvis"
{
	studio "plushtrap_spine_endo.smd"
	blank
}
$BodyGroup "Pelvis"
{
	studio "plushtrap_pelvis.smd"
	blank
}
$BodyGroup "Legs"
{
	studio "plushtrap_legs.smd"
	blank
}
$BodyGroup "Endoskeleton Knees"
{
	studio "plushtrap_endo_knee.smd"
	blank
}
$BodyGroup "Eye lids"
{
	studio "plushtrap_eyelids.smd"
	blank
}

$Include "plushtrap_lod.qci"
$Include "mariob_flex.qci"
$SurfaceProp "metal"

$Contents "solid"

// Only set this if you know what it does, and need it for special circumstances, such as with gibs.
// $IllumPosition -0.043 -0.144 34.73

$EyePosition 0 0 73

$MaxEyeDeflection 90

$CDMaterials "models\Spygineer\fnaf4\plushtrap\"

// This list shows the VMT files used in the SMD files.
// "pants.vmt"
// "buttons.vmt"
// "face.vmt"
// "shader.vmt"
// "l_white.vmt"
// "upperlid.vmt"
// "r_white.vmt"

$Attachment "eyes" "ValveBiped.Bip01_Neck1" 0.033 0.433 27.124 rotate -80 -90 0
$Attachment "forward" "ValveBiped.forward" 0 0 0 rotate 0 -76 -90
$Attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" 0 0 0 rotate 0 0 0
$Attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0 0 0 rotate 0 0 0
$Attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" 0 0 0 rotate -90 -90 0

// $Include "mariob_box.qci"

// $Include "mariob_bone.qci"

$Include "mariob_animation.qci"

$Include "mariob_collision.qci"


Can someone point me what im doing wrong? Also can you guys check if I did any other thing wrong?

Thanks :slight_smile:

[editline]4th August 2015[/editline]

Maybe I did mario_flex.qci incorrect? :frowning:


$model Conan "plushtrap_arm_endo.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_arms.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_body.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_ears.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_endo_knee.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_endo_mounth.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_eyelids.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_eyes.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_head.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_jaw.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_legs.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_mounth_inner.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_nose.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_pelvis.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_spine_endo.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}

$model Conan "plushtrap_teeth.smd" {

   flexfile "mariob.vta" 
	{
		defaultflex frame 0
	}
}