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

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

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

by PilzAdam » Post

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 ... 151#p36151
Last edited by PilzAdam on Mon Aug 13, 2012 17:43, edited 1 time in total.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Ive updated the link. There were some debug infos not deleted.

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

Screenshots?

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

LolManKuba wrote:Screenshots?
Uploaded.

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

Lol they look funny.

User avatar
sfan5
Moderator
Posts: 3936
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

They look a bit too cubic, but i like them
BTW: The Animals Mod uses the same Mod-Name
I suggest to change it
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

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.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

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.

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

Nodebox?

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

InfinityProject wrote:Nodebox?
See init.lua line 7 to 28.

sapier
Developer
Posts: 763
Joined: Tue Aug 16, 2011 18:17

by sapier » Post

using a wielditem to create 3d models great idea!
DON'T mention coding style!
(c) sapier all rights reserved

User avatar
Keegan
Member
Posts: 332
Joined: Thu Jun 14, 2012 18:31

by Keegan » Post

I cant get wool from the sheep.. it says unknown
Owner of Keegan's server address>66.227.221.69:30000<port

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

Keegan wrote:I cant get wool from the sheep.. it says unknown
You need 0.4.2-rc1 of minetest_game

User avatar
Cooper
Member
Posts: 73
Joined: Sat Jun 02, 2012 00:43

by Cooper » Post

This is an epic innovation for minetest.This needs to be in the stable as of right now
TACOS!!!!!!!!!!!!!!!!!!!!!!!!!

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

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.

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

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[]

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

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.

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

It's not working for me I just saw a sheep move backwards.
EDIT do I need to be on 0.4.2rc1?
Last edited by InfinityProject on Sat Aug 04, 2012 21:31, edited 1 time in total.

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

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.

User avatar
InfinityProject
Member
Posts: 1009
Joined: Sat Mar 17, 2012 00:52
Location: World of Infinity, US

by InfinityProject » Post

Works fine on 0.4.2-rc1

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

InfinityProject wrote:Works fine on 0.4.2-rc1
Ive added a recommendation for 0.4.2-rc1 in the first post.

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

PilzAdam - you rock!

User avatar
PilzAdam
Member
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam
Location: Germany

by PilzAdam » Post

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.

User avatar
Stef
Member
Posts: 394
Joined: Wed Apr 04, 2012 10:46
Location: Belgium

by Stef » Post

Possible to change the textures of the 3Danimals
Sorry for my crappy english, im dutch :D

User avatar
madchicken13
Member
Posts: 741
Joined: Mon Jun 11, 2012 00:41
Location: Shelton, WA
Contact:

by madchicken13 » Post

The Sheep's Coats Flash on my 0.4.1 server
is that a bug?
Minetest-CC = viewtopic.php?pid=122782
My Minetest Mods = MoreBlocks
My Website: http://www.cddo.us/

Post Reply

Who is online

Users browsing this forum: Blockhead and 3 guests