How to spawn an NPC from NPC Framework mod

Post Reply
basil60
Member
Posts: 54
Joined: Sat Sep 12, 2015 22:07

How to spawn an NPC from NPC Framework mod

by basil60 » Post

Hi
I installed the NPC Framework WIP mod without error, and I tried to run the command "/giveme npcf:builder_npc_spawner", but I got an error - "Cannot give an unknown item".
What have I missed? I'm after an info NPC to provide some help to players.

Basil

KCoombes
Member
Posts: 427
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

Re: How to spawn an NPC from NPC Framework mod

by KCoombes » Post

try /giveme npcf:info_npc instead (since you're after an info npc, not a builder npc)

basil60
Member
Posts: 54
Joined: Sat Sep 12, 2015 22:07

Re: How to spawn an NPC from NPC Framework mod

by basil60 » Post

Thanks.
That "worked", but I don't see anything in my inventory.
I looked in the files for any info about other mods required - do I need skins or anything similar.
I tried to right click and place the "node", but there wasn't anything there.
Has anyone written a manual for the mod?

KCoombes
Member
Posts: 427
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

Re: How to spawn an NPC from NPC Framework mod

by KCoombes » Post

My bad - /giveme is for nodes and such; use /spawnentity instead for mobs

basil60
Member
Posts: 54
Joined: Sat Sep 12, 2015 22:07

Re: How to spawn an NPC from NPC Framework mod

by basil60 » Post

Thanks
that certainly did appear to spawn. But it shows as "unknown object". I go back to my previous question - have I missed some pre-requisite mod?

KCoombes
Member
Posts: 427
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

Re: How to spawn an NPC from NPC Framework mod

by KCoombes » Post

If you have npcf enabled in the world, the /spawnentity npcf:info_npc command should work - is that what you used?

basil60
Member
Posts: 54
Joined: Sat Sep 12, 2015 22:07

Re: How to spawn an NPC from NPC Framework mod

by basil60 » Post

screenshot_20160720_101700.png
screenshot_20160720_101700.png (203.63 KiB) Viewed 446 times
Yes....but instead of a player, I see a frame/box showing "unknown object". I can't get a screenshot - I'm at work.

What do you mean have "npfc enabled" in the world?

KCoombes
Member
Posts: 427
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

Re: How to spawn an NPC from NPC Framework mod

by KCoombes » Post

basil60 wrote:.

What do you mean have "npfc enabled" in the world?
Ok, at the main Minetest menu, you create a world, then you click 'Configure' and enable the mods you want to use - if you don't enable the mod called "npcf", you can't spawn entities defined in it.

basil60
Member
Posts: 54
Joined: Sat Sep 12, 2015 22:07

Re: How to spawn an NPC from NPC Framework mod

by basil60 » Post

I've installed this on a server. The mod is enabled in the world.mt file

KCoombes
Member
Posts: 427
Joined: Thu Jun 11, 2015 23:19
In-game: Knatt
Location: SW Florida, USA

Re: How to spawn an NPC from NPC Framework mod

by KCoombes » Post

Ah, found the problem - copied from the NPC Framework thread in WIP Mods:

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]
by stu » Wed Jan 13, 2016 16:48

tinkerlevu wrote:
hey stu... you haven't linked in any 3d meshes for the builder or the info npc. I managed to change the lua files to use the decor npc mesh and it works fine but you might want to look into that. also the trading with the trader npc is broken

stu wrote:
Sadly this mod is very much out of date and the topic should probably now be moved to old mods.
It was a project that lost it's direction and now most of its 'features' are available via the api
If you want npcs then I would personally recommend the now much improved mobf npcs (animals modpack)

Post Reply

Who is online

Users browsing this forum: rudzik8 and 47 guests