[Mod] 3D Animated NPC [1.5]

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Is it possible to make the player have a different texture than the NPC. When I tried to put separate textures the NPC texture is also on the regular player.
Coding;
1X coding
3X debugging
12X tweaking to be just right

Ragnar
Member
Posts: 849
Joined: Thu Oct 25, 2012 15:19
Location: Estonia
Contact:

by Ragnar » Post

idk...
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Also can you have the npc follow you with the command /npcfollow <name>
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

jojoa1997 wrote:Also can you have the npc follow you with the command /npcfollow <name>
There will be something like that, hang on guys, i'm putting the finishing touches on them.
hello, am program. do language in rust. make computer do. okay i go now.

Ragnar
Member
Posts: 849
Joined: Thu Oct 25, 2012 15:19
Location: Estonia
Contact:

by Ragnar » Post

hey, did you even read my reply??? i wanna necromorph NPC!!!
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Around line 170 add this to get an image in your inventory.
image = "mobspawnegg.png",
inventory_image = "mobspawnegg.png", <add this
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

A new version is out:
-they are "smarter"
-they can open doors (wooden ones so use metal doors)
-they will chase you when they are punched and will mob up on you
-from 12:00pm to 6:00am they are super hostile
-they use random skins

Disabled features: (don't enable)
-collision detection
collision detection is starting to get there but isn't finished
-spawning
I have to come up with a spawning function because the current one causes them to cluster

Have fun!
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Look at the vombie spawner. http://minetest.net/forum/viewtopic.php?id=2764 I changed it for myself and is it possible to give them a different skin than me because when i choose them to have a different skin it also became mine?
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

jojoa1997 wrote:Look at the vombie spawner. http://minetest.net/forum/viewtopic.php?id=2764 I changed it for myself and is it possible to give them a different skin than me because when i choose them to have a different skin it also became mine?
Honestly, i have no idea what you just said
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

Also when i change the Npc skin it overides the one in default/models for minetset0.4.4.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

jordan4ibanez wrote:
jojoa1997 wrote:Look at the vombie spawner. http://minetest.net/forum/viewtopic.php?id=2764 I changed it for myself and is it possible to give them a different skin than me because when i choose them to have a different skin it also became mine?
Honestly, i have no idea what you just said
I downloaded this mod, edited it to spawn npcs.
Change all the vombie(minetest zombie) names to npc names.
Here is the vombie link. http://minetest.net/forum/viewtopic.php?id=629
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

They should be able to fight with you against another enemy.
Coding;
1X coding
3X debugging
12X tweaking to be just right

Doc
Member
Posts: 75
Joined: Sun Nov 04, 2012 00:21

by Doc » Post

Now you just need some A* algorithms and some simple goal discovery. I will have to look through the src some time, and possibly I will make a pathfinding contribution ;) Great work on the mod btw!

+100

markveidemanis
Member
Posts: 211
Joined: Thu Sep 27, 2012 15:41

by markveidemanis » Post

can you make it so you can CHOOSE the texture?
BitCoin: 1Eq4arvykGNa1YC2DbJpWcwGfMvtFGjAoR

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

jojoa1997 wrote:
jordan4ibanez wrote:
jojoa1997 wrote:Look at the vombie spawner. http://minetest.net/forum/viewtopic.php?id=2764 I changed it for myself and is it possible to give them a different skin than me because when i choose them to have a different skin it also became mine?
Honestly, i have no idea what you just said
I downloaded this mod, edited it to spawn npcs.
Change all the vombie(minetest zombie) names to npc names.
Here is the vombie link. http://minetest.net/forum/viewtopic.php?id=629
That's probably not going to work at all, ever lol.
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

markveidemanis wrote:can you make it so you can CHOOSE the texture?
Eventually, this is work in progress
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

Doc wrote:Now you just need some A* algorithms and some simple goal discovery. I will have to look through the src some time, and possibly I will make a pathfinding contribution ;) Great work on the mod btw!

+100
That'd be nice, right now they are very simple, I'd like to have a version of this be villagers that find their houses at night kind of like in minecraft.

or bosses that have an area that they spawn, like a giant arena, that can't leave it or something.
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
babe223
Member
Posts: 141
Joined: Mon Nov 14, 2011 13:36
Location: Brasil,Rio de Janeiro

by babe223 » Post

would be interesting if it had an animal such as a horse: D
or even a cow or a pig or a sheep or a mouse
Bem vindos Brasileiros,eu sou primeiro brasileiro daqui do forum, espero que tragam bastante mods

[MOD] torch http://minetest.net/forum/viewtopic.php?id=3021
[MOD]HATCHE:http://minetest.net/forum/viewtopic.php?id=3458

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

babe223 wrote:would be interesting if it had an animal such as a horse: D
or even a cow or a pig or a sheep or a mouse
That's kind of funny you say that, i was going to make a pig and a ridable horse just now
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
Chinchow
Member
Posts: 684
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Post

Do you mind if I attempt a very simple village mod that uses parts of this code?
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

Chinchow wrote:Do you mind if I attempt a very simple village mod that uses parts of this code?
Go ahead
hello, am program. do language in rust. make computer do. okay i go now.

User avatar
Chinchow
Member
Posts: 684
Joined: Tue Sep 18, 2012 21:37

by Chinchow » Post

Would be nice if you could equip them with swords to fight off future default hostile mobs
Sometimes, it's harder to think up a mod than it is to create it.
Mods: Orichalcum Stonebricks Extra Chests

User avatar
jojoa1997
Member
Posts: 2890
Joined: Thu Dec 13, 2012 05:11
Location: Earth

by jojoa1997 » Post

that would get rid of my vombie's YAY
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
jordan4ibanez
Member
Posts: 1923
Joined: Tue Sep 27, 2011 18:44
GitHub: jordan4ibanez
IRC: jordan4ibanez
In-game: jordan4ibanez

by jordan4ibanez » Post

I am currently working on pathfinding.
hello, am program. do language in rust. make computer do. okay i go now.

Ragnar
Member
Posts: 849
Joined: Thu Oct 25, 2012 15:19
Location: Estonia
Contact:

by Ragnar » Post

*a npc comes near you* you gottb help us, there is a dangerous beast in the village! *pulls you*see? please kill him! *you see what it is and you say* its a cow -.- *the villager gets angry* no it isnt, its a deamon from a very dark and horrible place, the nether *your brother sees this and sais* wait, you look familiar *flashback* oh yeah, pigs are indigeos to the terrain *the villagers are like* wtf, is he retarded???
Are you saying that I put an abnormal brain into a seven and a half foot long, fifty-four inch wide GORILLA?

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests