Texture and model improvements

Improvements to the textures of the panda, fox, and badger. The panda
model has been improved.
master
D00Med 2016-07-23 08:52:41 +10:00
parent 8e77cffa05
commit 0f22ed4b1f
10 changed files with 69 additions and 8 deletions

View File

@ -25,7 +25,7 @@ mobs:register_mob("dmobs:panda", {
{"dmobs_panda.png"},
},
blood_texture = "mobs_blood.png",
visual_size = {x=2, y=2},
visual_size = {x=1, y=1},
makes_footstep_sound = true,
walk_velocity = 0.5,
run_velocity = 1,
@ -42,14 +42,16 @@ mobs:register_mob("dmobs:panda", {
follow = {"default:papyrus"},
view_range = 14,
animation = {
speed_normal = 5,
speed_normal = 6,
speed_run = 10,
walk_start = 3,
walk_end = 13,
stand_start = 20,
stand_end = 26,
run_start = 3,
run_end = 13,
walk_start = 25,
walk_end = 45,
stand_start = 10,
stand_end = 10,
run_start = 25,
run_end = 45,
punch_start = 46,
punch_end = 57,
},
on_rightclick = function(self, clicker)
@ -280,6 +282,65 @@ mobs:register_spawn("dmobs:elephant", {"default:dirt_with_dry_grass","default:de
mobs:register_egg("dmobs:elephant", "Elephant", "default_dry_grass.png", 1)
-- mobs:register_mob("dmobs:whale", {
-- type = "animal",
-- passive = false,
-- reach = 1,
-- damage = 2,
-- attack_type = "dogfight",
-- hp_min = 52,
-- hp_max = 82,
-- armor = 230,
-- collisionbox = {-0.9, -1.2, -0.9, 0.9, 0.9, 0.9},
-- visual = "mesh",
-- mesh = "whale.b3d",
-- textures = {
-- {"dmobs_whale.png"},
-- },
-- blood_texture = "mobs_blood.png",
-- visual_size = {x=2.5, y=2.5},
-- makes_footstep_sound = true,
-- walk_velocity = 0.5,
-- run_velocity = 1,
-- jump = false,
-- stepheight = 1.5,
-- fall_damage = 0,
-- fall_speed = -6,
-- fly = true,
-- fly_in = "default:water_source",
-- water_damage = 0,
-- lava_damage = 2,
-- light_damage = 0,
-- follow = {"fishing:fish_cooked"},
-- view_range = 14,
-- drops = {
-- {name = "mobs:meat_raw", chance = 1, min = 1, max = 1},
-- },
-- animation = {
-- speed_normal = 5,
-- speed_run = 10,
-- walk_start = 2,
-- walk_end = 39,
-- stand_start = 2,
-- stand_end = 39,
-- run_start = 2,
-- run_end = 39,
-- },
-- on_rightclick = function(self, clicker)
-- if mobs:feed_tame(self, clicker, 8, true, true) then
-- return
-- end
-- mobs:capture_mob(self, clicker, 0, 5, 50, false, nil)
-- end,
-- })
-- mobs:register_spawn("dmobs:whale", {"default:water_source"}, 20, 10, 15000, -20, 1000)
-- mobs:register_egg("dmobs:whale", "Whale", "default_water_source.png", 1)
mobs:register_mob("dmobs:orc", {
type = "monster",
passive = false,

Binary file not shown.

BIN
models/panda1.b3d Normal file

Binary file not shown.

BIN
models/whale.b3d Normal file

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

After

Width:  |  Height:  |  Size: 441 KiB

BIN
textures/dmobs_badger1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 147 KiB

BIN
textures/dmobs_fox1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 128 KiB

BIN
textures/dmobs_whale.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB