Page 1 of 64

[Modpack] Animals Modpack [2.5] -- 2.6 approaching

Posted: Sun Dec 25, 2011 03:52
by sapier
Animals Modpack is a showcase to provide a feeling how powerfull mobf is and how easy creation of complex mobs is by using it.

Recommended Minetest version: 0.4.13 or newer

TODO + BUGS:
For feature request and bug reports, gitlab is preferred, but of course you may post them in this thread too.

Please do write your opinion what needs to be added/fixed!

If anyone can provide better graphics (where I only placed dummies) I gladly add them. ;-)

License:
CC-BY-SA or similar for most content. See License.txt provided for each mod for details

Stable download (mediafire):
Primary : Version 2.5.0 (Dig it)
(Caution: download site wants you to disable your ad-blocker)

Dependencies:
-default
-fire(optional|mandatory for some mods)
-vessels(optional|mandatory for some mods)
-wool(optional|mandatory for some mods)

Changes 2.5.0
-split mobf_core (api) from modpack (git only)
-add miner mob
-fix crash on uninitialized healdb
-fix right click menu being abusable by non mob owner
-add a lot of sounds
-add initial spanish translation (thanks kaeza)
-fix major delays caused by adv_spawning on mapgen
-lots of more stability fixes

For older changelog see the included README file
+ Spoiler

Posted: Sun Dec 25, 2011 04:16
by darket
Nice!!!

Posted: Sun Dec 25, 2011 04:56
by RAPHAEL
Need chickens, cows, sheep. Be cool if chickens laid eggs in nests that were crafted. Also I'd say check into the rat thing since the way rats move would look a little better lol.

EDIT: Also right clicking crashes minetest

Posted: Sun Dec 25, 2011 05:02
by jordan4ibanez
very very niceee...their kinda retarded (their AI) but they work really good..low cpu usage..when you right click one with another one the game crashes though

Posted: Sun Dec 25, 2011 07:38
by sfan5
Nice mod! But there should be more animals

Posted: Sun Dec 25, 2011 18:58
by sapier
Did major cleanup of code and rewrote most of it, please have a look at it

Posted: Sun Dec 25, 2011 19:05
by jordan4ibanez
i will look

Posted: Sun Dec 25, 2011 19:05
by Hackeridze
you should make mmans and womens. and childrens. and in future zoosex, ofcourse.

Posted: Sun Dec 25, 2011 21:07
by sapier
@Hackeridze Sorry, but I think I'll reserve those addons for you ;-)

@All sorry about the fast update cycle I won't update another version today except of major bugs

Posted: Mon Dec 26, 2011 00:38
by bwog
They look a bit small, although you'll probably change that later anyway.

Posted: Mon Dec 26, 2011 01:37
by sapier
Yes I know :-)
I haven't found a way to increase the sprite of an entity. If anyone knows how to do this please tell me ;-)

@RAPHAEL sorry it took me so long to answer your comment on rats, but rats are moving using original none lua mod code in minetest. Can't use it's movement code. But I think the new movement code is much better than the one you tried in first proof of concept code.

Posted: Mon Dec 26, 2011 21:03
by sapier
Found out how to increase sprite size ... it's been to obvious ;-)

Posted: Tue Dec 27, 2011 00:29
by jordan4ibanez
if you can make the animals 3d blocks..then this would be amazing!!

Posted: Tue Dec 27, 2011 00:30
by hurufu
Great mod! Is it possible to make them look in the same direction they are moving to?

Posted: Tue Dec 27, 2011 00:54
by sapier
Already thought about it, but for I know at the moment the orientation of the sprite is client dependent if this is true I don't have any chance of fixing it on server.

Of course there always is a chance I missed it, as you can see with sprite size parameter.

EDIT1:
If my Patch for doors mod makes it into minetest I would have the possibility to create 3d animals consisting of mutliple linked entities (as done in doors mod). In this case the orientation wouldn't be a problem anymore

Posted: Tue Dec 27, 2011 01:01
by jordan4ibanez
freakin sweet

Posted: Tue Dec 27, 2011 02:13
by sapier
I've tried to create 3d animals (with my patch applied) an partly succeeded.

Even with my patch there would still be some problems:

-orientation wouldn't be that easy, as you can't do a translation to the animal you would need to have an animal "model" for each orientation. Probably having 8 ones would be fair enough for a first try

-there are some rendering glitches with entity blocks within the same map node block ... not quite sure if it's a general problem. Probably there's just something not completly correct within my disorted cubes patch (was my first try to write code for irrlicht)

Image

This is one of the better views of the models. As you can see on the left the feet blocks are visible even they should be hidden by body block ... the same strange behaviour is shown for head block. Viewing from most directions you do at least partly see throug the animal

EDIT1:
Just need to stress out those animals in the screenshot can't do anything by now but standing there. I would have to add some code to make sure all entities that are one animal stay together and can be handled at once.

Posted: Tue Dec 27, 2011 02:17
by jordan4ibanez
oh....my ...god...just wait until celeron sees this!!!! DUDE now we can use your code to make 3d character models along with that!! and why dont you just make the orientation be the forward direction..then program the model to reorientate itself? come on my server and we'll talk about it

Posted: Tue Dec 27, 2011 02:20
by sapier
If you tell me what server you're talking about I'll gladly do that ;-)
I'm in minetest-delta right now

Posted: Tue Dec 27, 2011 02:23
by jordan4ibanez
aw man in in 0.4 and my server is "MY UPDATED SERVER" in the general forum lol

Posted: Tue Dec 27, 2011 02:32
by sapier
@jordan4ibanez would prefer irc to installing a vpn program.

The problem with orientation is that there is nothing for a set of entities. You would have to translate the entities edges to rotate the model. But you can't modify an entity in runtime.

Using those 8 directions (choosing the one next to the current direction) would mean removing a set of entities and adding the other one. I know not really a straight solution but feasable without major changes atm

Posted: Tue Dec 27, 2011 02:58
by jordan4ibanez
i have joined #minetest @ Freenode

Posted: Tue Dec 27, 2011 18:34
by sapier
Added support for animals fighting back if a player attacks them.

Current attack pattern:

-animal will remember who attacked it and fight back
-player has random chance attack is beeing stopped
-player can run away, animal stops attacking if out of reach


Missing features:
-animal starting attack on its own
-animal following player while attacking

Posted: Tue Dec 27, 2011 23:17
by sapier
Finaly it's there, no more crafting animal spawn items. Animals are simply there!!

Posted: Wed Dec 28, 2011 00:14
by rinoux
I like it !!