• Probel at compiling
    0 replies, posted
So i compiling model from original police.mdl to admin.md with other materials for player model and i get this Processing $shadowlod SMD MODEL C:\Users\Vartotojas\Desktop\garrysmod\/lod6_Police_reference.smd SMD MODEL C:\Users\Vartotojas\Desktop\garrysmod\/UnknownModelName.smd ERROR: Model can only have one $shadowlod and it must be the last lod in the .qc (122) : end ERROR: Aborted Processing on 'admin.mdl' I choosen orangebox "Counter-Strike:Source" Section. I might do bad because i just started with all this modeling thing with garrysmod player models and i still don't know how to compile model right that cuold work with player model bone structure. Ok i get it i deleted all the manhack lods and it worked , but i dont know if it wuold work on gmod. $cd "C:\Users\Vartotojas\Desktop\garrysmod\" $modelname "admin.mdl" $model "police" "Police_reference.smd" $lod 12 { replacemodel "Police_reference" "lod1_Police_reference" } $lod 18 { replacemodel "Police_reference" "lod2_Police_reference" } $lod 42 { replacemodel "Police_reference" "lod3_Police_reference" } $lod 55 { replacemodel "Police_reference" "lod4_Police_reference" } $lod 80 { replacemodel "Police_reference" "lod5_Police_reference" } $shadowlod { replacemodel "Police_reference" "lod6_Police_reference" } $model "manhack" "UnknownModelName.smd" $lod 12 { replacemodel "UnknownModelName" "lod1_UnknownModelName" } $lod 18 { replacemodel "UnknownModelName" "lod2_UnknownModelName" } $lod 42 { replacemodel "UnknownModelName" "lod3_UnknownModelName" } $lod 55 { replacemodel "UnknownModelName" "lod4_UnknownModelName" } $lod 80 { replacemodel "UnknownModelName" "lod5_UnknownModelName" } $shadowlod { replacemodel "UnknownModelName" "lod6_UnknownModelName" } $model "manhack" "Manhack_reference.smd" $lod 12 { replacemodel "Manhack_reference" "lod1_Manhack_reference" } $lod 18 { replacemodel "Manhack_reference" "lod2_Manhack_reference" } $lod 42 { replacemodel "Manhack_reference" "lod3_Manhack_reference" } $lod 55 { replacemodel "Manhack_reference" "lod4_Manhack_reference" } $lod 80 { replacemodel "Manhack_reference" "lod5_Manhack_reference" } $shadowlod { replacemodel "Manhack_reference" "lod6_Manhack_reference" } $cdmaterials "models\gmodlt\" $hboxset "default" $hbox 1 "ValveBiped.Bip01_Head1" -3.500 -7.710 -3.850 7.500 5.710 3.960 $hbox 4 "ValveBiped.Bip01_L_UpperArm" 0.000 -3.370 -3.700 12.510 3.400 2.410 $hbox 4 "ValveBiped.Bip01_L_Forearm" -0.900 -3.490 -3.170 9.490 3.100 2.410 $hbox 4 "ValveBiped.Bip01_L_Hand" -1.110 -1.890 -2.380 5.720 1.460 2.340 $hbox 5 "ValveBiped.Bip01_R_UpperArm" 0.000 -3.370 -2.370 12.390 3.410 3.800 $hbox 5 "ValveBiped.Bip01_R_Forearm" -0.990 -3.500 -2.370 9.330 3.100 3.270 $hbox 5 "ValveBiped.Bip01_R_Hand" -1.190 -1.860 -2.330 5.310 1.940 2.610 $hbox 6 "ValveBiped.Bip01_L_Thigh" 0.000 -6.000 -3.550 17.850 4.000 4.450 $hbox 6 "ValveBiped.Bip01_L_Calf" 0.000 -3.510 -3.280 15.640 3.490 2.720 $hbox 6 "ValveBiped.Bip01_L_Foot" -1.070 -2.000 -2.840 5.040 5.000 2.160 $hbox 6 "ValveBiped.Bip01_L_Toe0" -0.500 -3.000 -2.190 2.500 0.000 2.460 $hbox 7 "ValveBiped.Bip01_R_Thigh" 0.000 -6.000 -4.550 17.850 4.000 3.400 $hbox 7 "ValveBiped.Bip01_R_Calf" 0.000 -3.510 -2.820 15.640 3.490 3.180 $hbox 7 "ValveBiped.Bip01_R_Foot" -1.060 -2.010 -2.280 5.050 4.990 2.720 $hbox 7 "ValveBiped.Bip01_R_Toe0" -0.500 -3.000 -2.600 2.500 0.000 2.100 $hbox 3 "ValveBiped.Bip01_Pelvis" -7.500 -6.000 -6.000 7.500 6.000 6.000 $hbox 2 "ValveBiped.Bip01_Spine2" -6.500 -2.500 -7.000 10.500 7.500 7.000 // Model uses material "admin_sheet.vmt" // Model uses material "aa_sheet.vmt" $attachment "eyes" "ValveBiped.Bip01_Head1" 3.34 -5.28 -0.00 rotate 0.00 -80.10 -90.00 $attachment "Center" "ValveBiped.Bip01_Spine1" -6.20 2.09 0.00 rotate -0.00 96.62 90.00 $attachment "Chest" "ValveBiped.Bip01_Spine4" -2.70 3.88 -0.00 rotate -0.00 79.75 90.00 $attachment "LHand" "ValveBiped.Bip01_L_Hand" 3.00 -0.00 -0.00 rotate -0.00 0.00 -0.00 $attachment "RHand" "ValveBiped.Bip01_R_Hand" 3.00 0.00 0.00 rotate 0.00 -0.00 -0.00 $attachment "zipline" "ValveBiped.Bip01_Spine4" 2.00 -2.00 -0.00 rotate 0.00 -17.00 -0.00 $attachment "manhack" "ValveBiped.Bip01_Spine" 18.00 -6.00 3.00 rotate -25.00 50.00 0.00 $attachment "forward" "ValveBiped.forward" 0.00 0.00 0.00 rotate 0.00 0.00 -0.00 $attachment "anim_attachment_RH" "ValveBiped.Anim_Attachment_RH" -0.00 -0.00 -0.00 rotate -90.00 -90.00 0.00 $attachment "anim_attachment_LH" "ValveBiped.Anim_Attachment_LH" -0.00 -0.00 0.00 rotate -90.00 -90.00 0.00 $attachment "anim_attachment_head" "ValveBiped.Bip01_Head1" -0.00 0.00 0.00 rotate -90.00 -90.00 0.00 $includemodel "m_anm.mdl" $includemodel "m_shd.mdl" $surfaceprop "flesh" $eyeposition -0.000 0.000 72.000 $illumposition -1.866 0.053 36.320 $sequence ragdoll "ragdoll" ACT_DIERAGDOLL 1 fps 30.00 $ikchain rhand ValveBiped.Bip01_R_Hand knee 0.707 0.707 0.000 $ikchain lhand ValveBiped.Bip01_L_Hand knee 0.707 0.707 0.000 $ikchain rfoot ValveBiped.Bip01_R_Foot knee 0.707 -0.707 0.000 $ikchain lfoot ValveBiped.Bip01_L_Foot knee 0.707 -0.707 0.000 $collisionjoints "phymodel.smd" { $mass 90.0 $inertia 2.00 $damping 0.01 $rotdamping 0.40 $rootbone "valvebiped.bip01_pelvis" $jointmerge "ValveBiped.Bip01_Pelvis" "ValveBiped.Bip01_Spine1" $jointconstrain "valvebiped.bip01_spine2" x limit -48.00 48.00 0.20 $jointconstrain "valvebiped.bip01_spine2" y limit -25.00 25.00 0.20 $jointconstrain "valvebiped.bip01_spine2" z limit -25.00 50.00 0.20 $jointconstrain "valvebiped.bip01_r_upperarm" x limit -50.00 57.00 0.20 $jointconstrain "valvebiped.bip01_r_upperarm" y limit -19.00 102.00 0.20 $jointconstrain "valvebiped.bip01_r_upperarm" z limit -93.00 30.00 0.20 $jointconstrain "valvebiped.bip01_l_upperarm" x limit -50.00 57.00 0.20 $jointconstrain "valvebiped.bip01_l_upperarm" y limit -102.00 19.00 0.20 $jointconstrain "valvebiped.bip01_l_upperarm" z limit -93.00 30.00 0.20 $jointmassbias "valvebiped.bip01_l_forearm" 2.00 $jointconstrain "valvebiped.bip01_l_forearm" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" y limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_l_forearm" z limit -120.00 4.00 0.20 $jointmassbias "valvebiped.bip01_l_hand" 4.00 $jointconstrain "valvebiped.bip01_l_hand" x limit -60.00 60.00 0.20 $jointconstrain "valvebiped.bip01_l_hand" y limit -30.00 30.00 0.20 $jointconstrain "valvebiped.bip01_l_hand" z limit -57.00 70.00 0.20 $jointmassbias "valvebiped.bip01_r_forearm" 2.00 $jointconstrain "valvebiped.bip01_r_forearm" x limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_r_forearm" y limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_r_forearm" z limit -120.00 4.00 0.20 $jointmassbias "valvebiped.bip01_r_hand" 4.00 $jointconstrain "valvebiped.bip01_r_hand" x limit -60.00 60.00 0.20 $jointconstrain "valvebiped.bip01_r_hand" y limit -30.00 30.00 0.20 $jointconstrain "valvebiped.bip01_r_hand" z limit -57.00 70.00 0.20 $jointconstrain "valvebiped.bip01_r_thigh" x limit -25.00 39.00 0.20 $jointconstrain "valvebiped.bip01_r_thigh" y limit -8.00 75.00 0.20 $jointconstrain "valvebiped.bip01_r_thigh" z limit -97.00 32.00 0.20 $jointmassbias "valvebiped.bip01_r_calf" 2.00 $jointconstrain "valvebiped.bip01_r_calf" x limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_r_calf" y limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_r_calf" z limit -12.00 126.00 0.20 $jointmassbias "valvebiped.bip01_head1" 2.00 $jointconstrain "valvebiped.bip01_head1" x limit -20.00 20.00 0.20 $jointconstrain "valvebiped.bip01_head1" y limit -25.00 25.00 0.20 $jointconstrain "valvebiped.bip01_head1" z limit -13.00 30.00 0.20 $jointconstrain "valvebiped.bip01_l_thigh" x limit -25.00 20.00 0.20 $jointconstrain "valvebiped.bip01_l_thigh" y limit -73.00 6.00 0.20 $jointconstrain "valvebiped.bip01_l_thigh" z limit -93.00 30.00 0.20 $jointmassbias "valvebiped.bip01_l_calf" 2.00 $jointconstrain "valvebiped.bip01_l_calf" x limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_l_calf" y limit 0.00 0.00 0.20 $jointconstrain "valvebiped.bip01_l_calf" z limit -8.00 126.00 0.20 $jointmassbias "valvebiped.bip01_l_foot" 2.00 $jointconstrain "valvebiped.bip01_l_foot" x limit -1.00 -1.00 0.20 $jointconstrain "valvebiped.bip01_l_foot" y limit -19.00 19.00 0.20 $jointconstrain "valvebiped.bip01_l_foot" z limit -15.00 35.00 0.20 $jointmassbias "valvebiped.bip01_r_foot" 2.00 $jointconstrain "valvebiped.bip01_r_foot" x limit 0.00 0.00 0.00 $jointconstrain "valvebiped.bip01_r_foot" y limit -21.00 6.00 0.20 $jointconstrain "valvebiped.bip01_r_foot" z limit -15.00 35.00 0.20 $animatedfriction 1.000 1000.000 0.800 0.500 0.000 } [editline]6th January 2011[/editline] I just deleted that line and the thing happen ERROR: Too many LODs (MAX_NUM_LODS==8) ERROR: Aborted Processing on 'admin.mdl' I fix the thing but there is no texture on it just white and purple squares. [editline]6th January 2011[/editline] Ok i fixed the whole thing i just put metrocop_sheet the old textures just in other model didin't renamed them and the texture works . Silly me i fixed it my sellf. Admin delete this page.
Sorry, you need to Log In to post a reply to this thread.