Sep 27, 2019 alpha 190927 - Zombies - The Real Deal - Now With Sharks! details
Jul 08, 2019 Fixed server crash when a player disconnects while interacting with a mob.
Jun 01, 2019 Alpha release 0.10.0, contains a new example mod: Zombies - The Real Deal
May 03, 2019 Preview update - wildlife edition, now there's a new example mod included
For what I've seen here so far, it seems to me that the topic of entities/mobs deserves another look, so I decided to start another entity api from scratch. It's not very likely I'll be able to find the time to finish it, but sure I'm gonna try.
So far, I have the initial design roughly planned out, and all the basic concepts tested.
Here are some achievable goals I'm aiming for:
Inspired by physics:
Not any particular equations, but rather the spirit of physics translated into discrete step by step calculations. Gravity, buoyancy, friction, that kind of thing.
More like an actual API
That is, a collection of functions and mechanisms meant to be used and extended by modders to create complex entities and behaviors, rather than just a ready to go mod.
Easy async operation
Let's say you want a mob to turn smoothly to a specified yaw, then jump in the facing direction, then walk a few steps, then, say, explode.
You can issue these orders all in one go, they will keep on carrying them out in sequence until finished or interrupted.
Mob spatial awareness.
In Minetest, flat terrain tends to be an exception rather than a rule. No more walking in a random direction and checking if not stuck for seconds. By default, mobs will be aware of their immediate surroundings, know exactly where they want to get and take appropriate actions.
Consistency
I'm starting with very beginnings, with inanimate objects. More complex entities will inherit their properties and be subject to the same laws. For example, flying creatures are affected by gravity like everything else, just sometimes they exert force to counter it.
No dependencies.
This being an API, I want to keep it not dependent on any mods or subgames, even default.
The only dependence is latest stable Minetest release.
_________________
License: code: MIT | media: CC-BY-SA
MT version: 0.5.0 or later
Depends: mobkit:none | wildlife:mobkit | zombiestrd:mobkit
Download:
mobkit
wildlife
zombiestrd
Check it out online at: gundul.ddnss.de Port 39155
Attention: It is recommended to disable 'Show entity selection boxes' client setting.
They might be confusing because attack range has been reduced, but selection range hasn't.
___________________
Some random clips:
Spoiler
So, football matches in Minetest? - sure why not.
Note: I borrowed the model from Redo just for testing purposes, it's not going to be included in any release.
Random roaming behavior