[Mod] Mobs Redo [1.61] [mobs]

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

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

by Andrey01 » Post

Astrobe wrote:Rename the folder "mobs_horse" into "mob_horse".
What for?

User avatar
Bogus
Member
Posts: 21
Joined: Tue Nov 28, 2017 20:55
GitHub: BogusCurry
In-game: Bogus

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

by Bogus » Post

Astrobe wrote:Rename the folder "mobs_horse" into "mob_horse".
Thanks you , that was the right way this problem to fix ;D
Tschöö Bogus

Astrobe
Member
Posts: 568
Joined: Sun Apr 01, 2018 10:46

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

by Astrobe » Post

Andrey01 wrote:
Astrobe wrote:Rename the folder "mobs_horse" into "mob_horse".
What for?
The naming convention the error message talks about is that the prefix for nodes, mobs and items should be the same as the name of the folder. The message advise to change the prefix, but most of the times someone simply made a mistake when renaming the folder (typically to remove the "-master" part when it comes from a git repo).

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

Updated to version 1.45

by TenPlus1 » Post

- Added new light_of_sight changes (thanks Astrobe)
- Added Fence Tops that can sit on top of any fence and stop mobs escaping/glitching free
(craft using 3x wood on top row and 1x wooden fence middle centre to give 12x tops)
Last edited by TenPlus1 on Fri Sep 07, 2018 14:04, edited 2 times in total.

Sokomine
Member
Posts: 4276
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

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

by Sokomine » Post

TenPlus1 wrote: - Added Fence Tops that can sit on top of any fence and stop mobs escaping/glitching free
Good! Hope that'll finally stop them. Sheep are especially nasty in that regard. On Xanandu, only a double layer of invisible glass stopped mobs from glitching through. Even then, one lamb managed to glitch through the dirt-with-grass-floor (admittedly a long time ago).
A list of my mods can be found here.

Astrobe
Member
Posts: 568
Joined: Sun Apr 01, 2018 10:46

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

by Astrobe » Post

I find the timer-based "dogswitch" feature a bit difficult to use and don't get the behavior I'd really like to see, so I've experimented with an alternative method. The goal is to make the mob run towards the enemy if it is in a certain range or shoot at it otherwise. I've tried to preserve compatibility with existing mob definitions.

Changes are in two locations in the do_states() function:

Code: Select all

		elseif self.attack_type == "dogfight"
		or (self.attack_type == "dogshoot" and dogswitch(self, dtime) == 2)
		or (self.attack_type == "dogshoot" and dist <= self.reach and dogswitch(self) == 0) 
		or (self.attack_type == "dogshoot" and self.dogshoot_switch>2 and dist <= self.dogshoot_switch)  then
and:

Code: Select all

		elseif self.attack_type == "shoot"
		or (self.attack_type == "dogshoot" and dogswitch(self, dtime) == 1)
		or (self.attack_type == "dogshoot" and dist > self.reach and dogswitch(self) == 0) 
		or (self.attack_type == "dogshoot" and self.dogshoot_switch>2 and dist > self.dogshoot_switch)  then
(at this point it's worth refactoring the expression so as to test for "dogshoot" only once, but that's just a quick and dirty proposal).

So if one gives a dogshoot_switch value greater than 2 (currently only 1 and 2 have meaning), the mob will follow the enemy and try to hit it if within (0, dogshoot_switch) range or it will shoot at it when farther away.
Of course, that's a reasonable behavior only if the melee attack is more efficient than the ranged attack.

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

Dogshoot is specific in it's use for switching between punch and shoot attacks using timers, this might explain it better: https://notabug.org/TenPlus1/mobs_redo/ ... i.txt#L105

CWz
Member
Posts: 197
Joined: Tue Dec 24, 2013 17:01
GitHub: chaoswormz
IRC: CWz
In-game: CWz
Location: Banana Land

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

by CWz » Post

So I've decided to update the creeper and zombie mobs.

In these versions:
-Both mobs no longer spawn during the day
-tweaked the zombies spawn rate which was not set correctly
-Made the creeper actually visible, and updated it work with the b3d model.
zombie.zip
Zombie
(121.69 KiB) Downloaded 896 times
mobs_creeper.zip
Creeper
(28.93 KiB) Downloaded 646 times

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

Thanks CWz, great addition to mobs :)

Nordal
Member
Posts: 157
Joined: Mon Jul 30, 2018 15:46
GitHub: Nordall

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

by Nordal » Post

Hello TenPlus1,
I am new to minetest. I've successfully installed water-critters, mob-horse, mobs-animal and mobs-redo of your Mobs Redo1.45 with minetest 0.4.17.1. Everything's fine, taming works and it's really fun.

But I don't know how to craft a lasso, to get the tamed horse into inventory. Or a cow or sheep or chicken... The lasso recipe of sapiers MOB Framework that I found in the wiki does not work.
And how to craft a saddle, to ride the tamed horse.
Are horseshoes optional for riding or obligatory and how to craft them?

Could you please help me? Or anybody else?

Astrobe
Member
Posts: 568
Joined: Sun Apr 01, 2018 10:46

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

by Astrobe » Post

Best for you would be to get an inventory mod with an integrated crafting guide like Unified Inventory:
viewtopic.php?f=11&t=12767

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

Lasso = {
{string, blank, string}
{blank, diamond, blank}
{string, blank, string}
}

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

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

by Andrey01 » Post

TenPlus1, are you making heads animations for mobs now?

Nordal
Member
Posts: 157
Joined: Mon Jul 30, 2018 15:46
GitHub: Nordall

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

by Nordal » Post

Thank you, TenPlus1! I've got no diamond yet, but I'll try your lasso recipe when I found one. The README.md of your mob-horse github repo says:
Horses can be tamed with 10x wheat or apples which then allows the player to pick up the horse using a lasso and ride by right-clicking with a saddle.
Do you also know the recipe for the saddle?

EDIT: Thanks to Vanessa, I found all recipes in her unified crafting guide. Excellent mod.
Last edited by Nordal on Mon Aug 06, 2018 17:44, edited 1 time in total.
CFS - still widely unknown

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

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

by Nathan.S » Post

Just wanted to say that I really love your spider models and textures. They look amazing.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

Aspire Mint is doing a great job with the new models.

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

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

by Andrey01 » Post

TenPlus1 wrote:Aspire Mint is doing a great job with the new models.
What are models?

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

Spider and Cow so far :)

User avatar
AspireMint
Member
Posts: 415
Joined: Mon Jul 09, 2012 12:59
GitHub: AspireMint
IRC: AspireMint
In-game: AspireMint
Location: Stuck at spawn

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

by AspireMint » Post

Nathan.S wrote:Just wanted to say that I really love your spider models and textures. They look amazing.
Im glad you like it :-)
TenPlus1 wrote:Spider and Cow so far :)
aaand panda x)

User avatar
Andrey01
Member
Posts: 2574
Joined: Wed Oct 19, 2016 15:18
GitHub: Andrey2470T
In-game: Andrey01
Location: Russia, Moscow

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

by Andrey01 » Post

New models of cow and spider? I consider current models are nice, too. Btw, are you making heads animations? If mobs could rotate their heads and also they could sideslip obstacles better and also for example, if monster wants to find out a player to attack and that player is being on the altitude they could find "path" from blocks if it exists and then attack a player. Or the other way, with a playe is being on the depth. Then the mobs would be just SMART.

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

AspireMint: Oops! almost forgot the panda :) cute wee thing...

Andrey01: Turning heads isn't an easy task,it won't happen anytime soon.

auouymous
Member
Posts: 195
Joined: Sun Dec 07, 2014 09:39
GitHub: auouymous
IRC: air
In-game: auouymous

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

by auouymous » Post

Shouldn't the entity_physics function in api.lua check on_blast and immortal like tnt mod? And what about adding knockback like the tnt mod?

User avatar
TenPlus1
Member
Posts: 3700
Joined: Mon Jul 29, 2013 13:38
In-game: TenPlus1
Contact:

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

by TenPlus1 » Post

The entity_physics inside mob_api has been reworked to only deal damage to mobs/entities nearby and drops are still handled by check_for_death()

auouymous
Member
Posts: 195
Joined: Sun Dec 07, 2014 09:39
GitHub: auouymous
IRC: air
In-game: auouymous

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

by auouymous » Post

TenPlus1 wrote:The entity_physics inside mob_api has been reworked to only deal damage to mobs/entities nearby and drops are still handled by check_for_death()
Would an explosive mob destroy the item entity on top of an item stand, assuming the item stand itself doesn't get destroyed? Such entities use immortal and on_blast to keep tnt from destroying them.

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

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

by Chem871 » Post

What if you added a mob that undergoes mitosis at random intervals? :P
What is SCP-055?

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 13 guests