Raised This Month: $115 Target: $400
 28% 

[Modelling] Simple yet too cimplicated task to do.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GasmoN
Member
Join Date: Jul 2014
Old 08-29-2019 , 15:22   [Modelling] Simple yet too cimplicated task to do.
Reply With Quote #1

Hello,
I have tried to reduce size of this model by replacing all weapon's (except knife and grenade) sequences with one called: I am just stupid placeholder (something like that) but when I load the model in game, and kill player with that model, he just float instead to play dead animation. (I didn't touched dead animations in .qc file, they are just like there where before I started replacing weapon's sequences)
Also, When I shoot players in the head, they don't do any animation for that (Like to move head back a little, etc.) This all happend when I replaced those sequences.
So, if anyone can tell me what I can do I would appriciate it.

This is how I replaced those lines:

PHP Code:
/*
==============================================================================

QC script generated by Half-Life MDL Decompiler 1.2 
2003, Kratisto. Based on code from Valve's HL SDK.

PReDaLioN-LavVva.mdl

Original internal name:
"C:\ContraPrezente\Fallen Angel\PReDaLioN\PReDaLioN.mdl"

==============================================================================
*/

$modelname "PReDaLioN-LavVva.mdl"
$cd ".\"
$cdtexture ".\"
$scale 1.0
$cliptotextures


$bbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$cbox 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000
$eyeposition 0.000000 0.000000 0.000000


//reference mesh(es)
$body "studio" "spawnleet"

$bodygroup "backpack"
{
blank
studio "
spawnbomb"
}


// 2 attachment(s)
$attachment 0 "Bip01 R Hand" 10.855000 -0.416715 1.870680
$attachment 1 "Bip01 L Hand" 10.855000 -0.416715 1.870680

// 1 bone controller(s)
$controller 4 "Bone01" ZR 0.000000 30.000000

// 20 hit box(es)
$hbox 3 "Bip01 Pelvis" -4.690000 -4.440000 -6.750000 4.000000 5.560000 6.750000
$hbox 6 "Bip01 L Thigh" 2.660000 -3.690000 -3.090000 18.160000 4.880000 3.310000
$hbox 6 "Bip01 L Calf" 0.380000 -3.970000 -2.840000 17.600000 4.000000 2.940000
$hbox 6 "Bip01 L Foot" 0.850000 -3.240000 -2.640000 5.730000 8.530000 3.170000
$hbox 7 "Bip01 R Thigh" 2.470000 -3.690000 -3.160000 18.129999 4.880000 3.380000
$hbox 7 "Bip01 R Calf" 0.310000 -3.970000 -2.840000 17.600000 3.940000 2.970000
$hbox 7 "Bip01 R Foot" 0.850000 -3.240000 -2.640000 5.730000 8.530000 3.170000
$hbox 3 "Bip01 Spine1" -3.250000 -5.500000 -5.500000 4.830000 5.500000 5.500000
$hbox 2 "Bip01 Spine2" -0.060000 -5.530000 -7.590000 8.000000 7.000000 7.590000
$hbox 2 "Bip01 Spine3" -2.250000 -6.810000 -6.310000 6.500000 5.090000 6.310000
$hbox 2 "Bip01 Neck" -3.110000 -1.500000 -3.000000 2.050000 3.500000 3.000000
$hbox 1 "Bip01 Head" -0.330000 -4.500000 -2.500000 8.000000 4.500000 2.500000
$hbox 4 "Bip01 L Clavicle" 0.940000 -2.880000 -4.130000 5.440000 4.280000 3.500000
$hbox 4 "Bip01 L UpperArm" -2.160000 -2.340000 -2.560000 11.560000 3.410000 2.380000
$hbox 4 "Bip01 L Forearm" 0.590000 -1.810000 -2.190000 10.750000 2.840000 2.410000
$hbox 4 "Bip01 L Hand" -0.132201 -1.903020 -2.238530 4.862900 2.078240 2.369790
$hbox 5 "Bip01 R Clavicle" 1.380000 -2.840000 -3.560000 5.690000 4.310000 4.310000
$hbox 5 "Bip01 R UpperArm" -1.880000 -2.470000 -2.160000 11.810000 3.280000 2.810000
$hbox 5 "Bip01 R Forearm" 0.440000 -1.970000 -2.340000 10.590000 2.720000 2.220000
$hbox 5 "Bip01 R Hand" -0.132201 -1.903020 -2.238530 4.862900 2.078240 2.369790

// 95 animation sequence(s)
$sequence "dummy" "dummy" fps 24 loop 
$sequence "idle1" "idle1" fps 15 loop ACT_IDLE 1 
$sequence "crouch_idle" "crouch_idle" fps 10 loop ACT_CROUCHIDLE 1 
$sequence "walk" "walk" LX fps 30 loop ACT_WALK 1 
$sequence "run" "run" LX fps 60 loop ACT_RUN 1 
$sequence "crouchrun" "crouchrun" LX fps 30 loop ACT_CROUCH 1 
$sequence "jump" "jump" fps 36 ACT_HOP 1 
$sequence "longjump" "longjump" fps 36 ACT_LEAP 1 
$sequence "swim" "swim" fps 30 loop ACT_SWIM 1 
$sequence "treadwater" "treadwater" fps 24 loop ACT_HOVER 1 
$sequence "crouch_aim_carbine" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_carbine"  "I_am_a_stupid_placeholder"
$sequence "crouch_reload_carbine" "I_am_a_stupid_placeholder"
$sequence "ref_aim_carbine" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_carbine" "I_am_a_stupid_placeholder"
$sequence "ref_reload_carbine" "I_am_a_stupid_placeholder"
$sequence "crouch_aim_onehanded" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_onehanded" "I_am_a_stupid_placeholder"
$sequence "crouch_reload_onehanded" "I_am_a_stupid_placeholder"
$sequence "ref_aim_onehanded" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_onehanded" "I_am_a_stupid_placeholder"
$sequence "ref_reload_onehanded" "I_am_a_stupid_placeholder"
$sequence "crouch_aim_dualpistols_1" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_dualpistols_1" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot2_dualpistols_1" "I_am_a_stupid_placeholder"
$sequence "crouch_reload_dualpistols_1" "I_am_a_stupid_placeholder"
$sequence "ref_aim_dualpistols_1" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_dualpistols_1" "I_am_a_stupid_placeholder"
$sequence "ref_shoot2_dualpistols_1" "I_am_a_stupid_placeholder"
$sequence "ref_reload_dualpistols_1" "I_am_a_stupid_placeholder"
$sequence "crouch_aim_rifle" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_rifle" "I_am_a_stupid_placeholder"
$sequence "crouch_reload_rifle" "I_am_a_stupid_placeholder"
$sequence "ref_aim_rifle" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_rifle" "I_am_a_stupid_placeholder"
$sequence "ref_reload_rifle" "I_am_a_stupid_placeholder"
$sequence "crouch_aim_mp5" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_mp5" "I_am_a_stupid_placeholder"
$sequence "crouch_reload_mp5" "I_am_a_stupid_placeholder"
$sequence "ref_aim_mp5" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_mp5" "I_am_a_stupid_placeholder"
$sequence "ref_reload_mp5" "I_am_a_stupid_placeholder"
$sequence "crouch_aim_shotgun" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_shotgun" "I_am_a_stupid_placeholder"
$sequence "crouch_reload_shotgun" "I_am_a_stupid_placeholder"
$sequence "ref_aim_shotgun" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_shotgun" "I_am_a_stupid_placeholder"
$sequence "ref_reload_shotgun" "I_am_a_stupid_placeholder"
$sequence "crouch_aim_m249" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_m249" "I_am_a_stupid_placeholder"
$sequence "crouch_reload_m249" "I_am_a_stupid_placeholder"
$sequence "ref_aim_m249" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_m249" "I_am_a_stupid_placeholder"
$sequence "ref_reload_m249" "I_am_a_stupid_placeholder"
$sequence "I_am_a_stupid_placeholder" "I_am_a_stupid_placeholder" fps 30 loop 
$sequence "so_am_I" "so_am_I" fps 30 
$sequence "ref_aim_grenade" {
          "
ref_aim_grenade_blend1
          "
ref_aim_grenade_blend2
          "
ref_aim_grenade_blend3
          "
ref_aim_grenade_blend4
          "
ref_aim_grenade_blend5
          "
ref_aim_grenade_blend6
          "
ref_aim_grenade_blend7
          "
ref_aim_grenade_blend8
          "
ref_aim_grenade_blend9
          blend XR -90 90 fps 20 loop 
}
$sequence "ref_shoot_grenade" {
          "
ref_shoot_grenade_blend1
          "
ref_shoot_grenade_blend2
          "
ref_shoot_grenade_blend3
          "
ref_shoot_grenade_blend4
          "
ref_shoot_grenade_blend5
          "
ref_shoot_grenade_blend6
          "
ref_shoot_grenade_blend7
          "
ref_shoot_grenade_blend8
          "
ref_shoot_grenade_blend9
          blend XR -90 90 fps 45 
}
$sequence "crouch_aim_grenade" {
          "
crouch_aim_grenade_blend1
          "
crouch_aim_grenade_blend2
          "
crouch_aim_grenade_blend3
          "
crouch_aim_grenade_blend4
          "
crouch_aim_grenade_blend5
          "
crouch_aim_grenade_blend6
          "
crouch_aim_grenade_blend7
          "
crouch_aim_grenade_blend8
          "
crouch_aim_grenade_blend9
          blend XR -90 90 fps 20 loop 
}
$sequence "crouch_shoot_grenade" {
          "
crouch_shoot_grenade_blend1
          "
crouch_shoot_grenade_blend2
          "
crouch_shoot_grenade_blend3
          "
crouch_shoot_grenade_blend4
          "
crouch_shoot_grenade_blend5
          "
crouch_shoot_grenade_blend6
          "
crouch_shoot_grenade_blend7
          "
crouch_shoot_grenade_blend8
          "
crouch_shoot_grenade_blend9
          blend XR -90 90 fps 45 
}
$sequence "crouch_aim_c4" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_c4" "I_am_a_stupid_placeholder"
$sequence "ref_aim_c4" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_c4" "I_am_a_stupid_placeholder"
$sequence "ref_reload_c4" "I_am_a_stupid_placeholder"
$sequence "crouch_aim_dualpistols_2" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_dualpistols_2" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot2_dualpistols_2" "I_am_a_stupid_placeholder"
$sequence "crouch_reload_dualpistols_2" "I_am_a_stupid_placeholder"
$sequence "ref_aim_dualpistols_2" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_dualpistols_2" "I_am_a_stupid_placeholder"
$sequence "ref_shoot2_dualpistols_2" "I_am_a_stupid_placeholder"
$sequence "ref_reload_dualpistols_2" "ref_reload_dualpistols_2" fps 30 
$sequence "crouch_aim_knife" {
          "
crouch_aim_knife_blend1
          "
crouch_aim_knife_blend2
          "
crouch_aim_knife_blend3
          "
crouch_aim_knife_blend4
          "
crouch_aim_knife_blend5
          "
crouch_aim_knife_blend6
          "
crouch_aim_knife_blend7
          "
crouch_aim_knife_blend8
          "
crouch_aim_knife_blend9
          blend XR -90 90 fps 12 loop 
}
$sequence "crouch_shoot_knife" {
          "
crouch_shoot_knife_blend1
          "
crouch_shoot_knife_blend2
          "
crouch_shoot_knife_blend3
          "
crouch_shoot_knife_blend4
          "
crouch_shoot_knife_blend5
          "
crouch_shoot_knife_blend6
          "
crouch_shoot_knife_blend7
          "
crouch_shoot_knife_blend8
          "
crouch_shoot_knife_blend9
          blend XR -90 90 fps 30 
}
$sequence "ref_aim_knife" {
          "
ref_aim_knife_blend1
          "
ref_aim_knife_blend2
          "
ref_aim_knife_blend3
          "
ref_aim_knife_blend4
          "
ref_aim_knife_blend5
          "
ref_aim_knife_blend6
          "
ref_aim_knife_blend7
          "
ref_aim_knife_blend8
          "
ref_aim_knife_blend9
          blend XR -90 90 fps 12 loop 
}
$sequence "ref_shoot_knife" {
          "
ref_shoot_knife_blend1
          "
ref_shoot_knife_blend2
          "
ref_shoot_knife_blend3
          "
ref_shoot_knife_blend4
          "
ref_shoot_knife_blend5
          "
ref_shoot_knife_blend6
          "
ref_shoot_knife_blend7
          "
ref_shoot_knife_blend8
          "
ref_shoot_knife_blend9
          blend XR -90 90 fps 30 loop 
}
$sequence "crouch_aim_ak47" "I_am_a_stupid_placeholder"
$sequence "crouch_shoot_ak47" "I_am_a_stupid_placeholder"
$sequence "crouch_reload_ak47" "I_am_a_stupid_placeholder"
$sequence "ref_aim_ak47" "I_am_a_stupid_placeholder"
$sequence "ref_shoot_ak47" "I_am_a_stupid_placeholder"
$sequence "ref_reload_ak47" "I_am_a_stupid_placeholder"
$sequence "gut_flinch" {
          "
gut_flinch_blend1
          "
gut_flinch_blend2
          "
gut_flinch_blend3
          "
gut_flinch_blend4
          "
gut_flinch_blend5
          "
gut_flinch_blend6
          "
gut_flinch_blend7
          "
gut_flinch_blend8
          "
gut_flinch_blend9
          blend XR -90 90 fps 30 
}
$sequence "head_flinch" {
          "
head_flinch_blend1
          "
head_flinch_blend2
          "
head_flinch_blend3
          "
head_flinch_blend4
          "
head_flinch_blend5
          "
head_flinch_blend6
          "
head_flinch_blend7
          "
head_flinch_blend8
          "
head_flinch_blend9
          blend XR -90 90 fps 30 
}
$sequence "death1" "death1" fps 30 ACT_DIE_CHESTSHOT 1 { event 2001 1 } 
$sequence "death2" "death2" fps 30 ACT_DIESIMPLE 2 { event 2001 1 } 
$sequence "death3" "death3" fps 30 ACT_DIE_BACKSHOT 1 { event 2001 1 } 
$sequence "head" "head" fps 30 ACT_DIE_HEADSHOT 1 { event 2001 1 } 
$sequence "gutshot" "gutshot" fps 30 ACT_DIE_GUTSHOT 1 { event 2001 1 } 
$sequence "left" "left" fps 30 ACT_DIESIMPLE 1 { event 2001 1 } 
$sequence "back" "back" fps 30 ACT_DIEBACKWARD 1 { event 2001 1 } 
$sequence "right" "right" fps 30 ACT_DIESIMPLE 1 { event 2001 1 } 
$sequence "forward" "forward" fps 30 ACT_DIEFORWARD 1 { event 2001 1 } 
$sequence "crouch_die" "crouch_die" fps 30 { event 2001 1 } 

// End of QC script. 
Attached Files
File Type: zip Model.zip (1.21 MB, 6 views)
GasmoN is offline
GasmoN
Member
Join Date: Jul 2014
Old 08-30-2019 , 07:52   Re: [Modelling] Simple yet too cimplicated task to do.
Reply With Quote #2

I solved this mystery.
Solution: Check your model before you edit it. (The model was already broken, not because of this that I have done)

Last edited by GasmoN; 08-30-2019 at 07:55.
GasmoN is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:15.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode