Page 1 of 1

help me with making a npc

PostPosted: Fri Sep 27, 2013 14:13
by Xyro_Fire
Please help me I just know only how to make blocks and tools

PostPosted: Fri Sep 27, 2013 14:56
by webdesigner97
minetest.register_npc()?

No, just kidding. Creating NPCs is very hard... Do you really want to do this? Even I never did that before!

PostPosted: Fri Sep 27, 2013 15:07
by Xyro_Fire
Yes and serious

PostPosted: Fri Sep 27, 2013 19:33
by hoodedice
Xyro_Fire wrote:Yes and serious


Cool. Just google lua_api.txt minetest

PostPosted: Fri Sep 27, 2013 19:53
by Topywo
Xyro_Fire wrote:Yes and serious


You can study other mods using npc's. Change little pieces of code and animations, look at the results and learn. If you get a npc working you must also consider learning how to make 3d models (2d is less popular now) or at least learn how to implement them if others are willing to make them for you.

Some of the mods are more known than other. Maybe this one (celeron55's mobs (2d)) helps you to start with.

http://c55.me/blog/?p=1274

Good luck!

PostPosted: Sat Sep 28, 2013 06:43
by webdesigner97
Btw, this is the wrong forum section. You should have posted this in "Modding General"

PostPosted: Sat Sep 28, 2013 09:23
by Xyro_Fire
And how do I draw it

PostPosted: Sun Sep 29, 2013 16:58
by Prestotron562
It's pretty hard but you could always take Mob Frameworks zombie or NPC trader, recode it and retexture it. That could work too

PostPosted: Mon Sep 30, 2013 05:39
by hoodedice
Xyro_Fire wrote:And how do I draw it


MS Paint.

PostPosted: Mon Sep 30, 2013 13:14
by tinoesroho
*sigh*

Use skincraft for your skinning needs. Stu has released the NPC Framework - see it here - which makes creating NPCs much much easier! Go check out his code. There's an API to easily add new NPCs. :-)