Page 42 of 87

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sat Apr 01, 2017 16:50
by TenPlus1
zorman: the snippet of code I posted only handles a path length of 16 nodes, try increasing it to 50.

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sat Apr 01, 2017 20:48
by D00Med
@TenPlus1 I can't seem to get it to work, should "minetest.find_path(h, h, 50, 3, 6, "Dijkstra")" be changed to "minetest.find_path(p, h, 50, 3, 6, "Dijkstra")"

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Tue Apr 11, 2017 01:51
by Sokomine
flummi wrote: The tamed sheeps (and the cows although) from mobs_redo keep slipping through the corners of my corral - and only there in the corners. They can't jump over the fences or slip through at any other places. They just walk around in the corral until they reach a corner. There they stand still for some moments with their backside to the corner and then slowly start sliding backwards until they are approx. half through the fence. Then they turn around and walk away - outside the corral. This seems to not happen to the sheeps from the cme creature mod.

Does anybody know how to fix this or prevent them from slidding through my fences? Keeping them in a pit or building stonewalls isn't an option ;-) And I like the sheeps from mobs_redo - especially the red one :-)
I once had a lamb tunnel through the one-node wide floor while I was working somewhere below. Only a piece of wool and meat remained from the unlucky animal. Mob loss due to tunneling through corners afaik still happens. It's less bad than in the days when the first mobs came to MT - in those days, sheeps jumped on the back of other sheeps and thus escaped any fenced-in area (was another mod back then). Smaller animals seem to be particulary endangered by the tunneling effect. The safest way appears to be to have 2 nodes wide walls. There's invisible glass on the Xanandu server which comes in very handy.
burli wrote: I also want to propose to add the function to spawn mobs in groups like a herd of cows
Definitely! It's sad to see all these lone sheep and cows wander the map. Rather than picking up lone animals and "tame" them with a bit of food, I'd love to have herds of sheep walking slowly and randomly around a shepherd-npc-mob who would be willing to sell sheep to players for valuable ores.
Insurrection wrote: Question about mob behaviors- I'm trying to make a new "skittish" tag for mobs (so to speak) that makes them run away from the player once they spot the player. I've tried copying and modifying some of the existing code in API.lua, but no luck. I'm a bit code-dumb, so any help would be appreciated. I'd imagine this would be a useful feature altogether for other modders, too.
That'd also be great but doesn't fit into this particular mod. Mobs_redo has mobs that throw hearts around when having sex. Running away when something dangerous as a player comes would be far too unrealistic for it :-/ If you want to see sheep and rabbits that are rightly afraid of players, take a look at AdventureTest as seen on the TerraQuest server.
Tenplus1 wrote: - New replace function added which can use tables e.g.

replace_what = {"default:grass_3", "default:grass_4", "default:grass_5"},
That's a good idea. The animals seem a lot more lively if they change their environment. Sheep and cows turning dirt_with_grass into dirt, self-feeding on wheat fields...that's something. Just removing grass plants may not be obvious enough to the observer.

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Tue Apr 11, 2017 09:24
by redblade7
I'm running into a problem, after recent updates to mods on my servers, mobs_animal does not stay tamed forever. When you walk away for a while, the mob is "untamed" and loses its name tag if it has one. I don't know if mobs or mobs_animal is responsible, or if it's an update I did for something else. My servers are all at 0.4.15 stable. Were there any changes made to mobs or mobs_animal recently, or is the problem in another mod?

EDIT: After updating several of my mods including mobs and mobs_animal there are no problems. Thank you!

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Tue Apr 11, 2017 18:12
by Andrey01
Will any new mobs?

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sun Apr 16, 2017 18:56
by EdShouldBeInBed
Is there a way to set the depth a mob will appear at in minetest.conf? I want to use the goblins, but I'd like to put them down in the region I have HeroOfTheWind's Caverealms appearing.

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sun Apr 16, 2017 19:53
by TenPlus1
The .conf only allows you to set spawn chance and number but you could easily add a mob:spawn command to your own mod that spawns them at that depth...

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sun Apr 16, 2017 19:57
by EdShouldBeInBed
Cool, figured that. Just wanted to see if there was a setting before I altered the code. :)

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Mon Apr 17, 2017 18:57
by googol
A small request.
Could you add in to the all functions
minetest.register_craftitem
Where is on_use = minetest.item_eat()
Next line:
groups = {eatable=N}
Please.

for example:
-- before

Code: Select all

-- fried egg
minetest.register_craftitem(":mobs:chicken_egg_fried", {
description = S("Fried Egg"),
	inventory_image = "mobs_chicken_egg_fried.png",
	on_use = minetest.item_eat(2),
})
-- after

Code: Select all

-- fried egg
minetest.register_craftitem(":mobs:chicken_egg_fried", {
description = S("Fried Egg"),
	inventory_image = "mobs_chicken_egg_fried.png",
	groups = {eatable=2},
	on_use = minetest.item_eat(2),
})
Thanks.

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Mon Apr 17, 2017 19:49
by bell07
+1
But the right group should be "food", to be sync to the "food" mod.

Code: Select all

food_meat=1
The food mod does have the food.support(group, item) enhancer function, some items are already enhanced in https://github.com/rubenwardy/food/blob ... upport.lua
But my view is the item groups should be defined in mods that defines the items.

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Thu Apr 20, 2017 18:16
by TenPlus1
Update:

- Fixed snow glitch where mobs couldn't attack player while standing on snow, now line_of_sight only counts FULL blocks as an obstruction.

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Fri Apr 21, 2017 12:23
by Nathan.S
Hey, now the mobs are going to kill me. ;)

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Fri Apr 21, 2017 16:24
by cHyper
what about to support award-mod? where u can count the mob kills for instance.

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Fri Apr 21, 2017 19:41
by burli
I noticed that path following works with Oerkki, Sand monster and Dirt monster, but not with spider or tree monster. I can't open the mesh models with Blender. Can someone check where the origin of the models is?

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sat Apr 22, 2017 12:05
by Bread
Mobs can step over fence and gate without jumping now.

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sat Apr 22, 2017 12:06
by burli
Bread wrote:Mobs can step over fence and gate without jumping now.
Because stepheight is set to 1.1

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sat Apr 22, 2017 14:18
by ph8jPf9M
burli wrote:I noticed that path following works with Oerkki, Sand monster and Dirt monster, but not with spider or tree monster. I can't open the mesh models with Blender. Can someone check where the origin of the models is?
not sure but found these viewtopic.php?t=3063 https://github.com/mdoege/stampy_mobs_blender_files

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sat Apr 22, 2017 17:00
by burli
I have downloaded the mobs_mc mod, but pathfinding doesn't work for mobs like Zombie and Skeleton, but it works with the spider. I have no idea why. Can someone help to find the reason and fix this? I don't know enough about Blender

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sat Apr 22, 2017 17:02
by MinisterFarrigut
Wait, could it be possible to put Minecraft mods into Minetest?

Re: [Mod] Mobs Redo [1.34] [mobs]

Posted: Sat Apr 22, 2017 17:17
by Andrey01
MinisterFarrigut wrote:Wait, could it be possible to put Minecraft mods into Minetest?
I consider it is possible.Only you need write Minecraft`s mods on Lua

Re: [Mod] Mobs Redo [1.35] [mobs]

Posted: Fri May 12, 2017 09:10
by TenPlus1
Updated to version 1.35:

- Fixed group_attack so that only members of the same species will attack player
- Added owner_loyal flag so that when player hits an enemy, loyal and aggressive pets will attack it as well.

Thanks to vaguelyAnonymous for the 2nd idea :)

Re: [Mod] Mobs Redo [1.35] [mobs]

Posted: Fri May 12, 2017 12:51
by KCoombes
TenPlus1 wrote:Updated to version 1.35:

- Fixed group_attack so that only members of the same species will attack player
- Added owner_loyal flag so that when player hits an enemy, loyal and aggressive pets will attack it as well.

Thanks to vaguelyAnonymous for the 2nd idea :)
Fabulous! I see gang wars in the future :P

Re: [Mod] Mobs Redo [1.35] [mobs]

Posted: Fri May 12, 2017 20:58
by Lone_Wolf
Could you add a 'Lava sword' that auto-smelts (if possible) the drops of mobs?

Re: [Mod] Mobs Redo [1.35] [mobs]

Posted: Sun May 14, 2017 21:36
by Struttas_of_Borg
hey im new to minetest, i have the mod installed and activated, but no mobs are spawning.

how do i get the mobs.

Re: [Mod] Mobs Redo [1.35] [mobs]

Posted: Mon May 15, 2017 05:33
by burli
you need to add mobs as additional mod. In mobs redo are no mobs included