Add support for hats, so that MineCraft skins using this feature are compatible
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 26 Nov 2012 23:26:51 +0000 (01:26 +0200)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 26 Nov 2012 23:26:51 +0000 (01:26 +0200)
mods/default/models/character.blend
mods/default/models/character.x

index 048a4534dcb23c7182f28faba2d422ac54df94f1..aa92f3f985cddd14cb6c6cc1af7be443d40437cf 100644 (file)
Binary files a/mods/default/models/character.blend and b/mods/default/models/character.blend differ
index 0d981d63a30d0992ca06b2be052c1b30e11c686e..b14f488140dfb2985c86079d269529a6f4472b87 100644 (file)
@@ -86,7 +86,7 @@ Frame Root {
          0.000000, 0.000000, 0.000000, 1.000000;;
       }
       Mesh { //Cube_001 Mesh
-        144;
+        168;
          2.000000;-1.000000; 6.750000;,
         -2.000000;-1.000000; 6.750000;,
         -2.000000;-1.000000;13.500000;,
@@ -230,8 +230,32 @@ Frame Root {
          2.000000;-1.000000; 6.750000;,
          0.000000;-1.000000; 6.750000;,
          0.000000; 1.000000; 6.750000;,
-         2.000000; 1.000000; 6.750000;;
-        36;
+         2.000000; 1.000000; 6.750000;,
+         2.200000;-2.200000;13.300000;,
+        -2.200000;-2.200000;13.300000;,
+        -2.200000;-2.200000;17.700001;,
+         2.200000;-2.200000;17.700001;,
+        -2.200000;-2.200000;13.300000;,
+        -2.200000; 2.200000;13.300000;,
+        -2.200000; 2.200000;17.700001;,
+        -2.200000;-2.200000;17.700001;,
+        -2.200000; 2.200000;13.300000;,
+         2.200000; 2.200000;13.300000;,
+         2.200000; 2.200000;17.700001;,
+        -2.200000; 2.200000;17.700001;,
+        -2.200000; 2.200000;13.300000;,
+        -2.200000;-2.200000;13.300000;,
+         2.200000;-2.200000;13.300000;,
+         2.200000; 2.200000;13.300000;,
+         2.200000; 2.200000;17.700001;,
+         2.200000;-2.200000;17.700001;,
+        -2.200000;-2.200000;17.700001;,
+        -2.200000; 2.200000;17.700001;,
+         2.200000; 2.200000;17.700001;,
+         2.200000; 2.200000;13.300000;,
+         2.200000;-2.200000;13.300000;,
+         2.200000;-2.200000;17.700001;;
+        42;
         4;0;1;2;3;,
         4;4;5;6;7;,
         4;8;9;10;11;,
@@ -267,9 +291,15 @@ Frame Root {
         4;128;129;130;131;,
         4;132;133;134;135;,
         4;136;137;138;139;,
-        4;140;141;142;143;;
+        4;140;141;142;143;,
+        4;144;145;146;147;,
+        4;148;149;150;151;,
+        4;152;153;154;155;,
+        4;156;157;158;159;,
+        4;160;161;162;163;,
+        4;164;165;166;167;;
         MeshNormals { //Cube_001 Normals
-          144;
+          168;
           -0.000000;-1.000000; 0.000000;,
           -0.000000;-1.000000; 0.000000;,
           -0.000000;-1.000000; 0.000000;,
@@ -413,8 +443,32 @@ Frame Root {
            0.000000;-0.000000; 1.000000;,
            0.000000;-0.000000; 1.000000;,
            0.000000;-0.000000; 1.000000;,
-           0.000000;-0.000000; 1.000000;;
-          36;
+           0.000000;-0.000000; 1.000000;,
+           0.000000;-1.000000; 0.000000;,
+           0.000000;-1.000000; 0.000000;,
+           0.000000;-1.000000; 0.000000;,
+           0.000000;-1.000000; 0.000000;,
+          -1.000000; 0.000000; 0.000000;,
+          -1.000000; 0.000000; 0.000000;,
+          -1.000000; 0.000000; 0.000000;,
+          -1.000000; 0.000000; 0.000000;,
+           0.000000; 1.000000;-0.000000;,
+           0.000000; 1.000000;-0.000000;,
+           0.000000; 1.000000;-0.000000;,
+           0.000000; 1.000000;-0.000000;,
+           0.000000; 0.000000;-1.000000;,
+           0.000000; 0.000000;-1.000000;,
+           0.000000; 0.000000;-1.000000;,
+           0.000000; 0.000000;-1.000000;,
+           0.000000; 0.000000; 1.000000;,
+           0.000000; 0.000000; 1.000000;,
+           0.000000; 0.000000; 1.000000;,
+           0.000000; 0.000000; 1.000000;,
+           1.000000; 0.000000; 0.000000;,
+           1.000000; 0.000000; 0.000000;,
+           1.000000; 0.000000; 0.000000;,
+           1.000000; 0.000000; 0.000000;;
+          42;
           4;0;1;2;3;,
           4;4;5;6;7;,
           4;8;9;10;11;,
@@ -450,11 +504,23 @@ Frame Root {
           4;128;129;130;131;,
           4;132;133;134;135;,
           4;136;137;138;139;,
-          4;140;141;142;143;;
+          4;140;141;142;143;,
+          4;144;145;146;147;,
+          4;148;149;150;151;,
+          4;152;153;154;155;,
+          4;156;157;158;159;,
+          4;160;161;162;163;,
+          4;164;165;166;167;;
         } //End of Cube_001 Normals
         MeshMaterialList { //Cube_001 Material List
           1;
-          36;
+          42;
+          0,
+          0,
+          0,
+          0,
+          0,
+          0,
           0,
           0,
           0,
@@ -500,7 +566,7 @@ Frame Root {
           }
         } //End of Cube_001 Material List
         MeshTextureCoords { //Cube_001 UV Coordinates
-          144;
+          168;
            0.625000; 1.000000;,
            0.500000; 1.000000;,
            0.500000; 0.625000;,
@@ -644,7 +710,31 @@ Frame Root {
            0.125000; 0.500000;,
            0.062500; 0.500000;,
            0.062500; 0.625000;,
-           0.125000; 0.625000;;
+           0.125000; 0.625000;,
+           1.000000; 0.500000;,
+           0.875000; 0.500000;,
+           0.875000; 0.250000;,
+           1.000000; 0.250000;,
+           0.875000; 0.500000;,
+           0.750000; 0.500000;,
+           0.750000; 0.250000;,
+           0.875000; 0.250000;,
+           0.750000; 0.500000;,
+           0.625000; 0.500000;,
+           0.625000; 0.250000;,
+           0.750000; 0.250000;,
+           0.750000; 0.250000;,
+           0.750000; 0.000000;,
+           0.875000; 0.000000;,
+           0.875000; 0.250000;,
+           0.625000; 0.250000;,
+           0.625000; 0.000000;,
+           0.750000; 0.000000;,
+           0.750000; 0.250000;,
+           0.625000; 0.250000;,
+           0.625000; 0.500000;,
+           0.500000; 0.500000;,
+           0.500000; 0.250000;;
         } //End of Cube_001 UV Coordinates
         XSkinMeshHeader {
           1;
@@ -652,32 +742,57 @@ Frame Root {
           6;
         }
         SkinWeights {
-          "Armature_Leg_Right";
-          24;
-          20,
-          21,
-          22,
-          23,
-          64,
-          65,
-          66,
-          67,
-          80,
-          81,
-          82,
-          83,
-          88,
-          89,
-          90,
-          91,
-          124,
-          125,
-          126,
-          127,
-          140,
-          141,
-          142,
-          143;
+          "Armature_Head";
+          48;
+          40,
+          41,
+          42,
+          43,
+          44,
+          45,
+          46,
+          47,
+          48,
+          49,
+          50,
+          51,
+          52,
+          53,
+          54,
+          55,
+          56,
+          57,
+          58,
+          59,
+          96,
+          97,
+          98,
+          99,
+          144,
+          145,
+          146,
+          147,
+          148,
+          149,
+          150,
+          151,
+          152,
+          153,
+          154,
+          155,
+          156,
+          157,
+          158,
+          159,
+          160,
+          161,
+          162,
+          163,
+          164,
+          165,
+          166,
+          167;
+          1.000000,
           1.000000,
           1.000000,
           1.000000,
@@ -701,39 +816,6 @@ Frame Root {
           1.000000,
           1.000000,
           1.000000,
-          1.000000;
-           1.000000,-0.000000,-0.000000, 0.000000,
-           0.000000, 0.000000, 1.000000, 0.000000,
-          -0.000000,-1.000000, 0.000000, 0.000000,
-          -1.000000, 6.750001,-0.000001, 1.000000;;
-        }  //End of Armature_Leg_Right Skin Weights
-        SkinWeights {
-          "Armature_Arm_Left";
-          24;
-          24,
-          25,
-          26,
-          27,
-          28,
-          29,
-          30,
-          31,
-          104,
-          105,
-          106,
-          107,
-          108,
-          109,
-          110,
-          111,
-          116,
-          117,
-          118,
-          119,
-          132,
-          133,
-          134,
-          135;
           1.000000,
           1.000000,
           1.000000,
@@ -758,11 +840,11 @@ Frame Root {
           1.000000,
           1.000000,
           1.000000;
-           0.989214,-0.143940,-0.027164, 0.000000,
-           0.027450,-0.000000, 0.999623, 0.000000,
-          -0.143886,-0.989587, 0.003951, 0.000000,
-           3.920884,13.071540,-0.107668, 1.000000;;
-        }  //End of Armature_Arm_Left Skin Weights
+          -1.000000, 0.000000,-0.000000, 0.000000,
+          -0.000000,-0.000000, 1.000000, 0.000000,
+           0.000000, 1.000000, 0.000000, 0.000000,
+          -0.000000,-13.500000,-0.000002, 1.000000;;
+        }  //End of Armature_Head Skin Weights
         SkinWeights {
           "Armature_Body";
           24;
@@ -819,62 +901,6 @@ Frame Root {
            0.000000, 1.000000, 0.000000, 0.000000,
            0.000000,-6.750000,-0.000001, 1.000000;;
         }  //End of Armature_Body Skin Weights
-        SkinWeights {
-          "Armature_Head";
-          24;
-          40,
-          41,
-          42,
-          43,
-          44,
-          45,
-          46,
-          47,
-          48,
-          49,
-          50,
-          51,
-          52,
-          53,
-          54,
-          55,
-          56,
-          57,
-          58,
-          59,
-          96,
-          97,
-          98,
-          99;
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000,
-          1.000000;
-          -1.000000, 0.000000,-0.000000, 0.000000,
-          -0.000000,-0.000000, 1.000000, 0.000000,
-           0.000000, 1.000000, 0.000000, 0.000000,
-          -0.000000,-13.500000,-0.000002, 1.000000;;
-        }  //End of Armature_Head Skin Weights
         SkinWeights {
           "Armature_Arm_Right";
           24;
@@ -931,6 +957,118 @@ Frame Root {
            0.143886,-0.989587, 0.003951, 0.000000,
           -3.920884,13.071540,-0.107668, 1.000000;;
         }  //End of Armature_Arm_Right Skin Weights
+        SkinWeights {
+          "Armature_Arm_Left";
+          24;
+          24,
+          25,
+          26,
+          27,
+          28,
+          29,
+          30,
+          31,
+          104,
+          105,
+          106,
+          107,
+          108,
+          109,
+          110,
+          111,
+          116,
+          117,
+          118,
+          119,
+          132,
+          133,
+          134,
+          135;
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000;
+           0.989214,-0.143940,-0.027164, 0.000000,
+           0.027450,-0.000000, 0.999623, 0.000000,
+          -0.143886,-0.989587, 0.003951, 0.000000,
+           3.920884,13.071540,-0.107668, 1.000000;;
+        }  //End of Armature_Arm_Left Skin Weights
+        SkinWeights {
+          "Armature_Leg_Right";
+          24;
+          20,
+          21,
+          22,
+          23,
+          64,
+          65,
+          66,
+          67,
+          80,
+          81,
+          82,
+          83,
+          88,
+          89,
+          90,
+          91,
+          124,
+          125,
+          126,
+          127,
+          140,
+          141,
+          142,
+          143;
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000,
+          1.000000;
+           1.000000,-0.000000,-0.000000, 0.000000,
+           0.000000, 0.000000, 1.000000, 0.000000,
+          -0.000000,-1.000000, 0.000000, 0.000000,
+          -1.000000, 6.750001,-0.000001, 1.000000;;
+        }  //End of Armature_Leg_Right Skin Weights
         SkinWeights {
           "Armature_Leg_Left";
           24;