updating mob looks
-cow and mooshroom no need for overlays -lama no need for overlay -illagers no more overlays -spider and cavespider gets moving animation uv mapping fixes and model changes -chicken underhead texture fix -witch underhead texture fix updated mob spawn icons to match new textures
@ -12,7 +12,10 @@ local cow_def = {
|
||||
visual = "mesh",
|
||||
mesh = "mobs_mc_cow.b3d",
|
||||
textures = {
|
||||
{"mobs_mc_cow.png"},
|
||||
{
|
||||
"mobs_mc_cow.png",
|
||||
"blank.png",
|
||||
},
|
||||
},
|
||||
visual_size = {x=2.8, y=2.8},
|
||||
makes_footstep_sound = true,
|
||||
@ -79,7 +82,7 @@ mobs:register_mob("mobs_mc:cow", cow_def)
|
||||
local mooshroom_def = table.copy(cow_def)
|
||||
|
||||
mooshroom_def.mesh = "mobs_mc_cow.b3d"
|
||||
mooshroom_def.textures = { {"mobs_mc_mooshroom.png^mobs_mc_mooshroom_mooshroom.png"}, }
|
||||
mooshroom_def.textures = { {"mobs_mc_mooshroom.png", "mobs_mc_mushroom_red.png"}, }
|
||||
mooshroom_def.on_rightclick = function(self, clicker)
|
||||
if mobs:feed_tame(self, clicker, 1, true, true) then return end
|
||||
if mobs:protect(self, clicker) then return end
|
||||
|
11
llama.lua
@ -23,7 +23,16 @@ mobs:register_mob("mobs_mc:llama", {
|
||||
collisionbox = {-0.45, -0.01, -0.45, 0.45, 1.86, 0.45},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_mc_llama.b3d",
|
||||
textures = {{"mobs_mc_llama.png"},{"mobs_mc_llama_brown.png"},{"mobs_mc_llama_creamy.png"},{"mobs_mc_llama_white.png"},{"mobs_mc_llama_gray.png"}},
|
||||
textures = { --1chest --2decor --3llama base texture
|
||||
{"blank.png", "blank.png", "mobs_mc_llama_brown.png"},
|
||||
{"blank.png", "blank.png", "mobs_mc_llama_creamy.png"},
|
||||
{"blank.png", "blank.png", "mobs_mc_llama_gray.png"},
|
||||
{"blank.png", "blank.png", "mobs_mc_llama_white.png"},
|
||||
{"blank.png", "blank.png", "mobs_mc_llama.png"},
|
||||
--{"mobs_mc_llama.png", "blank.png", "mobs_mc_llama.png"}, --lama with chest
|
||||
--{"blank.png", "mobs_mc_decor_green.png", "mobs_mc_llama.png"}, --lama with decor
|
||||
--{"mobs_mc_llama.png", "mobs_mc_decor_green.png", "mobs_mc_llama.png"}, --lama with everything
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = true,
|
||||
runaway = true,
|
||||
|
13
spider.lua
@ -54,10 +54,15 @@ local spider = {
|
||||
light_damage = 0,
|
||||
fear_height = 4,
|
||||
animation = {
|
||||
speed_normal = 25, speed_run = 50,
|
||||
stand_start = 40, stand_end = 80,
|
||||
walk_start = 0, walk_end = 40,
|
||||
run_start = 0, run_end = 40,
|
||||
stand_speed = 10,
|
||||
walk_speed = 25,
|
||||
run_speed = 50,
|
||||
stand_start = 20,
|
||||
stand_end = 40,
|
||||
walk_start = 0,
|
||||
walk_end = 20,
|
||||
run_start = 0,
|
||||
run_end = 20,
|
||||
},
|
||||
blood_amount = 0,
|
||||
}
|
||||
|
Before Width: | Height: | Size: 404 B After Width: | Height: | Size: 476 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 732 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 825 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 809 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 896 B |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 531 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 689 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 775 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 929 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 851 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 800 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 659 B |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 747 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 957 B |
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 781 B |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 396 B |
BIN
textures/mobs_mc_iron_axe.png
Normal file
After Width: | Height: | Size: 360 B |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 5.3 KiB |
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 9.1 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 775 B |
BIN
textures/mobs_mc_mushroom_red.png
Normal file
After Width: | Height: | Size: 433 B |
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 648 B |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 439 B |
Before Width: | Height: | Size: 275 B After Width: | Height: | Size: 529 B |
Before Width: | Height: | Size: 321 B After Width: | Height: | Size: 759 B |
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 750 B |
Before Width: | Height: | Size: 638 B After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 866 B |
Before Width: | Height: | Size: 429 B After Width: | Height: | Size: 706 B |
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 444 B |
Before Width: | Height: | Size: 312 B After Width: | Height: | Size: 855 B |
Before Width: | Height: | Size: 716 B After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 369 B After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 358 B After Width: | Height: | Size: 692 B |
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 775 B |
Before Width: | Height: | Size: 409 B After Width: | Height: | Size: 629 B |
Before Width: | Height: | Size: 430 B After Width: | Height: | Size: 676 B |
Before Width: | Height: | Size: 433 B After Width: | Height: | Size: 751 B |
Before Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 950 B After Width: | Height: | Size: 2.4 KiB |
Before Width: | Height: | Size: 954 B After Width: | Height: | Size: 2.2 KiB |
34
villager.lua
@ -22,13 +22,31 @@ mobs:register_mob("mobs_mc:villager", {
|
||||
visual = "mesh",
|
||||
mesh = "mobs_mc_villager.b3d",
|
||||
textures = {
|
||||
{"mobs_mc_villager.png"},
|
||||
{"mobs_mc_villager_farmer.png"},
|
||||
{"mobs_mc_villager_priest.png"},
|
||||
{"mobs_mc_villager_librarian.png"},
|
||||
{"mobs_mc_villager_butcher.png"},
|
||||
{"mobs_mc_villager_smith.png"},
|
||||
},
|
||||
{
|
||||
"mobs_mc_villager.png",
|
||||
"mobs_mc_villager.png", --hat
|
||||
},
|
||||
{
|
||||
"mobs_mc_villager_farmer.png",
|
||||
"mobs_mc_villager_farmer.png", --hat
|
||||
},
|
||||
{
|
||||
"mobs_mc_villager_priest.png",
|
||||
"mobs_mc_villager_priest.png", --hat
|
||||
},
|
||||
{
|
||||
"mobs_mc_villager_librarian.png",
|
||||
"mobs_mc_villager_librarian.png", --hat
|
||||
},
|
||||
{
|
||||
"mobs_mc_villager_butcher.png",
|
||||
"mobs_mc_villager_butcher.png", --hat
|
||||
},
|
||||
{
|
||||
"mobs_mc_villager_smith.png",
|
||||
"mobs_mc_villager_smith.png", --hat
|
||||
},
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = true,
|
||||
walk_velocity = 1.2,
|
||||
@ -42,7 +60,7 @@ mobs:register_mob("mobs_mc:villager", {
|
||||
},
|
||||
animation = {
|
||||
stand_speed = 25, walk_speed = 25, run_speed = 50,
|
||||
stand_start = 0, stand_end = 0,
|
||||
stand_start = 40, stand_end = 59,
|
||||
walk_start = 0, walk_end = 40,
|
||||
run_start = 0, run_end = 40,
|
||||
},
|
||||
|
@ -22,11 +22,14 @@ mobs:register_mob("mobs_mc:evoker", {
|
||||
hp_max = 24,
|
||||
collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.95, 0.4},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_mc_evoker.b3d",
|
||||
textures = {
|
||||
{"mobs_mc_evoker_base.png"},
|
||||
-- TODO: Attack glow
|
||||
},
|
||||
mesh = "mobs_mc_villager.b3d",
|
||||
textures = {
|
||||
{
|
||||
"mobs_mc_evoker_base.png",
|
||||
"blank.png", --no hat
|
||||
-- TODO: Attack glow
|
||||
}
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = true,
|
||||
damage = 6,
|
||||
@ -75,11 +78,12 @@ mobs:register_mob("mobs_mc:evoker", {
|
||||
stand_speed = 5,
|
||||
walk_start = 0,
|
||||
walk_end = 40,
|
||||
shoot_start = 60,
|
||||
shoot_end = 80,
|
||||
shoot_start = 120,
|
||||
shoot_end = 140,
|
||||
-- TODO: Implement and fix death animation
|
||||
--die_start = 80,
|
||||
--die_end = 130,
|
||||
--die_start = 190,
|
||||
--die_end = 200,
|
||||
--die_speed = 15,
|
||||
--die_loop = false,
|
||||
},
|
||||
water_damage = 0,
|
||||
|
@ -19,8 +19,12 @@ mobs:register_mob("mobs_mc:illusioner", {
|
||||
visual = "mesh",
|
||||
mesh = "mobs_mc_illusioner.b3d",
|
||||
textures = {
|
||||
{"mobs_mc_illusionist.png^mobs_mc_illusionist_bow.png"},
|
||||
},
|
||||
{
|
||||
"mobs_mc_illusionist.png",
|
||||
"mobs_mc_illusionist.png", --hat
|
||||
"mcl_throwing_bow.png",
|
||||
},
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
walk_velocity = 0.6,
|
||||
run_velocity = 2,
|
||||
@ -32,13 +36,14 @@ mobs:register_mob("mobs_mc:illusioner", {
|
||||
stand_end = 59,
|
||||
walk_start = 0,
|
||||
walk_end = 40,
|
||||
shoot_start = 90,
|
||||
shoot_end = 110,
|
||||
shoot_start = 150,
|
||||
shoot_end = 170,
|
||||
-- TODO: Implement and fix death animation
|
||||
--die_start = 110,
|
||||
--die_end = 130,
|
||||
--die_start = 170,
|
||||
--die_end = 180,
|
||||
--die_speed = 15,
|
||||
--die_loop = false,
|
||||
-- 60-80 magic arm swinging, 80-90 transition between magic to bow shooting
|
||||
-- 120-140 magic arm swinging, 140-150 transition between magic to bow shooting
|
||||
},
|
||||
view_range = 16,
|
||||
fear_height = 4,
|
||||
|
@ -22,10 +22,14 @@ mobs:register_mob("mobs_mc:vindicator", {
|
||||
collisionbox = {-0.3, -0.01, -0.3, 0.3, 1.94, 0.3},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_mc_vindicator.b3d",
|
||||
textures = {
|
||||
{"mobs_mc_vindicator_axe.png"},
|
||||
-- TODO: Glow when attacking (mobs_mc_vindicator.png)
|
||||
},
|
||||
textures = {
|
||||
{
|
||||
"mobs_mc_vindicator_base.png",
|
||||
"blank.png", --no hat
|
||||
"mobs_mc_iron_axe.png",
|
||||
-- TODO: Glow when attacking (mobs_mc_vindicator.png)
|
||||
},
|
||||
},
|
||||
visual_size = {x=3, y=3},
|
||||
makes_footstep_sound = true,
|
||||
damage = 13,
|
||||
@ -48,20 +52,21 @@ mobs:register_mob("mobs_mc:vindicator", {
|
||||
death = "Villagerdead",
|
||||
damage = "Villagerhurt1",
|
||||
},
|
||||
animation = {
|
||||
walk_speed = 25,
|
||||
animation = {
|
||||
stand_speed = 25,
|
||||
walk_speed = 25,
|
||||
run_speed = 25,
|
||||
punch_speed = 25,
|
||||
stand_start = 40,
|
||||
stand_end = 59,
|
||||
stand_speed = 5,
|
||||
walk_start = 0,
|
||||
walk_start = 0,
|
||||
walk_end = 40,
|
||||
punch_start = 90,
|
||||
punch_end = 110,
|
||||
-- TODO: Implement and fix death animation
|
||||
--die_start = 110,
|
||||
--die_end = 130,
|
||||
--die_loop = false,
|
||||
punch_start = 90,
|
||||
punch_end = 110,
|
||||
-- TODO: Implement and fix death animation
|
||||
--die_start = 170,
|
||||
--die_end = 180,
|
||||
--die_loop = false,
|
||||
},
|
||||
water_damage = 1,
|
||||
lava_damage = 4,
|
||||
|
@ -21,7 +21,7 @@ mobs:register_mob("mobs_mc:villager_zombie", {
|
||||
armor = 90,
|
||||
collisionbox = {-0.3, -0.01, -0.3, 0.3, 1.94, 0.3},
|
||||
visual = "mesh",
|
||||
mesh = "mobs_mc_zvillager.b3d",
|
||||
mesh = "mobs_mc_villager_zombie.b3d",
|
||||
textures = {
|
||||
{"mobs_mc_zombie_butcher.png"},
|
||||
{"mobs_mc_zombie_farmer.png"},
|
||||
|