From 8132943512cea0c9ac7689f8ea7c680cf61215b3 Mon Sep 17 00:00:00 2001 From: amuerta Date: Fri, 7 Jul 2023 19:49:49 +0300 Subject: [PATCH] Tweaked aggresive mob speeds + made hand bit taller * some aggresive mobs where slow down to be more natural and minecraft-like * made hand look a bit taller --- mods/ENTITIES/mobs_mc/creeper.lua | 6 +++--- mods/ENTITIES/mobs_mc/enderman.lua | 4 ++-- mods/ENTITIES/mobs_mc/ghast.lua | 2 +- mods/ENTITIES/mobs_mc/hoglin+zoglin.lua | 2 +- mods/ENTITIES/mobs_mc/piglin.lua | 2 +- mods/ENTITIES/mobs_mc/skeleton+stray.lua | 4 ++-- mods/ENTITIES/mobs_mc/slime+magma_cube.lua | 12 ++++++------ mods/ENTITIES/mobs_mc/spider.lua | 2 +- mods/ENTITIES/mobs_mc/vex.lua | 4 ++-- mods/ENTITIES/mobs_mc/villager_zombie.lua | 4 ++-- mods/ENTITIES/mobs_mc/zombie.lua | 6 +++++- mods/PLAYER/mcl_meshhand/init.lua | 1 + 12 files changed, 27 insertions(+), 22 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/creeper.lua b/mods/ENTITIES/mobs_mc/creeper.lua index f751b1240..5c9b31c1b 100644 --- a/mods/ENTITIES/mobs_mc/creeper.lua +++ b/mods/ENTITIES/mobs_mc/creeper.lua @@ -39,8 +39,8 @@ mcl_mobs.register_mob("mobs_mc:creeper", { distance = 16, }, makes_footstep_sound = true, - walk_velocity = 1.05, - run_velocity = 2.0, + walk_velocity = .8, + run_velocity = 1.3, -- not dead yet slow, imagine fast crepeer... runaway_from = { "mobs_mc:ocelot", "mobs_mc:cat" }, attack_type = "explode", @@ -51,7 +51,7 @@ mcl_mobs.register_mob("mobs_mc:creeper", { explosion_damage_radius = 3.5, explosiontimer_reset_radius = 6, reach = 3, - explosion_timer = 1.5, + explosion_timer = 2.5, -- (was 1.5) This was way too fast compare to mc, allow_fuse_reset = true, stop_to_explode = true, diff --git a/mods/ENTITIES/mobs_mc/enderman.lua b/mods/ENTITIES/mobs_mc/enderman.lua index a57160e4d..af8f182ea 100644 --- a/mods/ENTITIES/mobs_mc/enderman.lua +++ b/mods/ENTITIES/mobs_mc/enderman.lua @@ -292,8 +292,8 @@ mcl_mobs.register_mob("mobs_mc:enderman", { random = {name="mobs_mc_enderman_random", gain=0.5}, distance = 16, }, - walk_velocity = 0.2, - run_velocity = 3.4, + walk_velocity = 0.5, -- ( was 0.2 ) he isnt that slow in mc? + run_velocity = 2.75, -- runs fast! damage = 7, reach = 2, particlespawners = psdefs, diff --git a/mods/ENTITIES/mobs_mc/ghast.lua b/mods/ENTITIES/mobs_mc/ghast.lua index 1a3d34e1b..da3665de7 100644 --- a/mods/ENTITIES/mobs_mc/ghast.lua +++ b/mods/ENTITIES/mobs_mc/ghast.lua @@ -38,7 +38,7 @@ mcl_mobs.register_mob("mobs_mc:ghast", { -- TODO: better death }, walk_velocity = 1.6, - run_velocity = 3.2, + run_velocity = 3, -- (was 3.2) since player can run, this is ok for a flying mob drops = { {name = "mcl_mobitems:gunpowder", chance = 1, min = 0, max = 2, looting = "common"}, {name = "mcl_mobitems:ghast_tear", chance = 10/6, min = 0, max = 1, looting = "common", looting_ignore_chance = true}, diff --git a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua index 8f8590933..b9e39e301 100644 --- a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua +++ b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua @@ -38,7 +38,7 @@ local hoglin = { jump = true, makes_footstep_sound = true, walk_velocity = 1, - run_velocity = 2.8, + run_velocity = 2.5, -- ( was 2.8 ) < 2.4 is slow and 2.6 < is fast drops = { {name = "mobs_mcitems:leather", chance = 1, diff --git a/mods/ENTITIES/mobs_mc/piglin.lua b/mods/ENTITIES/mobs_mc/piglin.lua index 4f701b3e9..bb63953a9 100644 --- a/mods/ENTITIES/mobs_mc/piglin.lua +++ b/mods/ENTITIES/mobs_mc/piglin.lua @@ -68,7 +68,7 @@ local piglin = { jump = true, makes_footstep_sound = true, walk_velocity = 1.4, - run_velocity = 2.8, + run_velocity = 2.0, -- (was 2.8) hes fast and has bow, but slower compare to hoglin drops = { {name = "mcl_bows:crossbow", chance = 10, diff --git a/mods/ENTITIES/mobs_mc/skeleton+stray.lua b/mods/ENTITIES/mobs_mc/skeleton+stray.lua index 215047fdd..9bfd2a8a5 100644 --- a/mods/ENTITIES/mobs_mc/skeleton+stray.lua +++ b/mods/ENTITIES/mobs_mc/skeleton+stray.lua @@ -44,8 +44,8 @@ local skeleton = { "mcl_bows_bow_0.png", -- wielded_item } }, - walk_velocity = 1.2, - run_velocity = 2.0, + walk_velocity = 1.0, + run_velocity = 2.0, -- skeletons are really anoying in mc, so i made only walkin 0.2 slower damage = 2, reach = 2, drops = { diff --git a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua index c07afb6b1..9034c36a3 100644 --- a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua +++ b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua @@ -205,10 +205,10 @@ local slime_big = { attack_type = "dogfight", passive = false, jump = true, - walk_velocity = 1.9, - run_velocity = 1.9, + walk_velocity = 1.75, -- with no jump delay 1.9<-(was) is way too fast compare to origianl deltax speed of slime + run_velocity = 1.75, walk_chance = 0, - jump_height = 5.2, + jump_height = 8, -- (was 5.8) JUMP! fear_height = 0, spawn_small_alternative = "mobs_mc:slime_small", on_die = spawn_children_on_die("mobs_mc:slime_small", 1.0, 1.5), @@ -403,8 +403,8 @@ local magma_cube_big = { attack = "mobs_mc_magma_cube_attack", distance = 16, }, - walk_velocity = 2.5, - run_velocity = 2.5, + walk_velocity = 1.5, + run_velocity = 1.5, -- (was 2.5) they are slow and huge damage = 6, reach = 3, armor = 53, @@ -456,7 +456,7 @@ magma_cube_small.visual_size = {x=6.25, y=6.25} magma_cube_small.damage = 3 magma_cube_small.reach = 2.75 magma_cube_small.walk_velocity = .8 -magma_cube_small.run_velocity = 2.0 +magma_cube_small.run_velocity = 1.75 -- (was 2.0) magma_cube_small.jump_height = 6 magma_cube_small.damage = 4 magma_cube_small.reach = 2.75 diff --git a/mods/ENTITIES/mobs_mc/spider.lua b/mods/ENTITIES/mobs_mc/spider.lua index 65d3a2d21..5c21c8de7 100644 --- a/mods/ENTITIES/mobs_mc/spider.lua +++ b/mods/ENTITIES/mobs_mc/spider.lua @@ -83,7 +83,7 @@ local spider = { distance = 16, }, walk_velocity = 1.3, - run_velocity = 2.4, + run_velocity = 2.0, -- (was 2.4) a bit slower, they arent much different from running skeletons jump = true, jump_height = 4, view_range = 16, diff --git a/mods/ENTITIES/mobs_mc/vex.lua b/mods/ENTITIES/mobs_mc/vex.lua index fbb33804d..4f798500d 100644 --- a/mods/ENTITIES/mobs_mc/vex.lua +++ b/mods/ENTITIES/mobs_mc/vex.lua @@ -34,8 +34,8 @@ mcl_mobs.register_mob("mobs_mc:vex", { damage = 9, reach = 2, view_range = 16, - walk_velocity = 3.2, - run_velocity = 5.9, + walk_velocity = 2, + run_velocity = 3, -- vex does not have ender dragon speed. (was ~6) attack_type = "dogfight", sounds = { -- TODO: random diff --git a/mods/ENTITIES/mobs_mc/villager_zombie.lua b/mods/ENTITIES/mobs_mc/villager_zombie.lua index 5af1fc879..a69d024f8 100644 --- a/mods/ENTITIES/mobs_mc/villager_zombie.lua +++ b/mods/ENTITIES/mobs_mc/villager_zombie.lua @@ -54,8 +54,8 @@ mcl_mobs.register_mob("mobs_mc:villager_zombie", { makes_footstep_sound = true, damage = 3, reach = 2, - walk_velocity = 1.2, - run_velocity = 1.8, + walk_velocity = 0.8, + run_velocity = 1.2, -- same as zombie attack_type = "dogfight", group_attack = true, drops = { diff --git a/mods/ENTITIES/mobs_mc/zombie.lua b/mods/ENTITIES/mobs_mc/zombie.lua index 6a4f5d48a..0ac023dd8 100644 --- a/mods/ENTITIES/mobs_mc/zombie.lua +++ b/mods/ENTITIES/mobs_mc/zombie.lua @@ -79,7 +79,11 @@ local zombie = { distance = 16, }, walk_velocity = .8, - run_velocity = 1.8, + run_velocity = 1.2, --guideline for mob speed + --undead - slow + --alive - avrg + --magic - quick + --bosses - fast damage = 3, reach = 2, fear_height = 4, diff --git a/mods/PLAYER/mcl_meshhand/init.lua b/mods/PLAYER/mcl_meshhand/init.lua index a28efd502..779b56d19 100644 --- a/mods/PLAYER/mcl_meshhand/init.lua +++ b/mods/PLAYER/mcl_meshhand/init.lua @@ -7,6 +7,7 @@ local node_def = { use_texture_alpha = "opaque", paramtype = "light", drawtype = "mesh", + wield_scale = { x = 0.8, y = 1 , z = 0.8 }, -- makes hand look taller (looks more like mc compare to default) node_placement_prediction = "", on_construct = function(pos) local name = minetest.get_node(pos).name