Try deleting those animation lines and putting instead:
"$includemodel" "models/combine_helicopter.mdl"
MDLDecompiler is known to bugger up animations and I think using the decompiled animations is what's affecting your model.
[QUOTE=Snood_1990;20700753]Try deleting those animation lines and putting instead:
"$includemodel" "models/combine_helicopter.mdl"
MDLDecompiler is known to bugger up animations and I think using the decompiled animations is what's affecting your model.[/QUOTE]
How do you mean?
I tried this:
[code]$cd "D:\steam\steamapps\link_master_92\sourcesdk_content\hl2\modelsrc\heli\Output"
$modelname "Combine_Helicopter.mdl"
$model "Body" "Combine_Helicopter_reference.smd"
/*
$lod 35
{
replacemodel "Combine_Helicopter_reference" "lod1_Combine_Helicopter_reference"
}
$lod 45
{
replacemodel "Combine_Helicopter_reference" "lod2_Combine_Helicopter_reference"
}
$lod 55
{
replacemodel "Combine_Helicopter_reference" "lod3_Combine_Helicopter_reference"
}
$lod 80
{
replacemodel "Combine_Helicopter_reference" "lod4_Combine_Helicopter_reference"
}
$lod 100
{
replacemodel "Combine_Helicopter_reference" "lod5_Combine_Helicopter_reference"
}
$shadowlod
{
replacemodel "Combine_Helicopter_reference" "lod6_Combine_Helicopter_reference"
}
*/
$poseparameter weapon_pitch -90.00 20.00
$poseparameter weapon_yaw -40.00 40.00
$poseparameter rudder -45.00 45.00
$cdmaterials "models\Combine_Helicopter\"
$hboxset "default"
$hbox 0 "Chopper.Body" -146.445 -96.091 -83.437 184.742 96.082 78.529
$hbox 0 "Chopper.Rotor_Blur" -285.525 -39.230 -285.605 285.588 0.000 285.505
//$hbox 0 "Chopper.Tail" -7.285 -60.941 -111.015 14.708 6.992 0.000
//$hbox 0 "Chopper.Blade_Tail" 0.000 -31.039 -27.363 2.287 23.443 27.119
$hbox 0 "Chopper.Gun_Pivot" -19.220 -22.619 -4.476 0.642 1.986 10.267
$hbox 0 "Chopper.Gun" -11.131 -7.385 -9.606 72.975 9.210 7.754
//$hbox 0 "Chopper.Deploy_Mech_Forward" -23.722 -17.768 -0.778 23.599 4.065 18.640
//$hbox 0 "Chopper.Deploy_Mech_Back" -25.028 -15.410 -17.340 24.685 8.934 7.575
// Model uses material "combine_helicopter01.vmt"
// Model uses material "combine_helicopter02.vmt"
// Model uses material "combine_helicopter_new_bladeblur.vmt"
$attachment "Gun" "Chopper.Gun" -0.00 0.00 -0.00 rotate -0.00 0.00 0.00
$attachment "Muzzle" "Chopper.Gun" 73.92 -0.00 0.00 rotate -0.00 -0.00 -0.00
$attachment "Bomb" "Chopper.Body" -63.11 0.00 -21.01 rotate 0.00 90.00 90.00
$attachment "Damage0" "Chopper.Body" 16.00 80.00 -44.00 rotate 0.00 0.00 0.00
$attachment "Damage1" "Chopper.Body" -38.10 0.00 -37.30 rotate 0.00 90.00 90.00
//$attachment "Damage2" "Chopper.Tail" -0.00 -0.00 -64.00 rotate -0.00 0.00 0.00
$attachment "Damage3" "Chopper.Body" 16.00 -80.00 -44.00 rotate 0.00 0.00 0.00
$attachment "Damage4" "Chopper.Body" -6.40 22.40 -3.20 rotate 0.00 0.00 0.00
$attachment "Light_Red0" "Chopper.Body" -12.00 93.00 -55.00 rotate 0.00 0.00 0.00
$attachment "Light_Red1" "Chopper.Body" -12.00 -93.00 -55.00 rotate 0.00 0.00 0.00
//$attachment "Light_Red2" "Chopper.Tail" 3.00 -8.00 -105.00 rotate -0.00 0.00 0.00
$attachment "Spotlight" "Chopper.Gun" 10.00 -3.00 -7.00 rotate -0.00 0.00 0.00
$surfaceprop "metal"
$illumposition 15.529 -0.032 45.413
$sequence idle "idle" loop ACT_IDLE 1 fps 100.00
$sequence deploy "deploy" ACT_HELICOPTER_DROP_BOMB 1 fps 30.00
$animation mdldecompiler_delta.smd "mdldecompiler_delta.smd" fps 30
/*
$animation aim_up "aim_up" fps 30.000000 subtract mdldecompiler_delta.smd 0
$animation aim_down "aim_down" fps 30.000000 subtract mdldecompiler_delta.smd 0
$sequence weapon_pitch "aim_up" fps 30.00 {
blendwidth 2
blend weapon_pitch -90.000000 20.000000
delta
autoplay
aim_down
}
$animation aim_right "aim_right" fps 30.000000 subtract mdldecompiler_delta.smd 0
$animation aim_left "aim_left" fps 30.000000 subtract mdldecompiler_delta.smd 0
$sequence weapon_yaw "aim_right" fps 30.00 {
blendwidth 2
blend weapon_yaw -40.000000 40.000000
delta
autoplay
aim_left
}
*/
"$includemodel" "models/combine_helicopter.mdl"
$animation rudder_right "rudder_right" fps 30.000000 subtract mdldecompiler_delta.smd 0
$animation rudder_left "rudder_left" fps 30.000000 subtract mdldecompiler_delta.smd 0
$sequence rudder "rudder_right" fps 30.00 {
blendwidth 2
blend rudder -45.000000 45.000000
delta
autoplay
rudder_left
}
$sequence tailspin_loop "tailspin_loop" loop ACT_HELICOPTER_CRASHING 1 fps 30.00
$collisionmodel "phymodel.smd" {
$concave
$mass 2400.0
$inertia 1.00
$damping 0.00
$rotdamping 0.00
}
[/code]
but that didn't work out. Also the tailspin animation is all fucked up. Maybe I could decompile the Hl2 one and use those animations?
[editline]04:08PM[/editline]
God damn it, this just won't work! Is there anyway of fixing Mdl decompiler so that it decompiles the animations intact?
[editline]04:11PM[/editline]
Oh, never mind. Got it working by using the aim_down, aim_up, aim_left and aim_right sequences from Hl2 instead. Mdl decompiler still breaks shit, though.
Sorry for not being a help, but if its fixed can you release it?
Sorry, you need to Log In to post a reply to this thread.