Add model for stone monster

pull/4/head
PilzAdam 2013-04-12 18:36:48 +02:00
parent 95dc063eb8
commit bb6c767d97
5 changed files with 2767 additions and 9 deletions

View File

@ -3,7 +3,7 @@ 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, 1, 0.4},
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"},
@ -31,10 +31,14 @@ mobs:register_spawn("mobs:dirt_monster", {"default:dirt_with_grass"}, 3, -1, 700
mobs:register_mob("mobs:stone_monster", {
type = "monster",
hp_max = 10,
collisionbox = {-0.4, -1, -0.4, 0.4, 1, 0.4},
visual = "upright_sprite",
visual_size = {x=1, y=2},
textures = {"mobs_stone_monster.png", "mobs_stone_monster_back.png"},
collisionbox = {-0.4, 0, -0.4, 0.4, 1.9, 0.4},
--visual = "upright_sprite",
--visual_size = {x=1, y=2},
--textures = {"mobs_stone_monster.png", "mobs_stone_monster_back.png"},
visual = "mesh",
mesh = "mobs_stone_monster.x",
textures = {"mobs_stone_monster.png"},
visual_size = {x=3, y=2.6},
makes_footstep_sound = true,
view_range = 10,
walk_velocity = 0.5,
@ -60,7 +64,7 @@ mobs:register_spawn("mobs:stone_monster", {"default:stone"}, 3, -1, 7000, 3, 0)
mobs:register_mob("mobs:sand_monster", {
type = "monster",
hp_max = 3,
collisionbox = {-0.4, -1, -0.4, 0.4, 1, 0.4},
collisionbox = {-0.4, -1, -0.4, 0.4, 0.9, 0.4},
visual = "upright_sprite",
visual_size = {x=1, y=2},
textures = {"mobs_sand_monster.png", "mobs_sand_monster_back.png"},
@ -112,9 +116,9 @@ mobs:register_mob("mobs:sheep", {
random = "mobs_sheep",
},
animation = {
speed_normal = 10,
speed_normal = 15,
stand_start = 0,
stand_end = 59,
stand_end = 80,
walk_start = 81,
walk_end = 100,
},
@ -212,7 +216,7 @@ minetest.register_craft({
mobs:register_mob("mobs:oerkki", {
type = "monster",
hp_max = 8,
collisionbox = {-0.4, 0, -0.4, 0.4, 2, 0.4},
collisionbox = {-0.4, 0, -0.4, 0.4, 1.9, 0.4},
--visual = "upright_sprite",
--visual_size = {x=1, y=2},
--textures = {"mobs_oerkki.png", "mobs_oerkki_back.png"},

BIN
models/mobs_stone_monster.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

2754
models/mobs_stone_monster.x Executable file

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB