1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-01-11 18:40:25 +01:00

Update mobs mod

- add chicken/chicken_black models
- add DM_strangewhite/DM_cobblestone models
- add rat/rat_brown models
- add the support for multiple textures/models in
rat.lua/sandmonster.lua/spider.lua/stonemonster.lua/treemonster.lua
- add the honey_block texture
This commit is contained in:
Ombridride 2014-12-09 14:22:26 +01:00
parent 48dd18d49a
commit 8c2391d5ac
12 changed files with 26 additions and 5 deletions

BIN
mods/mobs/models/mobs_chicken.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
mods/mobs/models/mobs_rat.png Normal file → Executable file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

View File

@ -8,7 +8,12 @@ mobs:register_mob("mobs:rat", {
collisionbox = {-0.2, -0.01, -0.2, 0.2, 0.2, 0.2},
visual = "mesh",
mesh = "mobs_rat.x",
textures = {"mobs_rat.png"},
--textures = {"mobs_rat.png"},
available_textures = {
total = 2,
texture_1 = {"mobs_rat.png"},
texture_2 = {"mobs_rat_brown.png"},
},
makes_footstep_sound = false,
walk_velocity = 1,
armor = 200,

View File

@ -8,7 +8,11 @@ mobs:register_mob("mobs:sand_monster", {
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
visual = "mesh",
mesh = "mobs_sand_monster.x",
textures = {"mobs_sand_monster.png"},
--textures = {"mobs_sand_monster.png"},
available_textures = {
total = 1,
texture_1 = {"mobs_sand_monster.png"},
},
visual_size = {x=8,y=8},
makes_footstep_sound = true,
view_range = 16,

View File

@ -6,7 +6,11 @@ mobs:register_mob("mobs:spider", {
hp_min = 30,
hp_max = 35,
collisionbox = {-0.9, -0.01, -0.7, 0.7, 0.6, 0.7},
textures = {"mobs_spider.png"},
--textures = {"mobs_spider.png"},
available_textures = {
total = 1,
texture_1 = {"mobs_spider.png"},
},
visual_size = {x=7,y=7},
visual = "mesh",
mesh = "mobs_spider.x",

View File

@ -8,7 +8,11 @@ mobs:register_mob("mobs:stone_monster", {
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
visual = "mesh",
mesh = "mobs_stone_monster.x",
textures = {"mobs_stone_monster.png"},
--textures = {"mobs_stone_monster.png"},
available_textures = {
total = 1,
texture_1 = {"mobs_stone_monster.png"},
},
visual_size = {x=3, y=2.6},
makes_footstep_sound = true,
view_range = 16,

Binary file not shown.

After

Width:  |  Height:  |  Size: 272 B

View File

@ -8,7 +8,11 @@ mobs:register_mob("mobs:tree_monster", {
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4},
visual = "mesh",
mesh = "mobs_tree_monster.x",
textures = {"mobs_tree_monster.png"},
--textures = {"mobs_tree_monster.png"},
available_textures = {
total = 1,
texture_1 = {"mobs_tree_monster.png"},
},
visual_size = {x=4.5,y=4.5},
makes_footstep_sound = true,
view_range = 16,