• Something is wrong but I don't know what.
    3 replies, posted
I want to make a Fornite playermodel, but the coding has something wrong with it. I am not sure whats wrong with it. I am trying to compile it using Crowbar, but an error keeps occuring: Compiling with Crowbar 0.56: "C:\Users\Rabbi\Desktop\AM decompiled\decompiled 0.56\fgirl.qc" ...   Compiling ".\fgirl.qc" ...     Output from compiler "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\bin\studiomdl.exe":        qdir:    "c:\users\rabbi\desktop\am decompiled\decompiled 0.56\"       gamedir: "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\"       g_path:  "fgirl.qc"       Building binary model files...       Working on "fgirl.qc"       SMD MODEL ramirez_body0_model0.smd       ERROR: c:\users\rabbi\desktop\am decompiled\decompiled 0.56\fgirl.qc(10): - could not load file '{'       ERROR: Aborted Processing on 'fortnitegirl_pm.mdl'       WARNING: Leaking 1 elements   ... Compiling ".\fgirl.qc" finished. Check above for any errors. ... Compiling with Crowbar 0.56: "C:\Users\Rabbi\Desktop\AM decompiled\decompiled 0.56\fgirl.qc" finished." This is the lua file. The problem is probably at line 6 to 8. // Created by Crowbar 0.56 $modelname "fortnitegirl_pm.mdl" $bodygroup "fornite_girl" { studio "ramirez_body0_model0.smd" } $model "ramirez_body0_model0.smd" { eyeball "eye_right" "ValveBiped.Bip01_Head1" -1.340000 -2.850003 67.670010 "eyeball_r" 1 4 "iris_unused" 0.63 eyeball "eye_left" "ValveBiped.Bip01_Head1" 1.390000 -2.850003 67.610013 "eyeball_l" 1 -4 "iris_unused" 0.63 flexfile "anonymous_01.vta"  { defaultflex frame 0 flex "eyebrow l down" frame 1 flex "eyebrow l up 1" frame 2 flex "eyebrow l up 2" frame 3 flex "left closed" frame 4 flex "OHSHIT vaule" frame 5 flex "eyebrow r down" frame 6 flex "eyebrow r up 1" frame 7 flex "eyebrow r up 2" frame 8 flex "right closed" frame 9 } flexcontroller eyebrow l down range 0 1 "eyebrow l down" flexcontroller eyebrow l up 1 range 0 1 "eyebrow l up 1" flexcontroller eyebrow l up 2 range 0 1 "eyebrow l up 2" flexcontroller eyebrow r down range 0 1 "eyebrow r down" flexcontroller eyebrow r up 1 range 0 1 "eyebrow r up 1" flexcontroller eyebrow r up 2 range 0 1 "eyebrow r up 2" flexcontroller left closed range 0 1 "left closed" flexcontroller right closed range 0 1 "right closed" flexcontroller OHSHIT vaule range 0 1 "OHSHIT vaule" %eyebrow l down = eyebrow l down %eyebrow l up 1 = eyebrow l up 1 %eyebrow l up 2 = eyebrow l up 2 %eyebrow r down = eyebrow r down %eyebrow r up 1 = eyebrow r up 1 %eyebrow r up 2 = eyebrow r up 2 %left closed = left closed %right closed = right closed %OHSHIT vaule = OHSHIT vaule } $surfaceprop "flesh" $contents "solid" $illumposition -0.162 0.98 35.074 $eyeposition 0 0 70 $cdmaterials "models\mark2580\fortnite\ramirez" $attachment "eyes" "ValveBiped.Bip01_Head1" 3.7 -3.52 0 rotate 0 -80.1 -90 $attachment "chest" "ValveBiped.Bip01_Spine2" 5 4 0 rotate 0 90 90 $attachment "forward" "ValveBiped.forward" 0 0 0 rotate 0 0 0 $attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" 0 0 0 rotate -90 -90 0 $attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" 0 0 0 rotate -90 -90 0 $attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" 0 0 0 rotate -90 -90 0 $cbox 0 0 0 0 0 0 $bbox -9.63 -28.388 -4.933 10.129 28.204 74.678 $definebone "ValveBiped.Bip01_Pelvis" "" -0.000005 -0.533615 38.566917 0 0 89.99999 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_Spine" "ValveBiped.Bip01_Pelvis" 0.000005 3.345127 -2.981901 4.943831 89.999928 90.000017 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_Spine1" "ValveBiped.Bip01_Spine" 4.018345 -0.000005 -0.000013 -0.000369 -1.675908 -0.000004 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_Spine2" "ValveBiped.Bip01_Spine1" 3.518501 0.00002 -0.000035 -0.001055 5.749112 0.000055 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_Spine4" "ValveBiped.Bip01_Spine2" 8.942673 0.000029 -0.00026 0.001817 11.120155 0.00022 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_Neck1" "ValveBiped.Bip01_Spine4" 3.307278 0.000051 0.000012 -0.000351 22.946395 179.999761 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_Head1" "ValveBiped.Bip01_Neck1" 3.593685 -0.000011 0.000012 0.000145 23.295252 -0.000047 0 0 0 0 0 0 $definebone "ValveBiped.forward" "ValveBiped.Bip01_Head1" 2.000027 -2.999982 0.000012 -0.000242 -76.000513 -89.999819 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Clavicle" "ValveBiped.Bip01_Spine4" 2.033352 1.000808 -1.937607 73.712584 168.620788 -95.595062 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_UpperArm" "ValveBiped.Bip01_R_Clavicle" 6.028164 -0.000046 -0.000044 -0.461442 -33.62427 93.935121 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Forearm" "ValveBiped.Bip01_R_UpperArm" 11.692579 0.000093 -0.000015 0.678435 -3.458899 -0.000376 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Hand" "ValveBiped.Bip01_R_Forearm" 11.481728 0.000211 -0.000011 6.354929 2.990101 -89.502192 0 0 0 0 0 0 $definebone "ValveBiped.Anim_Attachment_RH" "ValveBiped.Bip01_R_Hand" 2.676081 -1.71244 0.000098 -0.000001 -89.952158 -89.997749 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Clavicle" "ValveBiped.Bip01_Spine4" 2.033325 1.000804 1.937672 -73.710931 168.618193 91.482291 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_UpperArm" "ValveBiped.Bip01_L_Clavicle" 6.028189 0.000069 -0.000066 2.738206 -33.527671 -90.505355 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Forearm" "ValveBiped.Bip01_L_UpperArm" 11.692629 0.000182 0.000034 -0.291157 0.440371 -0.00025 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Hand" "ValveBiped.Bip01_L_Forearm" 11.481741 0.000092 0.000019 -10.000422 -1.386921 85.054181 0 0 0 0 0 0 $definebone "ValveBiped.Anim_Attachment_LH" "ValveBiped.Bip01_L_Hand" 2.676071 -1.712524 0.0001 0.000253 90.012038 89.997749 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Thigh" "ValveBiped.Bip01_Pelvis" -3.890452 0.000004 0.000007 2.96036 -94.727423 -90.229245 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Calf" "ValveBiped.Bip01_R_Thigh" 17.848145 0.000044 -0.00002 0.000016 1.955222 0.000188 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Foot" "ValveBiped.Bip01_R_Calf" 16.525229 0.001055 0.000001 2.336225 -61.396871 2.212242 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Thigh" "ValveBiped.Bip01_Pelvis" 3.890452 -0.000004 -0.000003 2.958992 -84.942064 -89.753754 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Calf" "ValveBiped.Bip01_L_Thigh" 17.848255 -0.000129 0.000002 -0.000004 1.957229 0.000063 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Foot" "ValveBiped.Bip01_L_Calf" 16.525282 0.000561 0.000003 -2.336665 -61.398893 -1.599486 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger4" "ValveBiped.Bip01_L_Hand" 3.859798 -0.142494 -1.191825 27.931695 -5.113822 -14.241839 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger41" "ValveBiped.Bip01_L_Finger4" 1.312557 0.000008 -0.000006 2.686833 -5.922665 -1.530025 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger42" "ValveBiped.Bip01_L_Finger41" 0.72937 0.000015 0.000011 -2.377939 -2.417253 2.506632 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger3" "ValveBiped.Bip01_L_Hand" 3.942392 0.04668 -0.431282 11.760475 -7.590832 4.528715 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger31" "ValveBiped.Bip01_L_Finger3" 1.539091 0.000023 0.000017 -0.21142 -0.467649 -2.138337 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger32" "ValveBiped.Bip01_L_Finger31" 1.196342 0.000027 0.000004 1.031326 5.526465 -0.944295 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger2" "ValveBiped.Bip01_L_Hand" 3.883709 -0.046867 0.431606 0.711442 -6.336113 4.189925 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger21" "ValveBiped.Bip01_L_Finger2" 1.719604 0 -0.000002 1.603881 4.429363 -1.41704 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger22" "ValveBiped.Bip01_L_Finger21" 1.209187 -0.000023 0.000009 0.434647 -3.006143 -0.712188 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger1" "ValveBiped.Bip01_L_Hand" 3.859854 -0.138039 1.332636 -13.020409 -18.688108 13.219798 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger11" "ValveBiped.Bip01_L_Finger1" 1.71944 0.000019 0.000026 2.888109 11.884694 5.216778 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger12" "ValveBiped.Bip01_L_Finger11" 1.099669 -0.000019 0.00001 2.370041 6.352099 3.103077 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger0" "ValveBiped.Bip01_L_Hand" 0.806015 -0.348957 1.321301 -27.385717 -60.975606 -67.723785 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger01" "ValveBiped.Bip01_L_Finger0" 1.789795 -0.000018 0.000017 -7.130394 12.748423 -1.856382 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Finger02" "ValveBiped.Bip01_L_Finger01" 1.206993 -0.000026 0.000013 -6.332437 -9.15678 -2.86204 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger4" "ValveBiped.Bip01_R_Hand" 3.85964 -0.132542 1.193262 -18.308128 -9.059152 8.958712 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger41" "ValveBiped.Bip01_R_Finger4" 1.312534 -0.000023 -0.00002 -1.579879 -9.65686 -2.236997 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger42" "ValveBiped.Bip01_R_Finger41" 0.729372 -0.000027 -0.000006 0.872153 6.11839 -0.238979 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger3" "ValveBiped.Bip01_R_Hand" 3.94227 0.050369 0.431195 -5.902154 -13.873883 -0.285218 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger31" "ValveBiped.Bip01_R_Finger3" 1.539111 -0.000019 0.000001 1.120532 13.69444 1.171584 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger32" "ValveBiped.Bip01_R_Finger31" 1.196331 0.000004 0.000005 0.306416 -8.791467 0.95535 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger2" "ValveBiped.Bip01_R_Hand" 3.883678 -0.050308 -0.430898 5.148257 -2.694275 -1.412283 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger21" "ValveBiped.Bip01_R_Finger2" 1.719572 -0.000004 -0.000009 -1.844981 -0.624925 0.601606 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger22" "ValveBiped.Bip01_R_Finger21" 1.209154 0.000019 -0.000008 -0.439516 -8.875231 0.211021 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger1" "ValveBiped.Bip01_R_Hand" 3.859882 -0.148911 -1.331143 20.339491 -6.156715 -8.971891 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger11" "ValveBiped.Bip01_R_Finger1" 1.719407 -0.000023 -0.000024 -3.885968 -3.651343 -0.529527 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger12" "ValveBiped.Bip01_R_Finger11" 1.099665 -0.000011 -0.000012 -1.757088 -2.185658 0.074943 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger0" "ValveBiped.Bip01_R_Hand" 0.806076 -0.359852 -1.318308 36.170654 -57.101495 66.190606 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger01" "ValveBiped.Bip01_R_Finger0" 1.789776 -0.00004 -0.000011 -2.029874 9.937431 0.726805 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Finger02" "ValveBiped.Bip01_R_Finger01" 1.207012 0.000006 -0.000006 7.755214 -5.269499 -0.474062 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_R_Toe0" "ValveBiped.Bip01_R_Foot" 6.879448 0.000013 -0.000004 -0.168793 -33.481652 -4.660096 0 0 0 0 0 0 $definebone "ValveBiped.Bip01_L_Toe0" "ValveBiped.Bip01_L_Foot" 6.879448 0.000059 0.00001 -0.169366 -33.481878 -0.418487 0 0 0 0 0 0 $definebone "ValveBiped.hood1" "ValveBiped.Bip01_Head1" 1.111767 -1.105971 -4.967887 -0.000344 -76.000847 -89.999812 0 0 0 0 0 0 $definebone "ValveBiped.hood2" "ValveBiped.Bip01_Head1" 0.972744 -1.130234 4.14232 -0.000344 -76.000847 -89.999812 0 0 0 0 0 0 $jigglebone "ValveBiped.hood1" { is_flexible { length 15 tip_mass 50 pitch_stiffness 100 pitch_damping 5 yaw_stiffness 100 yaw_damping 3 allow_length_flex along_stiffness 80 along_damping 3 angle_constraint 50.000001 } } $jigglebone "ValveBiped.hood2" { is_flexible { length 15 tip_mass 50 pitch_stiffness 100 pitch_damping 5 yaw_stiffness 100 yaw_damping 3 allow_length_flex along_stiffness 80 along_damping 3 angle_constraint 50.000001 } } $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 $sequence "ragdoll" { "fgirl_anims\ragdoll.smd" activity "ACT_DIERAGDOLL" 1 fadein 0.2 fadeout 0.2 fps 30 ikrule "rhand" release ikrule "lhand" release ikrule "rfoot" release ikrule "lfoot" release } $includemodel "f_anm.mdl" $collisionjoints "fgirl_physics.smd" { $mass 0 $inertia 10 $damping 0.01 $rotdamping 1.5 $rootbone " " $jointconstrain "ValveBiped.Bip01_L_Thigh" x limit -12 12 0 $jointconstrain "ValveBiped.Bip01_L_Thigh" y limit -73 6 0 $jointconstrain "ValveBiped.Bip01_L_Thigh" z limit -93 30 0 $jointconstrain "ValveBiped.Bip01_L_Calf" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Calf" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Calf" z limit -8 126 0 $jointconstrain "ValveBiped.Bip01_R_Thigh" x limit -12 12 0 $jointconstrain "ValveBiped.Bip01_R_Thigh" y limit -8 75 0 $jointconstrain "ValveBiped.Bip01_R_Thigh" z limit -97 32 0 $jointconstrain "ValveBiped.Bip01_R_Calf" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Calf" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Calf" z limit -12 126 0 $jointconstrain "ValveBiped.Bip01_R_Foot" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Foot" y limit -25 6 0 $jointconstrain "ValveBiped.Bip01_R_Foot" z limit -15 35 0 $jointconstrain "ValveBiped.Bip01_Spine2" x limit -48 48 0 $jointconstrain "ValveBiped.Bip01_Spine2" y limit -25 25 0 $jointconstrain "ValveBiped.Bip01_Spine2" z limit -25 50 0 $jointconstrain "ValveBiped.Bip01_L_UpperArm" x limit -30 30 0 $jointconstrain "ValveBiped.Bip01_L_UpperArm" y limit -95 84 0 $jointconstrain "ValveBiped.Bip01_L_UpperArm" z limit -86 26 0 $jointconstrain "ValveBiped.Bip01_L_Forearm" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Forearm" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Forearm" z limit -149 4 0 $jointconstrain "ValveBiped.Bip01_R_UpperArm" x limit -39 39 0 $jointconstrain "ValveBiped.Bip01_R_UpperArm" y limit -79 95 0 $jointconstrain "ValveBiped.Bip01_R_UpperArm" z limit -93 23 0 $jointconstrain "ValveBiped.Bip01_R_Forearm" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Forearm" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Forearm" z limit -149 4 0 $jointconstrain "ValveBiped.Bip01_R_Hand" x limit -60 60 0 $jointconstrain "ValveBiped.Bip01_R_Hand" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_R_Hand" z limit -57 70 0 $jointconstrain "ValveBiped.Bip01_Head1" x limit -20 20 0 $jointconstrain "ValveBiped.Bip01_Head1" y limit -25 25 0 $jointconstrain "ValveBiped.Bip01_Head1" z limit -13 30 0 $jointconstrain "ValveBiped.Bip01_L_Hand" x limit -37 37 0 $jointconstrain "ValveBiped.Bip01_L_Hand" y limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Hand" z limit -57 59 0 $jointconstrain "ValveBiped.Bip01_L_Foot" x limit 0 0 0 $jointconstrain "ValveBiped.Bip01_L_Foot" y limit -19 19 0 $jointconstrain "ValveBiped.Bip01_L_Foot" z limit -15 35 0 } $collisiontext { animatedfriction  { "animfrictionmin" "1.000000" "animfrictionmax" "400.000000" "animfrictiontimein" "0.500000" "animfrictiontimeout" "0.000000" "animfrictiontimehold" "0.300000" } editparams  { "rootname" "valvebiped.bip01_pelvis" "totalmass" "90.000000" "jointmerge" "ValveBiped.Bip01_Pelvis,ValveBiped.Bip01_Spine1" } } Thank you for helping. -AssassinBunny
You weight painted and re-rigged the skeleton right?
This isn't even Lua. It's the QC file for the actual model you're trying to compile. Anyway, I don't think your actually naming your reference model on line 10, as the compile log would suggest: ERROR: c:\users\rabbi\desktop\am decompiled\decompiled 0.56\fgirl.qc(10): - could not load file '{' The proper syntax for the $model parameter is: $model "<name>" "<filpath>/<reference_model>.smd"
Oops sorry I ment QC file
Sorry, you need to Log In to post a reply to this thread.