STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
1,008
IN-GAME
6,890
ONLINE
Founded
October 26, 2013
Language
English
Rak_Cebulak Apr 26, 2020 @ 6:53am
problem with compiling
hi everyone, i have problem because I try make my own playermodel to garrys mod, but his hands were twisted. And then i find solution because i didn't put in QC about define bones so i ask my friend for help, then we do in crowbar this define bones but it didn't help, my playermodels still have twisted hands. (no changes have occurred) and now I have a question, could anyone say what I did wrong that I still have on my playermodel twisted arms ?

< >
Showing 1-8 of 8 comments
green Apr 26, 2020 @ 6:56am 
Make sure you apply and transforms and scales applied to the armature, and that the armature used in the main mesh is the same as the armature used in the anim sequence.
Rak_Cebulak Apr 26, 2020 @ 7:27am 
the armature used in the main grid is the same as the armature used in the animation sequence and I made sure that the scaling and transformations match the armature
Last edited by Rak_Cebulak; Apr 26, 2020 @ 7:28am
green Apr 26, 2020 @ 7:29am 
But did you apply the transforms in Blender (or whatever program you use)? I believe it's ctrl + a in object mode, for Blender.
Rak_Cebulak Apr 26, 2020 @ 7:52am 
i used now option "all transforms" ( yes I using blender) and there are no changes (still have twisted arms )
green Apr 26, 2020 @ 8:02am 
Can you post your qc?
Rak_Cebulak Apr 26, 2020 @ 8:03am 
$modelname player/scp/scp3199.mdl
$cdmaterials models/scp/scp3199

$ambientboost

$cbox 0 0 0 0 0 0

$definebone "ValveBiped.Bip01_Pelvis" "" 1.038669 6.078317 33.958603 -0.000000 0.000000 89.999985 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
$definebone "ValveBiped.Bip01_Spine" "ValveBiped.Bip01_Pelvis" 0.000005 3.565521 -6.468194 4.944224 90.000099 89.999985 0.000000 -0.000001 0.000000 -0.000000 0.000000 0.000000
$definebone "ValveBiped.Bip01_Spine1" "ValveBiped.Bip01_Spine" 7.704666 -0.767091 0.000018 0.000115 -1.675787 0.000000 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
$definebone "ValveBiped.Bip01_Spine2" "ValveBiped.Bip01_Spine1" 4.987808 0.896694 0.000030 -0.001719 5.749403 0.000000 0.000000 0.000000 0.000000 -0.000000 -0.000000 -0.000000
$definebone "ValveBiped.Bip01_Spine4" "ValveBiped.Bip01_Spine2" 8.152187 0.589115 -0.000188 0.001318 11.121054 0.000229 0.000004 -0.000002 0.000000 -0.000000 -0.000000 0.000000
$definebone "ValveBiped.Bip01_Neck1" "ValveBiped.Bip01_Spine4" 6.640968 0.924231 0.000001 -0.000057 22.945642 -179.999908 0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000
$definebone "ValveBiped.Bip01_Head1" "ValveBiped.Bip01_Neck1" 9.521656 -1.221474 0.000005 0.000057 23.294861 -0.000000 0.000000 0.000000 0.000000 0.000000 -0.000000 -0.000000
$definebone "ValveBiped.Bip01_R_Clavicle" "ValveBiped.Bip01_Spine4" 0.165932 2.310574 -4.865344 73.711746 168.617859 -95.597130 0.000001 0.000000 0.000000 0.000000 -0.000002 -0.000001
$definebone "ValveBiped.Bip01_R_UpperArm" "ValveBiped.Bip01_R_Clavicle" 3.252939 0.185966 -3.488260 -0.461861 -33.623459 93.935455 0.000000 0.000000 0.000000 0.000002 0.000001 0.000000
$definebone "ValveBiped.Bip01_R_Forearm" "ValveBiped.Bip01_R_UpperArm" 10.224197 -4.603096 -3.457916 -0.000002 -3.458431 -0.000287 -0.000002 0.000000 0.000000 -0.000000 -0.000000 -0.000000
$definebone "ValveBiped.Bip01_R_Hand" "ValveBiped.Bip01_R_Forearm" 13.006815 -2.814950 -4.617722 6.107850 2.531901 -89.664459 0.000000 0.000000 0.000000 0.000000 0.000002 0.000001
$definebone "ValveBiped.Bip01_R_Finger4" "ValveBiped.Bip01_R_Hand" 4.329082 0.205956 0.969042 -9.084362 -50.364826 27.452761 0.000000 0.000000 0.000000 -0.000002 0.000002 0.000002
$definebone "ValveBiped.Bip01_R_Finger41" "ValveBiped.Bip01_R_Finger4" 2.340374 1.922712 -2.143155 -0.683081 -25.192266 -0.000688 0.000000 0.000000 0.000000 -0.000000 -0.000002 -0.000002
$definebone "ValveBiped.Bip01_R_Finger42" "ValveBiped.Bip01_R_Finger41" 1.103775 1.696463 -1.609009 -0.351395 -13.995585 0.001086 0.000000 0.000000 0.000000 -0.000000 -0.000005 -0.000003
$definebone "ValveBiped.Bip01_R_Finger2" "ValveBiped.Bip01_R_Hand" 3.962254 -0.128349 -1.184960 -1.513067 -33.672215 -4.921822 0.000000 0.000000 0.000000 0.000000 0.000003 0.000001
$definebone "ValveBiped.Bip01_R_Finger21" "ValveBiped.Bip01_R_Finger2" 2.701015 1.196007 -0.807521 -0.456532 -20.995411 -0.000229 0.000004 0.000000 0.000000 0.000000 -0.000002 0.000001
$definebone "ValveBiped.Bip01_R_Finger22" "ValveBiped.Bip01_R_Finger21" 1.969852 1.981730 -0.559270 -0.254622 -12.398410 -0.000057 0.000004 0.000000 0.000000 0.000000 -0.000003 0.000000
$definebone "ValveBiped.Bip01_R_Finger0" "ValveBiped.Bip01_R_Hand" 2.333445 -1.474586 -2.239276 38.594959 -45.489925 68.995583 0.000000 0.000000 0.000000 0.000007 -0.000004 -0.000002
$definebone "ValveBiped.Bip01_R_Finger01" "ValveBiped.Bip01_R_Finger0" 1.412394 -0.111524 -0.238213 -0.360785 13.094547 0.000632 0.000000 -0.000001 0.000000 0.000006 0.000000 0.000000
$definebone "ValveBiped.Bip01_R_Finger02" "ValveBiped.Bip01_R_Finger01" 1.505714 -0.615600 -0.188034 -0.551179 20.794077 -0.000340 -0.000004 0.000000 0.000000 0.000006 0.000006 0.000002
$definebone "ValveBiped.Bip01_L_Clavicle" "ValveBiped.Bip01_Spine4" 0.131226 2.287376 4.952363 -73.712082 168.619446 91.480484 -0.000002 0.000000 0.000000 -0.000001 0.000000 -0.000001
$definebone "ValveBiped.Bip01_L_UpperArm" "ValveBiped.Bip01_L_Clavicle" 2.941196 0.111252 3.137817 2.738451 -33.528183 -90.504990 0.000000 0.000000 0.000000 0.000009 -0.000001 0.000001
$definebone "ValveBiped.Bip01_L_Forearm" "ValveBiped.Bip01_L_UpperArm" 11.654551 -0.818846 4.643543 -0.000048 -3.458661 -0.000515 0.000002 0.000000 0.000000 0.000009 -0.000001 0.000000
$definebone "ValveBiped.Bip01_L_Hand" "ValveBiped.Bip01_L_Forearm" 10.762096 0.950164 3.377205 -6.108868 2.532301 90.136803 0.000000 0.000000 0.000000 -0.000001 -0.000010 -0.000001
$definebone "ValveBiped.Bip01_L_Finger4" "ValveBiped.Bip01_L_Hand" 5.459835 0.323795 -0.952959 8.719382 -50.413464 -27.452812 -0.000004 0.000000 0.000000 -0.000006 0.000005 0.000000
$definebone "ValveBiped.Bip01_L_Finger41" "ValveBiped.Bip01_L_Finger4" 2.078220 1.932793 1.471341 0.553645 -25.194895 0.000061 0.000000 0.000000 -0.000000 -0.000005 0.000009 0.000005
$definebone "ValveBiped.Bip01_L_Finger42" "ValveBiped.Bip01_L_Finger41" 1.116360 1.880039 1.253098 0.285501 -13.995404 0.000237 0.000000 0.000000 -0.000000 -0.000002 0.000009 0.000009
$definebone "ValveBiped.Bip01_L_Finger2" "ValveBiped.Bip01_L_Hand" 5.282209 0.324181 1.371671 1.251338 -33.681839 4.922338 0.000000 0.000000 -0.000001 -0.000002 0.000003 0.000001
$definebone "ValveBiped.Bip01_L_Finger21" "ValveBiped.Bip01_L_Finger2" 2.451677 1.239571 0.303311 0.314667 -20.998777 0.000288 0.000000 0.000000 0.000000 -0.000002 0.000010 0.000001
$definebone "ValveBiped.Bip01_L_Finger22" "ValveBiped.Bip01_L_Finger21" 1.889069 1.780163 0.269371 0.176871 -12.398792 0.000002 0.000000 0.000000 0.000000 -0.000002 0.000014 0.000002
$definebone "ValveBiped.Bip01_L_Finger0" "ValveBiped.Bip01_L_Hand" 3.098976 -0.571445 2.303463 -38.932312 -45.224590 -69.147980 0.000000 0.000001 0.000000 -0.000004 0.000001 0.000002
$definebone "ValveBiped.Bip01_L_Finger01" "ValveBiped.Bip01_L_Finger0" 1.899609 -0.013917 0.338058 0.423239 13.094208 0.000857 0.000004 0.000000 0.000000 -0.000005 0.000001 0.000000
$definebone "ValveBiped.Bip01_L_Finger02" "ValveBiped.Bip01_L_Finger01" 1.573574 -0.518934 0.613739 0.645662 20.789774 0.000285 0.000000 0.000000 0.000000 -0.000004 0.000000 -0.000002
$definebone "ValveBiped.Bip01_R_Thigh" "ValveBiped.Bip01_Pelvis" -8.548859 0.350632 1.804645 2.971302 -90.299347 -90.000038 0.000000 0.000000 0.000000 -0.000000 0.000000 0.000000
$definebone "ValveBiped.Bip01_R_Calf" "ValveBiped.Bip01_R_Thigh" 18.777044 4.888423 0.270419 -0.000057 1.958484 0.000057 0.000001 0.000000 0.000000 -0.000000 0.000000 -0.000000
$definebone "ValveBiped.Bip01_R_Foot" "ValveBiped.Bip01_R_Calf" 10.461704 -1.769820 0.754255 2.336637 -61.400791 2.212190 0.000000 0.000000 0.000000 0.000000 0.000003 0.000000
$definebone "ValveBiped.Bip01_L_Thigh" "ValveBiped.Bip01_Pelvis" 8.779274 0.200352 2.053550 2.971302 -89.700790 -89.999985 0.000000 0.000000 0.000000 -0.000000 0.000000 -0.000000
$definebone "ValveBiped.Bip01_L_Calf" "ValveBiped.Bip01_L_Thigh" 18.133217 5.953450 -0.907121 0.000000 1.958485 -0.000458 0.000001 0.000000 0.000000 -0.000000 0.000000 -0.000000
$definebone "ValveBiped.Bip01_L_Foot" "ValveBiped.Bip01_L_Calf" 11.694144 -1.996683 -0.461053 -2.336293 -61.400505 -1.599469 0.000000 0.000000 0.000000 -0.000000 -0.000003 0.000000


$ikchain "rhand" "ValveBiped.Bip01_R_Hand" knee 0.707 0.707 0
$ikchain "lhand" "ValveBiped.Bip01_L_Hand" knee 0.707 0.707 0
$ikchain "rfoot" "ValveBiped.Bip01_R_Foot" knee 0.707 -0.707 0
$ikchain "lfoot" "ValveBiped.Bip01_L_Foot" knee 0.707 -0.707 0

$body scp3199 "scp3199.smd"

$eyeposition 0 0 70
$surfaceprop "flesh"
$bbox -13 -13 0 13 13 72
$mostlyopaque
$include "../Humans/standardhierarchy.qci"


$pushd "..\Humans\Male"
$include "..\Humans\Male\ragdoll.qci"
$include "hitbox.qci"
$popd
$includemodel "m_anm.mdl"
green Apr 26, 2020 @ 8:13am 
Your model name directory and cdmaterials directory should be in quotes. Put the body line underneath the model name line, too. You also lack an idle anims sequence line.

Please refer to step 1b of this guide, to learn how to make an anims file:

https://steamcommunity.com/sharedfiles/filedetails/?id=731072187

And this is an example on how you would implement that code into your qc:

$sequence "ragdoll" { "player_anims\ragdoll.smd" activity "ACT_DIERAGDOLL" 1 fadein 0.2 fadeout 0.2 fps 30 }

You also lack collision joints. This is a bit more complicated, but your average "garrys mod pm" guide should explain it.
Rak_Cebulak Apr 26, 2020 @ 8:22am 
thank you for your attention, I will try to do according to your recommendations
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Apr 26, 2020 @ 6:53am
Posts: 8