• qc doesn't work correctly
    22 replies, posted
Hi. $sequence "shoot" doesn't work either works $sequence "shoot2". Why and how to fix it? $sequence "idle" {     "c_rinkaku_hand_anims\idle.smd"     activity "ACT_VM_IDLE" 1     fadein 0.2     fadeout 0.2     node "Ready"     snap     fps 30     loop } $sequence "shoot2" {     "c_rinkaku_hand_anims\shoot.smd"     activity "ACT_VM_SECONDARYATTACK" 1     fadein 0.2     fadeout 0.2     snap     fps 30 } $sequence "shoot" {     "c_rinkaku_hand_anims\shoot_r.smd"     activity "ACT_VM_PRIMARYATTACK" 1     fadein 0.2     fadeout 0.2     snap     fps 30 } $sequence "draw" {     "c_rinkaku_hand_anims\draw.smd"     activity "ACT_VM_DRAW" 1     fadein 0.2     fadeout 0.2     snap     fps 30 }
How do you mean by not working? Gives an error? Does nothing?
Take off the curlybraces and the quotes on the activities
ERROR: - no animations found(109) 109 - $sequence "idle" $sequence "idle"     "c_rinkaku_hand_anims\idle.smd"     activity ACT_VM_IDLE 1     fadein 0.2     fadeout 0.2     node "Ready"     snap     fps 30     loop $sequence "shoot2"     "c_rinkaku_hand_anims\shoot.smd"     activity ACT_VM_SECONDARYATTACK 1     fadein 0.2     fadeout 0.2     snap     fps 30 $sequence "shoot"     "c_rinkaku_hand_anims\shoot_r.smd"     activity ACT_VM_PRIMARYATTACK 1     fadein 0.2     fadeout 0.2     snap     fps 30 $sequence "draw"     "c_rinkaku_hand_anims\draw.smd"     activity ACT_VM_DRAW 1     fadein 0.2     fadeout 0.2     snap     fps 30
That sure is a misterious message, could mean a lot of things, I am sure one of them is that it didn't find any animation called "idle" in the folder, but that's just my take on it, maybe it's mispelt.
Revert to the old syntax in post 1. This is correct 'code'. You could even remove the activity keyword when it starts with ACT_XYZ. Is it possible the activity is ignored? It's sorta defining the start of the definition twice. Could be a glitch in the compiler. Do the idle and draw activites trigger? Possible they are from a shared animation file? You may have to check. i got no clue how gmod works. The other question is what's in the animation files. Are there working animations in it? Also. I thought to know old hl2 models have a system inplace which recycles and blends shooting animations with a crouch pose, blend layers, aim layers and parameters. There's a potential chain of dependencies to make the entire shooting animation work. Again, i got no real clue. 'm not a game modder.
I put idle01 and nothing. Same problem...
bump
Bumping a still live thread are we eh? Well, the error message says that Idle is absent, NOT idle01, you have to add an animation called "idle.smd" in the folder it's directed at, in this case c_rinkaku_hand_anims
https://files.facepunch.com/forum/upload/114477/b8f50cfb-638f-4545-bf37-b466192000e8/изображение.png $sequence "idle01" {     "c_rinkaku_hand_anims\idle.smd"     activity "ACT_VM_IDLE" 1     fadein 0.2     fadeout 0.2     node "Ready"     snap     fps 30     loop } $sequence "fire01" {     "c_rinkaku_hand_anims\shoot_r.smd"     activity "ACT_VM_PRIMARYATTACK" 1     fadein 0.2     fadeout 0.2     snap     fps 30 } $sequence "fire02" {     "c_rinkaku_hand_anims\shoot2.smd"     activity "ACT_VM_SECONDARYATTACK" 1     fadein 0.2     fadeout 0.2     snap     fps 30 } $sequence "draw" {     "c_rinkaku_hand_anims\draw.smd"     activity "ACT_VM_DRAW" 1     fadein 0.2     fadeout 0.2     snap     fps 30 } As you can see.. i have an idle but nothing =(
Where is the QC file located? in the folder that "c_rinkaku_hand_anims" is in?
Nah.. Before folder c_rinkaku_hand_anims
I think it's because you line break $sequence "idle" "c_rinkaku_hand_anims\idle.smd" activity ACT_VM_IDLE 1 fadein 0.2 fadeout 0.2 node "Ready" snap fps 30 loop Try this instead.
Nah... - bad command activity activity ACT_VM_IDLE 1
That shouldn’t cause a no animations error
That's because there's no curly braces around i like you had previously. Does it play the draw or is it only using the idle animation?
It is my code right now. No errors. But when I press left button (ACT_VM_PRIMARYATTACK) plays shoot_r.smd but when I press right button (ACT_VM_SECONDARYATTACK) plays shoot_r.smd NOT SHOOT2.SMD WHYYYY!? $sequence "idle" "c_rinkaku_hand_anims\idle.smd" {     activity ACT_VM_IDLE 1     fadein 0.2     fadeout 0.2     node "Ready"     snap     fps 30     loop } $sequence "fire01" "c_rinkaku_hand_anims\shoot_r.smd" {     activity "ACT_VM_PRIMARYATTACK" 1     fadein 0.2     fadeout 0.2     snap     fps 30 } $sequence "fire02" "c_rinkaku_hand_anims\shoot2.smd" {     activity "ACT_VM_SECONDARYATTACK" 1     fadein 0.2     fadeout 0.2     snap     fps 30 } $sequence "draw" "c_rinkaku_hand_anims\draw.smd" {     activity "ACT_VM_DRAW" 1     fadein 0.2     fadeout 0.2     snap     fps 30 }
What does your full qc look like?
$modelname "weapons\c_rink_wep\c_rinkaku_hand.mdl" $bodygroup "studio" {     studio "c_rinkaku_hand.smd" } $surfaceprop "default" $contents "solid" $illumposition 3.995 -9.538 -6.393 $cdmaterials "" $cbox 0 0 0 0 0 0 $bbox -9.089 -11.527 -13.175 24.027 7.405 0.169 $hboxset "default" $definebone "ValveBiped.Bip01_Spine4" "" 0.000006 0 0 -79.749938 -89.999928 -90.000037 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Clavicle" "ValveBiped.Bip01_Spine4" 2.033348 1.000767 1.93766 -73.71186 168.61934 91.480542 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_UpperArm" "ValveBiped.Bip01_L_Clavicle" 6.028143 0.000003 0.000001 2.738796 -33.527886 -90.504986 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Forearm" "ValveBiped.Bip01_L_UpperArm" 11.692558 0.000008 0.000003 0 -3.459004 -0.00023 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Hand" "ValveBiped.Bip01_L_Forearm" 11.48168 -0.000028 -0.000032 -6.109045 2.53213 90.136744 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger4" "ValveBiped.Bip01_L_Hand" 3.859705 -0.142402 -1.191974 8.682719 -50.431515 -26.821873 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger41" "ValveBiped.Bip01_L_Finger4" 1.312561 -0.00001 0.000002 -0.000114 -25.194329 0.000058 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger42" "ValveBiped.Bip01_L_Finger41" 0.729362 0 0.000001 0.000171 -13.996962 -0.000113 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger3" "ValveBiped.Bip01_L_Hand" 3.942327 0.046769 -0.431443 4.194281 -46.466249 -8.696353 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger31" "ValveBiped.Bip01_L_Finger3" 1.539089 0.00001 -0.000005 0.000345 -14.197316 -0.000057 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger32" "ValveBiped.Bip01_L_Finger31" 1.196321 -0.000006 0.000001 -0.0004 -24.683594 0.000057 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger2" "ValveBiped.Bip01_L_Hand" 3.883688 -0.046765 0.431443 1.250997 -33.682071 4.921822 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger21" "ValveBiped.Bip01_L_Finger2" 1.719576 -0.00001 0.000008 0.315988 -20.997755 0.000057 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger22" "ValveBiped.Bip01_L_Finger21" 1.209183 0 0.000003 0.177103 -12.398465 0 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger1" "ValveBiped.Bip01_L_Hand" 3.859858 -0.137945 1.332466 -2.449623 -30.465485 20.308434 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger11" "ValveBiped.Bip01_L_Finger1" 1.719429 0 -0.000005 0.233769 -20.798657 -0.000227 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger12" "ValveBiped.Bip01_L_Finger11" 1.099672 -0.000008 0.000004 0.148742 -13.999196 0.000289 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger0" "ValveBiped.Bip01_L_Hand" 0.806044 -0.348925 1.321258 -38.916041 -45.196404 -70.054362 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger01" "ValveBiped.Bip01_L_Finger0" 1.789785 0.000002 -0.00001 0.000171 13.093343 0.000686 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger02" "ValveBiped.Bip01_L_Finger01" 1.206997 0.000005 0.000004 0.000172 20.790522 -0.000688 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Wrist" "ValveBiped.Bip01_L_Forearm" 11.481707 -0.000028 0 -0.000003 0 0.072937 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Clavicle" "ValveBiped.Bip01_Spine4" 2.033356 1.000772 -1.93761 73.712085 168.618821 -95.596558 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_UpperArm" "ValveBiped.Bip01_R_Clavicle" 6.028145 0.000004 0 -0.462091 -33.623799 93.935285 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Forearm" "ValveBiped.Bip01_R_UpperArm" 11.692549 -0.000004 -0.000001 -0.000002 -3.459404 -0.000228 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Hand" "ValveBiped.Bip01_R_Forearm" 11.481695 0.000045 0 6.108073 2.532417 -89.664286 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger4" "ValveBiped.Bip01_R_Hand" 3.859673 -0.132565 1.193108 -9.056574 -50.352797 26.713244 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger41" "ValveBiped.Bip01_R_Finger4" 1.312559 -0.000006 0 0.00011 -25.191524 0.000114 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger42" "ValveBiped.Bip01_R_Finger41" 0.729364 0.000002 0.000002 0.000169 -13.995987 0 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger3" "ValveBiped.Bip01_R_Hand" 3.942291 0.050324 0.431043 -4.537139 -46.421333 8.598835 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger31" "ValveBiped.Bip01_R_Finger3" 1.539099 -0.000002 0.000001 -0.000117 -14.196118 0.000117 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger32" "ValveBiped.Bip01_R_Finger31" 1.19632 0 -0.000002 0.000114 -24.680899 -0.000168 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger2" "ValveBiped.Bip01_R_Hand" 3.883656 -0.050329 -0.431043 -1.512552 -33.672618 -4.921995 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger21" "ValveBiped.Bip01_R_Finger2" 1.719582 0.000006 0.000007 -0.456763 -20.995351 0.000057 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger22" "ValveBiped.Bip01_R_Finger21" 1.209185 -0.000002 0.000005 -0.255999 -12.397033 0.000115 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger1" "ValveBiped.Bip01_R_Hand" 3.859829 -0.14894 -1.331282 2.210012 -30.481758 -20.306885 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger11" "ValveBiped.Bip01_R_Finger1" 1.719427 0.000004 0.000012 -0.37878 -20.796656 0.000114 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger12" "ValveBiped.Bip01_R_Finger11" 1.099661 0.000002 0.000008 -0.241328 -13.997996 0.000231 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger0" "ValveBiped.Bip01_R_Hand" 0.806019 -0.359834 -1.318334 38.596218 -45.467419 69.98147 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger01" "ValveBiped.Bip01_R_Finger0" 1.789782 -0.000008 -0.000006 -0.000058 13.095057 -0.000114 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger02" "ValveBiped.Bip01_R_Finger01" 1.207001 -0.000002 -0.000006 -0.000115 20.793213 0.000172 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Wrist" "ValveBiped.Bip01_R_Forearm" 11.481695 0.000045 0 -0.000002 0 0.00871 0 0 0 0 0 0 $bonemerge "ValveBiped.Bip01_Spine4" $bonemerge "ValveBiped.Bip01_L_Clavicle" $bonemerge "ValveBiped.Bip01_L_UpperArm" $bonemerge "ValveBiped.Bip01_L_Forearm" $bonemerge "ValveBiped.Bip01_L_Hand" $bonemerge "ValveBiped.Bip01_L_Finger4" $bonemerge "ValveBiped.Bip01_L_Finger41" $bonemerge "ValveBiped.Bip01_L_Finger42" $bonemerge "ValveBiped.Bip01_L_Finger3" $bonemerge "ValveBiped.Bip01_L_Finger31" $bonemerge "ValveBiped.Bip01_L_Finger32" $bonemerge "ValveBiped.Bip01_L_Finger2" $bonemerge "ValveBiped.Bip01_L_Finger21" $bonemerge "ValveBiped.Bip01_L_Finger22" $bonemerge "ValveBiped.Bip01_L_Finger1" $bonemerge "ValveBiped.Bip01_L_Finger11" $bonemerge "ValveBiped.Bip01_L_Finger12" $bonemerge "ValveBiped.Bip01_L_Finger0" $bonemerge "ValveBiped.Bip01_L_Finger01" $bonemerge "ValveBiped.Bip01_L_Finger02" $bonemerge "ValveBiped.Bip01_L_Wrist" $bonemerge "ValveBiped.Bip01_R_Clavicle" $bonemerge "ValveBiped.Bip01_R_UpperArm" $bonemerge "ValveBiped.Bip01_R_Forearm" $bonemerge "ValveBiped.Bip01_R_Hand" $bonemerge "ValveBiped.Bip01_R_Finger4" $bonemerge "ValveBiped.Bip01_R_Finger41" $bonemerge "ValveBiped.Bip01_R_Finger42" $bonemerge "ValveBiped.Bip01_R_Finger3" $bonemerge "ValveBiped.Bip01_R_Finger31" $bonemerge "ValveBiped.Bip01_R_Finger32" $bonemerge "ValveBiped.Bip01_R_Finger2" $bonemerge "ValveBiped.Bip01_R_Finger21" $bonemerge "ValveBiped.Bip01_R_Finger22" $bonemerge "ValveBiped.Bip01_R_Finger1" $bonemerge "ValveBiped.Bip01_R_Finger11" $bonemerge "ValveBiped.Bip01_R_Finger12" $bonemerge "ValveBiped.Bip01_R_Finger0" $bonemerge "ValveBiped.Bip01_R_Finger01" $bonemerge "ValveBiped.Bip01_R_Finger02" $bonemerge "ValveBiped.Bip01_R_Wrist" $sequence "idle" "c_rinkaku_hand_anims\idle.smd" {     activity ACT_VM_IDLE 1     fadein 0.2     fadeout 0.2     node "Ready"     snap     fps 30     loop } $sequence "fire01" "c_rinkaku_hand_anims\shoot_r.smd"{     activity "ACT_VM_PRIMARYATTACK" 1     fadein 0.2     fadeout 0.2     snap     fps 30 } $sequence "fire02" "c_rinkaku_hand_anims\shoot2.smd" {     activity "ACT_VM_SECONDARYATTACK" 1     fadein 0.2     fadeout 0.2     snap     fps 30 } $sequence "draw" "c_rinkaku_hand_anims\draw.smd"{     activity "ACT_VM_DRAW" 1     fadein 0.2     fadeout 0.2     snap     fps 30 }
bump
bump?
bump!
Any reason there's no space between "idle" and "c_rinkaku_hand_anims\idle.smd"? What happens if you remove the $sequence "idle" altogether?
Sorry, you need to Log In to post a reply to this thread.