P
PudBawl
Guest
I have an entity that has a couple animation sequences. In HLMV I can have it preview the sequences so that it blends smoothly between the idle and walk cycles but can't figure out what to put into my .qc file to get it.
I have looked at the documentation, looked at some sample .qc files and searched the forums but can't find much info on things like "transition" or "blend", any help would be much appriciated.
Here is my working .qc
$modelname walker\walker
$cdmaterials walker\
$scale 5.0
$surfaceprop "metal"
$body walker "walker_ref.smd"
// animation sequences
$sequence idleOFF "walker_seq_idleOFF.smd" loop fps 1
$sequence idleON "walker_seq_idleON.smd" loop fps 1
$sequence walk "walker_seq_walk.smd" loop fps 30
$sequence powerON "walker_seq_powerON.smd" fps 30
// begin L.O.D. models
$lod 40
{
replacemodel "walker_ref.smd" "walker_lod_1.smd"
}
$lod 80
{
replacemodel "walker_ref.smd" "walker_lod_2.smd"
}
$lod 100
{
replacemodel "walker_ref.smd" "walker_lod_3.smd"
}
$lod 120
{
replacemodel "walker_ref.smd" "walker_lod_4.smd"
}
I have looked at the documentation, looked at some sample .qc files and searched the forums but can't find much info on things like "transition" or "blend", any help would be much appriciated.
Here is my working .qc
$modelname walker\walker
$cdmaterials walker\
$scale 5.0
$surfaceprop "metal"
$body walker "walker_ref.smd"
// animation sequences
$sequence idleOFF "walker_seq_idleOFF.smd" loop fps 1
$sequence idleON "walker_seq_idleON.smd" loop fps 1
$sequence walk "walker_seq_walk.smd" loop fps 30
$sequence powerON "walker_seq_powerON.smd" fps 30
// begin L.O.D. models
$lod 40
{
replacemodel "walker_ref.smd" "walker_lod_1.smd"
}
$lod 80
{
replacemodel "walker_ref.smd" "walker_lod_2.smd"
}
$lod 100
{
replacemodel "walker_ref.smd" "walker_lod_3.smd"
}
$lod 120
{
replacemodel "walker_ref.smd" "walker_lod_4.smd"
}