Update models and textures; add dirt monster model

pull/4/head
PilzAdam 2013-06-03 19:08:56 +02:00
parent 5e6374bf12
commit b254ecd9fc
8 changed files with 1417 additions and 1487 deletions

View File

@ -3,10 +3,11 @@ dofile(minetest.get_modpath("mobs").."/api.lua")
mobs:register_mob("mobs:dirt_monster", {
type = "monster",
hp_max = 5,
collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
visual = "upright_sprite",
visual_size = {x=1, y=2},
textures = {"mobs_dirt_monster.png", "mobs_dirt_monster_back.png"},
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
visual = "mesh",
mesh = "mobs_stone_monster.x",
textures = {"mobs_dirt_monster.png"},
visual_size = {x=3, y=2.6},
makes_footstep_sound = true,
view_range = 15,
walk_velocity = 1,
@ -25,6 +26,18 @@ mobs:register_mob("mobs:dirt_monster", {
light_damage = 2,
on_rightclick = nil,
attack_type = "dogfight",
animation = {
speed_normal = 15,
speed_run = 15,
stand_start = 0,
stand_end = 14,
walk_start = 15,
walk_end = 38,
run_start = 40,
run_end = 63,
punch_start = 40,
punch_end = 63,
}
})
mobs:register_spawn("mobs:dirt_monster", {"default:dirt_with_grass"}, 3, -1, 7000, 3, 31000)

BIN
models/mobs_dirt_monster.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -35,37 +35,37 @@ Frame Root {
0.999981,-0.000000,-0.006250, 0.000000,
0.006250, 0.000000, 0.999981, 0.000000,
-0.000000,-1.000000, 0.000000, 0.000000,
-0.013160,-0.000000,-0.215890, 1.000000;;
-0.013160,-0.000000,-0.231382, 1.000000;;
}
Frame Armature_Bone_001 {
FrameTransformMatrix {
0.992957, 0.005569,-0.118341, 0.000000,
-0.118307,-0.006091,-0.992958, 0.000000,
-0.006250, 0.999966,-0.005389, 0.000000,
0.992969, 0.003712,-0.118316, 0.000000,
-0.118209,-0.021667,-0.992752, 0.000000,
-0.006249, 0.999758,-0.021075, 0.000000,
-0.777564, 2.195408, 0.000000, 1.000000;;
}
} //End of Armature_Bone_001
Frame Armature_Bone_002 {
FrameTransformMatrix {
0.986589, 0.005287, 0.163141, 0.000000,
0.163107, 0.006337,-0.986588, 0.000000,
-0.006250, 0.999966, 0.005390, 0.000000,
0.986605, 0.002728, 0.163107, 0.000000,
0.163010, 0.021813,-0.986383, 0.000000,
-0.006249, 0.999758, 0.021076, 0.000000,
0.734794, 2.204861, 0.000000, 1.000000;;
}
} //End of Armature_Bone_002
Frame Armature_Bone_003 {
FrameTransformMatrix {
0.999979, 0.006415,-0.000003, 0.000000,
0.006414,-0.999849, 0.016139, 0.000000,
0.000101,-0.016138,-0.999870, 0.000000,
0.999979, 0.006415,-0.000010, 0.000000,
0.006403,-0.997984, 0.063140, 0.000000,
0.000395,-0.063139,-0.998005, 0.000000,
0.287642,-0.253263, 0.000001, 1.000000;;
}
} //End of Armature_Bone_003
Frame Armature_Bone_004 {
FrameTransformMatrix {
0.999979, 0.006415, 0.000003, 0.000000,
0.006414,-0.999849,-0.016139, 0.000000,
-0.000101, 0.016139,-0.999870, 0.000000,
0.999979, 0.006415, 0.000010, 0.000000,
0.006403,-0.997984,-0.063141, 0.000000,
-0.000395, 0.063139,-0.998005, 0.000000,
-0.421866,-0.257697, 0.000001, 1.000000;;
}
} //End of Armature_Bone_004
@ -77,7 +77,7 @@ Frame Root {
0.000000,-0.000000, 1.000000, 0.000000,
-0.019749,-0.002151,-3.487330, 1.000000;;
}
Mesh { //Cube_007 Mesh
Mesh { //Cube_000 Mesh
192;
-0.137080; 0.268539; 0.030404;,
-0.137080;-0.268539; 0.030404;,
@ -320,7 +320,7 @@ Frame Root {
4;180;181;182;183;,
4;184;185;186;187;,
4;188;189;190;191;;
MeshNormals { //Cube_007 Normals
MeshNormals { //Cube_000 Normals
192;
1.000000;-0.000000;-0.000000;,
1.000000;-0.000000;-0.000000;,
@ -563,8 +563,8 @@ Frame Root {
4;180;181;182;183;,
4;184;185;186;187;,
4;188;189;190;191;;
} //End of Cube_007 Normals
MeshMaterialList { //Cube_007 Material List
} //End of Cube_000 Normals
MeshMaterialList { //Cube_000 Material List
1;
48;
0,
@ -620,209 +620,264 @@ Frame Root {
96.078431;
0.500000; 0.500000; 0.500000;;
0.000000; 0.000000; 0.000000;;
TextureFilename {"stone_monster_.png";}
}
} //End of Cube_007 Material List
MeshTextureCoords { //Cube_007 UV Coordinates
} //End of Cube_000 Material List
MeshTextureCoords { //Cube_000 UV Coordinates
192;
0.294177; 0.749143;,
0.294177; 0.672305;,
0.546745; 0.672305;,
0.546745; 0.749143;,
0.294177; 0.979658;,
0.294177; 0.902820;,
0.546745; 0.902819;,
0.546745; 0.979658;,
0.294177; 0.902820;,
0.294177; 0.825981;,
0.546745; 0.825981;,
0.546745; 0.902819;,
0.294177; 0.825981;,
0.294177; 0.749143;,
0.546745; 0.749143;,
0.546745; 0.825981;,
0.294177; 0.825981;,
0.294177; 0.902820;,
0.248775; 0.902820;,
0.248775; 0.825981;,
0.592146; 0.825981;,
0.592146; 0.902819;,
0.546745; 0.902819;,
0.546745; 0.825981;,
0.762015; 0.825981;,
0.762015; 0.902819;,
0.716614; 0.902819;,
0.716614; 0.825981;,
0.464046; 0.825981;,
0.464046; 0.902820;,
0.418645; 0.902820;,
0.418645; 0.825981;,
0.464046; 0.825981;,
0.464046; 0.749143;,
0.716614; 0.749143;,
0.716614; 0.825981;,
0.464046; 0.902820;,
0.464046; 0.825981;,
0.716614; 0.825981;,
0.716614; 0.902819;,
0.464046; 0.979658;,
0.464046; 0.902820;,
0.716614; 0.902819;,
0.716614; 0.979658;,
0.464046; 0.749143;,
0.464046; 0.672305;,
0.716614; 0.672305;,
0.716614; 0.749143;,
0.684377; 0.341233;,
0.684377; 0.419453;,
0.387281; 0.419453;,
0.387281; 0.341233;,
0.322774; 0.575891;,
0.322774; 0.497672;,
0.385629; 0.497672;,
0.385629; 0.575891;,
0.682725; 0.575891;,
0.682725; 0.497672;,
0.745580; 0.497671;,
0.745580; 0.575891;,
0.682725; 0.575891;,
0.682725; 0.654110;,
0.385629; 0.654110;,
0.385629; 0.575891;,
0.682725; 0.497672;,
0.682725; 0.575891;,
0.385629; 0.575891;,
0.385629; 0.497672;,
0.682725; 0.419453;,
0.682725; 0.497672;,
0.385629; 0.497672;,
0.385629; 0.419453;,
0.684377; 0.341233;,
0.684377; 0.419453;,
0.387281; 0.419453;,
0.387281; 0.341233;,
0.682725; 0.419453;,
0.682725; 0.497672;,
0.385629; 0.497672;,
0.385629; 0.419453;,
0.682725; 0.497672;,
0.682725; 0.575891;,
0.385629; 0.575891;,
0.385629; 0.497672;,
0.682725; 0.575891;,
0.682725; 0.654110;,
0.385629; 0.654110;,
0.385629; 0.575891;,
0.682725; 0.575891;,
0.682725; 0.497672;,
0.745580; 0.497671;,
0.745580; 0.575891;,
0.322774; 0.575891;,
0.322774; 0.497672;,
0.385629; 0.497672;,
0.385629; 0.575891;,
0.701823; 0.150403;,
0.619135; 0.150403;,
0.619135; 0.015398;,
0.701823; 0.015398;,
0.501930; 0.202240;,
0.359056; 0.202240;,
0.359056; 0.067236;,
0.501930; 0.067236;,
0.448853; 0.018033;,
0.448853; 0.157977;,
0.369084; 0.157977;,
0.369084; 0.018033;,
0.554856; 0.357064;,
0.554856; 0.598869;,
0.475087; 0.598869;,
0.475087; 0.357064;,
0.623347; 0.286013;,
0.540659; 0.286013;,
0.540659; 0.044207;,
0.623347; 0.044207;,
0.476429; 0.433939;,
0.476429; 0.573882;,
0.333554; 0.573882;,
0.333554; 0.433938;,
0.725496; 0.876615;,
0.642209; 0.876615;,
0.642209; 0.762735;,
0.725496; 0.762735;,
0.666267; 0.694941;,
0.558922; 0.694941;,
0.558922; 0.581061;,
0.666267; 0.581061;,
0.733554; 0.581061;,
0.733554; 0.722019;,
0.666267; 0.722019;,
0.666267; 0.581061;,
0.686423; 0.150403;,
0.686423; 0.332077;,
0.619135; 0.332077;,
0.619135; 0.150403;,
0.771058; 0.236039;,
0.687771; 0.236039;,
0.687771; 0.054364;,
0.771058; 0.054364;,
0.476429; 0.157977;,
0.476429; 0.298934;,
0.369084; 0.298934;,
0.369084; 0.157977;,
0.552440; 0.203349;,
0.476429; 0.203349;,
0.476429; 0.051983;,
0.552440; 0.051983;,
0.593004; 0.318641;,
0.450324; 0.318641;,
0.450324; 0.167275;,
0.593004; 0.167275;,
0.708220; 0.483772;,
0.632209; 0.483772;,
0.632209; 0.332405;,
0.708220; 0.332405;,
0.593937; 0.136918;,
0.736617; 0.136918;,
0.736617; 0.288284;,
0.593937; 0.288284;,
0.632209; 0.573882;,
0.556198; 0.573882;,
0.556198; 0.332405;,
0.632209; 0.332405;,
0.619109; 0.203349;,
0.619135; 0.331993;,
0.476455; 0.332077;,
0.476429; 0.203433;,
0.507194; 0.492791;,
0.379012; 0.492790;,
0.379012; 0.336702;,
0.507194; 0.336703;,
0.298120; 0.093318;,
0.298119; 0.310258;,
0.205893; 0.310258;,
0.205893; 0.093318;,
0.250830; 0.492789;,
0.137701; 0.493698;,
0.137701; 0.337610;,
0.250830; 0.336701;,
0.144143; 0.493698;,
0.011660; 0.493698;,
0.011660; 0.337610;,
0.144144; 0.337610;,
0.137701; 0.493698;,
0.137701; 0.665142;,
0.005218; 0.665142;,
0.005218; 0.493698;,
0.005218; 0.337610;,
0.005218; 0.169805;,
0.137701; 0.169805;,
0.137701; 0.337610;;
} //End of Cube_007 UV Coordinates
0.359375; 0.250000;,
0.359375; 0.375000;,
0.656250; 0.375000;,
0.656250; 0.250000;,
0.359375; 0.500000;,
0.359375; 0.375000;,
0.656250; 0.375000;,
0.656250; 0.500000;,
0.359375; 0.125000;,
0.359375; 0.000000;,
0.656250; 0.000000;,
0.656250; 0.125000;,
0.359375; 0.125000;,
0.359375; 0.250000;,
0.656250; 0.250000;,
0.656250; 0.125000;,
0.359375; 0.000000;,
0.359375; 0.125000;,
0.296875; 0.125000;,
0.296875; 0.000000;,
0.359375; 0.125000;,
0.359375; 0.250000;,
0.296875; 0.250000;,
0.296875; 0.125000;,
0.359375; 0.250000;,
0.359375; 0.125000;,
0.296875; 0.125000;,
0.296875; 0.250000;,
0.359375; 0.125000;,
0.359375; 0.000000;,
0.296875; 0.000000;,
0.296875; 0.125000;,
0.359375; 0.250000;,
0.359375; 0.125000;,
0.656250; 0.125000;,
0.656250; 0.250000;,
0.359375; 0.375000;,
0.359375; 0.250000;,
0.656250; 0.250000;,
0.656250; 0.375000;,
0.359375; 0.375000;,
0.359375; 0.500000;,
0.656250; 0.500000;,
0.656250; 0.375000;,
0.359375; 0.000000;,
0.359375; 0.125000;,
0.656250; 0.125000;,
0.656250; 0.000000;,
0.000000; 0.125000;,
0.000000; 0.250000;,
0.296875; 0.250000;,
0.296875; 0.125000;,
0.359375; 0.250000;,
0.359375; 0.375000;,
0.296875; 0.375000;,
0.296875; 0.250000;,
0.359375; 0.375000;,
0.359375; 0.500000;,
0.296875; 0.500000;,
0.296875; 0.375000;,
0.000000; 0.000000;,
0.000000; 0.125000;,
0.296875; 0.125000;,
0.296875; 0.000000;,
0.000000; 0.500000;,
0.000000; 0.375000;,
0.296875; 0.375000;,
0.296875; 0.500000;,
0.000000; 0.250000;,
0.000000; 0.375000;,
0.296875; 0.375000;,
0.296875; 0.250000;,
0.296875; 0.000000;,
0.296875; 0.125000;,
0.000000; 0.125000;,
0.000000; 0.000000;,
0.296875; 0.125000;,
0.296875; 0.250000;,
0.000000; 0.250000;,
0.000000; 0.125000;,
0.296875; 0.250000;,
0.296875; 0.375000;,
0.000000; 0.375000;,
0.000000; 0.250000;,
0.296875; 0.500000;,
0.296875; 0.375000;,
0.000000; 0.375000;,
0.000000; 0.500000;,
0.296875; 0.375000;,
0.296875; 0.250000;,
0.359375; 0.250000;,
0.359375; 0.375000;,
0.359375; 0.375000;,
0.296875; 0.375000;,
0.296875; 0.500000;,
0.359375; 0.500000;,
0.187500; 0.750000;,
0.125000; 0.750000;,
0.125000; 0.625000;,
0.187500; 0.625000;,
0.125000; 0.750000;,
0.000000; 0.750000;,
0.000000; 0.625000;,
0.125000; 0.625000;,
0.187500; 0.625000;,
0.125000; 0.625000;,
0.125000; 0.500000;,
0.187500; 0.500000;,
0.312500; 0.750000;,
0.187500; 0.750000;,
0.187500; 0.625000;,
0.312500; 0.625000;,
0.125000; 0.500000;,
0.125000; 0.625000;,
0.000000; 0.625000;,
0.000000; 0.500000;,
0.187500; 0.625000;,
0.187500; 0.500000;,
0.312500; 0.500000;,
0.312500; 0.625000;,
0.312500; 0.875000;,
0.312500; 0.718750;,
0.375000; 0.718750;,
0.375000; 0.875000;,
0.312500; 0.718750;,
0.312500; 0.500000;,
0.375000; 0.500000;,
0.375000; 0.718750;,
0.375000; 0.875000;,
0.375000; 0.718750;,
0.437500; 0.718750;,
0.437500; 0.875000;,
0.312500; 1.000000;,
0.312500; 0.875000;,
0.375000; 0.875000;,
0.375000; 1.000000;,
0.437500; 0.718750;,
0.375000; 0.718750;,
0.375000; 0.500000;,
0.437500; 0.500000;,
0.375000; 0.875000;,
0.437500; 0.875000;,
0.437500; 1.000000;,
0.375000; 1.000000;,
0.187500; 1.000000;,
0.125000; 1.000000;,
0.125000; 0.875000;,
0.187500; 0.875000;,
0.125000; 1.000000;,
0.000000; 1.000000;,
0.000000; 0.875000;,
0.125000; 0.875000;,
0.187500; 0.875000;,
0.125000; 0.875000;,
0.125000; 0.750000;,
0.187500; 0.750000;,
0.312500; 1.000000;,
0.187500; 1.000000;,
0.187500; 0.875000;,
0.312500; 0.875000;,
0.125000; 0.750000;,
0.125000; 0.875000;,
0.000000; 0.875000;,
0.000000; 0.750000;,
0.187500; 0.875000;,
0.187500; 0.750000;,
0.312500; 0.750000;,
0.312500; 0.875000;,
0.656250; 0.000000;,
0.656250; 0.250000;,
0.750000; 0.250000;,
0.750000; 0.000000;,
0.656250; 0.250000;,
0.656250; 0.500000;,
0.750000; 0.500000;,
0.750000; 0.250000;,
0.656250; 0.500000;,
0.656250; 0.750000;,
0.750000; 0.750000;,
0.750000; 0.500000;,
0.656250; 0.750000;,
0.656250; 1.000000;,
0.750000; 1.000000;,
0.750000; 0.750000;,
0.656250; 0.750000;,
0.500000; 0.750000;,
0.500000; 1.000000;,
0.656250; 1.000000;,
0.500000; 0.750000;,
0.656250; 0.750000;,
0.656250; 0.500000;,
0.500000; 0.500000;;
} //End of Cube_000 UV Coordinates
XSkinMeshHeader {
2;
6;
5;
}
SkinWeights {
"Armature_Bone_003";
24;
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47;
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.000165, 0.000000, 0.000000,
-0.000000, 0.000000, 1.000000, 0.000000,
0.000165,-1.000000, 0.000000, 0.000000,
-0.293140, 3.021661,-0.002151, 1.000000;;
} //End of Armature_Bone_003 Skin Weights
SkinWeights {
"Armature_Root";
100;
@ -1031,62 +1086,6 @@ Frame Root {
-0.006250, 0.999980, 0.000000, 0.000000,
0.013893,-3.276741, 0.002150, 1.000000;;
} //End of Armature_Root Skin Weights
SkinWeights {
"Armature_Bone_001";
24;
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95;
0.999988,
1.000000,
1.000000,
0.999991,
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.992973,-0.118342, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
-0.118342,-0.992973, 0.000000, 0.000000,
1.400077, 5.348889,-0.002152, 1.000000;;
} //End of Armature_Bone_001 Skin Weights
SkinWeights {
"Armature_Bone_004";
24;
@ -1143,6 +1142,62 @@ Frame Root {
0.000165,-1.000000, 0.000000, 0.000000,
0.416382, 3.021777,-0.002151, 1.000000;;
} //End of Armature_Bone_004 Skin Weights
SkinWeights {
"Armature_Bone_001";
24;
72,
73,
74,
75,
76,
77,
78,
79,
80,
81,
82,
83,
84,
85,
86,
87,
88,
89,
90,
91,
92,
93,
94,
95;
0.999988,
1.000000,
1.000000,
0.999991,
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.992973,-0.118342, 0.000000, 0.000000,
0.000000, 0.000000, 1.000000, 0.000000,
-0.118342,-0.992973, 0.000000, 0.000000,
1.400077, 5.348889,-0.002152, 1.000000;;
} //End of Armature_Bone_001 Skin Weights
SkinWeights {
"Armature_Bone_002";
24;
@ -1199,63 +1254,7 @@ Frame Root {
0.163144,-0.986602, 0.000000, 0.000000,
-1.638568, 5.280413,-0.002152, 1.000000;;
} //End of Armature_Bone_002 Skin Weights
SkinWeights {
"Armature_Bone_003";
24;
24,
25,
26,
27,
28,
29,
30,
31,
32,
33,
34,
35,
36,
37,
38,
39,
40,
41,
42,
43,
44,
45,
46,
47;
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.000165, 0.000000, 0.000000,
-0.000000, 0.000000, 1.000000, 0.000000,
0.000165,-1.000000, 0.000000, 0.000000,
-0.293140, 3.021661,-0.002151, 1.000000;;
} //End of Armature_Bone_003 Skin Weights
} //End of Cube_007 Mesh
} //End of Cube_000 Mesh
} //End of Cube_003
} //End of Armature
} //End of Root Frame

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB