Page 4 of 6

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Thu Sep 11, 2014 20:10
by balthazariv
How do I remove them ?
I hit them but they resistent.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Fri Sep 12, 2014 12:12
by Esteban
balthazariv wrote:How do I remove them ?
I hit them but they resistent.
/npc remove npcsname

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Fri Sep 12, 2014 23:13
by balthazariv
Esteban wrote:/npc remove npcsname
Okay, but if you had an option "destruct" in menu of each character, it would be easier for players who don't like command lines (like me ;-) )

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sat Sep 20, 2014 23:05
by SAMIAMNOT
Hey, I got two issues,
#1 Only Guards and Deco NPCs move
#2 I can't kill any of the NPCs.

How do you fix this? I made a hotel complete with a cafeteria but I can't go in cause this NPC is blocking the way. Cant kill him either.

EDIT 1: Never mind. Esteban fixed it. But still, how do you make them move?
EDIT 2: /npc is not a valid command according to Minetest.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sat Sep 20, 2014 23:13
by Esteban
SAMIAMNOT wrote:Hey, I got two issues,
#1 Only Guards and Deco NPCs move
#2 I can't kill any of the NPCs.

How do you fix this? I made a hotel complete with a cafeteria but I can't go in cause this NPC is blocking the way. Cant kill him either.

EDIT 1: Never mind. Esteban fixed it. But still, how do you make them move?
Issue #1

Info npcs and trader npcs do not move. The builder moves as he builds the basic_hut.we.
Its not a bug or problem, they were coded that way.

Issue #2

Npcs cannot be killed, they are removed by using a command:
/npcf remove npcsname
EDIT: /npcf delete npcsname
They are meant to be placed by admins and not removable by other users.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sat Sep 20, 2014 23:21
by SAMIAMNOT
I issued the command twice and nothing happened.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sat Sep 20, 2014 23:26
by Esteban
SAMIAMNOT wrote:I issued the command twice and nothing happened.
Sorry, Its:
/npcf delete npcsname

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sat Sep 20, 2014 23:32
by SAMIAMNOT
Thanks! It worked! Goodbye Ken! ;)

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sun Sep 21, 2014 00:41
by Sokomine
SAMIAMNOT wrote: Thanks! It worked! Goodbye Ken! ;)
Poor Ken :-)
Esteban wrote: Info npcs and trader npcs do not move. The builder moves as he builds the basic_hut.we.
Its not a bug or problem, they were coded that way.
That's right. NPC standing in the way and/or becoming victim to clearallobjects where reasons for me to add an option to pick them up in my traders mod. Beeing able to place a mob elsewhere is sometimes important.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Mon Oct 13, 2014 22:33
by SAMIAMNOT
How do blacklists and whitelists work?

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Mon Oct 13, 2014 22:52
by Esteban
SAMIAMNOT wrote:How do blacklists and whitelists work?
Blacklist is the mobs to be attacked.
Ex. Oerkki monster, type in the box "mobs:oerkki".

Whitelist is the name of players not to be attacked if you check "Attack players"
Ex. Just write the name of the player.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Fri Nov 14, 2014 02:44
by kidmondo
my only question is what do i save it as?

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Fri Nov 14, 2014 12:01
by Esteban
kidmondo wrote:my only question is what do i save it as?
The name of the mod? Is a modpack, so make sure the mod with the npcs is called "npcf" and the one with fonts as "textcolors". If you have issues check the posts above, usually they help.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sun Nov 30, 2014 12:43
by Ikishida
Hey man,can I Please use this for my Sword Art Online/Gun Gale Online Mod I wanna make a comeback mod

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Mon Dec 01, 2014 01:01
by Esteban
Ikishida wrote:Hey man,can I Please use this for my Sword Art Online/Gun Gale Online Mod I wanna make a comeback mod
Welcome back! is good to see you back working on mods!

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Mon Dec 01, 2014 19:09
by HeroOfTheWinds
Ikishida wrote:Hey man,can I Please use this for my Sword Art Online/Gun Gale Online Mod I wanna make a comeback mod
Since it's licensed as LGPL, there's no reason you can't. :)

SAO/GGO mod, eh? Seems like it could be cool.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Tue Dec 02, 2014 01:37
by SAMIAMNOT
I had this super wierd bug where the NPCs would dissappear afterabout 40 secs and made a sound like you were walking on grass when you place one. Is it me? Anybody else have this issue?

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sun Jan 04, 2015 10:39
by Ikishida
HeroOfTheWinds wrote:
Ikishida wrote:Hey man,can I Please use this for my Sword Art Online/Gun Gale Online Mod I wanna make a comeback mod
Since it's licensed as LGPL, there's no reason you can't. :)

SAO/GGO mod, eh? Seems like it could be cool.
Ehh...might not be...you tell me.go to my profile and look for my topics,you can see my
SAO mod there.it's pretty lame.but,if I get permission for the guns mod,I could make
the guns and if I find an enchantment mod,maybe it'll work out! thanks for the comment though.

Shida out!

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Tue Jan 06, 2015 19:22
by gumangel
balthazariv wrote:
Esteban wrote:/npc remove npcsname
Okay, but if you had an option "destruct" in menu of each character, it would be easier for players who don't like command lines (like me ;-) )
try with kill them with a sword.it worked for me.but idk wich npc mod i do have for sure

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Thu May 14, 2015 15:28
by GFX_Garage
I really like this mod. I'm either having a problem or would like to suggest a new feature. I'm working on an adventure map and I was hoping to have npcs that display messages. This mod works well for that except that multiple information npcs all share the same text message. I can skin them all differently but they all sing the same tune. If I change it in one, the rest follow suit. Is this the how it's supposed to be; and if so, could it be changed?

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Fri May 15, 2015 12:11
by GFX_Garage
Ok, for some reason it's working today. I guess it was just me or something. All of the information NPCs have unique messages now. I don't know what happened. Maybe I did something that bugged it out. Anyway; I really like this mod.

Some of the NPCs did change their vertical position by one half snap. Three of them are now one half below where I placed them and one is one half above. I'll try using the setpos command to fix it.

Sorry for the confusion.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Fri May 15, 2015 18:03
by stu
GFX_Garage wrote:Ok, for some reason it's working today. I guess it was just me or something. All of the information NPCs have unique messages now. I don't know what happened. Maybe I did something that bugged it out. Anyway; I really like this mod.

Some of the NPCs did change their vertical position by one half snap. Three of them are now one half below where I placed them and one is one half above. I'll try using the setpos command to fix it.

Sorry for the confusion.
No problem, let me know if the position problem persists and I will have a look at it. Unfortunately minetest's entity system has been known to be somewhat buggy and one of the main reasons I gave up working on this a long time ago.

I have, however, noticed that a few servers are actually using this so I will do my best to fix any genuine bugs in the mod itself.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sat May 16, 2015 03:14
by GFX_Garage
[/quote]
No problem, let me know if the position problem persists and I will have a look at it. Unfortunately minetest's entity system has been known to be somewhat buggy and one of the main reasons I gave up working on this a long time ago.

I have, however, noticed that a few servers are actually using this so I will do my best to fix any genuine bugs in the mod itself.[/quote]

Thanks stu. :-)

It is persisting. It seems that the current version of minetest snaps nodes on the .5s on the y axis. The entities keep snapping to hole numbers. Sometimes they choose the one above and sometimes the one below. Other than that, it works pretty well. I hope this information is helpful.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Fri Jul 10, 2015 21:33
by SAMIAMNOT
I dont know why but I cant blacklist nodes anymore.

EDIT: To expound, I cannot alter the blacklist text entry; that is, if I change it and hit enter or hit OK the changes are not saved when I right-click the NPC, IF I have already changed one entry. So, for instance, after blacklisting animals_modpack:wolf I could not come back and blacklist animals_modpack:bear, nor blacklist it in a new guard. Please help, this has led me to stop using your guards unless I want to attack players.

Re: [Modpack] NPC Framework [minetest-npcf] [WIP]

Posted: Sun Jul 12, 2015 20:43
by stu
SAMIAMNOT wrote:I dont know why but I cant blacklist nodes anymore.

EDIT: To expound, I cannot alter the blacklist text entry; that is, if I change it and hit enter or hit OK the changes are not saved when I right-click the NPC, IF I have already changed one entry. So, for instance, after blacklisting animals_modpack:wolf I could not come back and blacklist animals_modpack:bear, nor blacklist it in a new guard. Please help, this has led me to stop using your guards unless I want to attack players.
There are some really nasty bugs and inefficiencies in the current version of this modpack.
I have, however, noticed that it is actually being used by a few people and so decided it deserved little love :3

Although not quite ready for public consumption yet, I have just pushed my 'next generation' branch upstream for testing purposes. This is pretty much a ground-up rewrite of the core so I'd be interested to read the findings of those who do.

https://github.com/stujones11/minetest- ... ee/npcf_ng (requires a recent dev build of minetest)

Note that there is now a new example mob npc, you probably wanna disable that one for now as it is hightly destructive! (you have been warned)