Problem comiling a model

Inflame007

Newbie
Joined
Feb 8, 2005
Messages
172
Reaction score
0
ok I have a starnge compiling problem.....
I replaced the hl2 shotgun with my own model but I have a some sort of a strange problem compiling it:
http://img218.exs.cx/img218/7382/compilinglog5rp.png
and here is the qc file:
$cd "D:\Program Files\Steam\SteamApps\username\half-life 2\hl2\models\weapons\V_shotgun"
$modelname "v_shotgun/v_shotgun.mdl"
$model "studio" "Shotgun_reference.smd"
$cdmaterials "models\Weapons\V_hand\"
$cdmaterials "models\Weapons\V_shotgun\"
$cdmaterials "models\weapons\shell\"
// Model uses material "foregrip.vmt"
// Model uses material "main.vmt"
// Model uses material "nearpc.vmt"
// Model uses matirial "tritium.vmt"
// Model uses material "casing01.vmt"
// Model uses material "v_hand_sheet.vmt"
$attachment "muzzle" "ValveBiped.Gun" -0.03 0.51 23.45 rotate -90.00 0.00 0.00
$attachment "1" "ValveBiped.Gun" -0.95 1.14 -5.59 rotate -0.00 180.00 -180.00
$surfaceprop "default"
$illumposition 28.541 -4.919 -16.577
$sequence idle01 "idle01" loop ACT_VM_IDLE 1 fps 30.00 node 0 rotate -90
$sequence fire01 "fire01" ACT_VM_PRIMARYATTACK 1 fps 30.00 node 2 rotate -90 {
{ event AE_MUZZLEFLASH 0 "SHOTGUN MUZZLE" }
}

$sequence altfire "altfire" ACT_VM_SECONDARYATTACK 1 fps 30.00 node 2 rotate -90 {
{ event AE_MUZZLEFLASH 0 "SHOTGUN MUZZLE" }
}

$sequence draw "draw" ACT_VM_DRAW 1 fps 30.00 node 0 rotate -90
$sequence holster "holster" ACT_VM_HOLSTER 1 fps 30.00 node 0 rotate -90
$sequence reload1 "reload1" ACT_SHOTGUN_RELOAD_START 1 fps 30.00 node 0 rotate -90
$sequence reload2 "reload2" ACT_VM_RELOAD 1 fps 30.00 node 0 rotate -90
$sequence reload3 "reload3" ACT_SHOTGUN_RELOAD_FINISH 1 fps 30.00 node 0 rotate -90
$sequence pump "pump" ACT_SHOTGUN_PUMP 1 fps 30.00 node 0 rotate -90 {
{ event 6001 5 "2" }
}

$sequence dryfire "dryfire" ACT_VM_DRYFIRE 1 fps 30.00 node 2 rotate -90
$sequence lowered "lowered" loop ACT_VM_IDLE_LOWERED 1 fps 30.00 node 1 rotate -90
$sequence lowered_to_idle "lowered_to_idle" ACT_VM_LOWERED_TO_IDLE 1 fps 30.00 transition 1 0 rotate -90
$sequence idle_to_lowered "idle_to_lowered" ACT_VM_IDLE_TO_LOWERED 1 fps 30.00 transition 0 1 rotate -90
$sequence fire "fire" ACT_RANGE_ATTACK_SHOTGUN 1 fps 5.00 rotate -90 {
{ event AE_MUZZLEFLASH 0 "SHOTGUN MUZZLE" }
{ event 6001 0 "3" }
{ event 3004 0 }
}

and here is the matirial dir:
D:\Program Files\Steam\SteamApps\username\half-life 2\hl2\materials\models\weapons\V_shotgun
I cant understand what am I doing wrong
 
By the looks of it, it's complaining that your animation SMDs are actually reference SMDs
 
Describe, step by step, what you did to replace the shotgun model with your own.
 
there are 3 different types of SMD files: reference SMDs, physics(or collision) SMDs, and animation(or sequence) SMDs.

he means that it thinks that your animation SMD files are infact reference SMD files.
 
Ok I followed the hl2world CSS weapon replacment toturial
I decompiled the shotgun
then I imported it to 3dSmax
I opend my model at the same time and attached my models bones to the shotguns bones.
I saved it back to the reference
then I opened the qc file and thats it.......
edit: if you want I can upload the files so you can download it and see whats wrong
 
please explain wat error you are actually getting.
and the link at the top of the page doesnt work for me
 
I am using firefox so to amke it work copy it to the address bar.
I am not shure what is the problem, I think it is some thing in the qc but I cant undarstand what
 
Back
Top