Page 1 of 3

[Mod] 3D animals [1] [animals]

PostPosted: Sat Aug 04, 2012 14:23
by PilzAdam
Hello everyone!
I have made a mod wich adds 3D animals to minetest. They spawn randomly on grass.

Screenshots:
Sheeps:
Image
An error in the spawning code in a early version:
Image

License:
WTFPL applies to all parts

Dependencies:
  • default
  • bucket (is in the normal game)
  • Minetest version 0.4.2-rc1 is recommended
Download:
http://ompldr.org/vZXpmZA/animals.zip

Read this: http://minetest.net/forum/viewtopic.php?pid=36151#p36151

PostPosted: Sat Aug 04, 2012 14:27
by PilzAdam
Ive updated the link. There were some debug infos not deleted.

PostPosted: Sat Aug 04, 2012 14:34
by LolManKuba
Screenshots?

PostPosted: Sat Aug 04, 2012 14:42
by PilzAdam
LolManKuba wrote:Screenshots?

Uploaded.

PostPosted: Sat Aug 04, 2012 15:08
by LolManKuba
Lol they look funny.

PostPosted: Sat Aug 04, 2012 15:30
by sfan5
They look a bit too cubic, but i like them
BTW: The Animals Mod uses the same Mod-Name
I suggest to change it

PostPosted: Sat Aug 04, 2012 15:32
by PilzAdam
sfan5 wrote:They look a bit too cubic, but i like them
BTW: The Animals Mod uses the same Mod-Name
I suggest to change it

I will change the name to 3danimals in the next version.

PostPosted: Sat Aug 04, 2012 15:41
by PilzAdam
hyudez257 wrote:does it work for any version (AKA 0.4.1)?

Ive only tried it with 0.4.2-rc1. Just try it and post the result here.

PostPosted: Sat Aug 04, 2012 15:52
by InfinityProject
Nodebox?

PostPosted: Sat Aug 04, 2012 16:02
by PilzAdam
InfinityProject wrote:Nodebox?

See init.lua line 7 to 28.

PostPosted: Sat Aug 04, 2012 17:33
by sapier
using a wielditem to create 3d models great idea!

PostPosted: Sat Aug 04, 2012 17:45
by Keegan
I cant get wool from the sheep.. it says unknown

PostPosted: Sat Aug 04, 2012 17:50
by PilzAdam
Keegan wrote:I cant get wool from the sheep.. it says unknown

You need 0.4.2-rc1 of minetest_game

PostPosted: Sat Aug 04, 2012 18:32
by Cooper
This is an epic innovation for minetest.This needs to be in the stable as of right now

PostPosted: Sat Aug 04, 2012 21:24
by InfinityProject
Genius idea to use nodebox but the only problem I see is that the animals don't rotate. They always face 1 direction. Maybe make it so that the sheep is always facing the character? That would be a start.

PostPosted: Sat Aug 04, 2012 21:26
by LolManKuba
InfinityProject wrote:Genius idea to use nodebox but the only problem I see is that the animals don't rotate. They always face 1 direction. Maybe make it so that the sheep is always facing the character? That would be a start.
Probably will be fixed in version 2, [offtopic] Read my new sig and see my new forum[]

PostPosted: Sat Aug 04, 2012 21:26
by PilzAdam
InfinityProject wrote:Genius idea to use nodebox but the only problem I see is that the animals don't rotate. They always face 1 direction. Maybe make it so that the sheep is always facing the character? That would be a start.

Do i missunderstand you? The animals do rotate.

PostPosted: Sat Aug 04, 2012 21:28
by InfinityProject
It's not working for me I just saw a sheep move backwards.
EDIT do I need to be on 0.4.2rc1?

PostPosted: Sat Aug 04, 2012 21:34
by PilzAdam
InfinityProject wrote:It's not working for me I just saw a sheep move backwards.
EDIT do I need to be on 0.4.2rc1?

Ive testet it only in 0.4.2-rc1... So i would recommend to use it.

PostPosted: Sat Aug 04, 2012 22:15
by InfinityProject
Works fine on 0.4.2-rc1

PostPosted: Sat Aug 04, 2012 22:23
by PilzAdam
InfinityProject wrote:Works fine on 0.4.2-rc1

Ive added a recommendation for 0.4.2-rc1 in the first post.

PostPosted: Sun Aug 05, 2012 00:51
by cornernote
PilzAdam - you rock!

PostPosted: Sun Aug 05, 2012 10:06
by PilzAdam
This mod was just a test wether 3D animals/mobs are possible. And it works!
So the other modders can use my code to create their own 3D animals. The animals mod author did that already so if you want a "real" animals mod you should use his mod: http://minetest.net/forum/viewtopic.php?id=629
If you are a developer and you want a simple code how to create 3D mobs my mod could help you out.

PostPosted: Mon Aug 06, 2012 12:22
by Stef
Possible to change the textures of the 3Danimals

PostPosted: Mon Aug 13, 2012 17:07
by madchicken13
The Sheep's Coats Flash on my 0.4.1 server
is that a bug?