[Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

Element wrote:what do the portal blocks do
They spawn the npcs.

As jojoa1997 said, someone with the skills to do so could fork this mod and work on it.

User avatar
darthvader
Member
Posts: 119
Joined: Sun Sep 08, 2013 14:35
Location: Death Star

by darthvader » Post

How do u find a village.
Q. Why cant you write with a broken pencil?
A. Because its not in minetest.
(The original answer is "Because it's pointless.")

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

by jojoa1997 » Post

darthvader wrote:How do u find a village.
they are not added yet. I might make a soft dependency of the mg mod and use those villages with stationary NPCs but then again idk.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
Rehlgamer101
Member
Posts: 19
Joined: Thu Aug 22, 2013 22:01
Location: I'm there when you blink!
Contact:

by Rehlgamer101 » Post

can you go and add NPCs or change the textures? And is their a way to keep them in one place? For me, they keep going through walls and falling off stuff and sometimes try to kill me.
Last edited by Rehlgamer101 on Wed Nov 27, 2013 16:52, edited 1 time in total.
Super Mario!!! Need I say more? I think not!!

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

by Sokomine » Post

These NPC are attracted to players at night, but they do not attack. They just gang up on the player and hop around you. Keeping them in one place may be difficult, and trying to avoid falling down somewhere may be beyound their capabilites. Those NPC add life to a world and are fun to watch. They're not as advanced as mobf.
A list of my mods can be found here.

User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by SAMIAMNOT » Post

Is this mod discontinued?
I test mines.

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

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by jojoa1997 » Post

SAMIAMNOT wrote:Is this mod discontinued?
No, I really just never saw a need to add anything, and now do not have the time but it still works.
Sokomine wrote:These NPC are attracted to players at night, but they do not attack. They just gang up on the player and hop around you. Keeping them in one place may be difficult, and trying to avoid falling down somewhere may be beyound their capabilites. Those NPC add life to a world and are fun to watch. They're not as advanced as mobf.
I do not have the skill to make them as advanced as mobf, but they are not meant to attack anyone ever. Hence the title Peaceful NPC.
Coding;
1X coding
3X debugging
12X tweaking to be just right

User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by SAMIAMNOT » Post

Nice! Thanks for your hard work. I will try it.
I test mines.

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by Sokomine » Post

jojoa1997 wrote: I do not have the skill to make them as advanced as mobf, but they are not meant to attack anyone ever. Hence the title Peaceful NPC.
They don't attack. They just feel extremly attracted to the player's location at night :-) Perhaps we ought to build them more homes!
A list of my mods can be found here.

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

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by jojoa1997 » Post

Sokomine wrote:
jojoa1997 wrote: I do not have the skill to make them as advanced as mobf, but they are not meant to attack anyone ever. Hence the title Peaceful NPC.
They don't attack. They just feel extremly attracted to the player's location at night :-) Perhaps we ought to build them more homes!
They just want lots of hugs! ;) They feel so lonely at night. Maybe people should visit them.
Coding;
1X coding
3X debugging
12X tweaking to be just right

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by twoelk » Post

hugs?

I want a hug somebody function that regenerates health for both people/creatures involved :-D

User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by SAMIAMNOT » Post

Mod wont work, I even got the plants lib. It says theres an error with the Lua file.
*EDIT* Sorry wrong mod. ;)
*EDIT 2* Actualy this is the right mod. Spmebody help! I cant wait to try these NPCs!
I test mines.

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by Sokomine » Post

SAMIAMNOT wrote: Mod wont work, I even got the plants lib. It says theres an error with the Lua file.
That error description doesn't help us. Please quote the exact error message you get.
A list of my mods can be found here.

User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by SAMIAMNOT » Post

Okay, here is my error:
14:43:40: ERROR[main]: ========== ERROR FROM LUA ===========
14:43:40: ERROR[main]: Failed to load and run script from
14:43:40: ERROR[main]: E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: attempt to concatenate a nil value
14:43:40: ERROR[main]: stack traceback:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: in main chunk
14:43:40: ERROR[main]: ======= END OF ERROR FROM LUA ========
14:43:40: ERROR[main]: Server: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua
14:43:40: ERROR[main]: ModError: ModError: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua



Is it something I did?
I test mines.

User avatar
Esteban
Member
Posts: 873
Joined: Sun Sep 08, 2013 13:26
In-game: Esteban
Contact:

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by Esteban » Post

SAMIAMNOT wrote:Okay, here is my error:
14:43:40: ERROR[main]: ========== ERROR FROM LUA ===========
14:43:40: ERROR[main]: Failed to load and run script from
14:43:40: ERROR[main]: E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: attempt to concatenate a nil value
14:43:40: ERROR[main]: stack traceback:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: in main chunk
14:43:40: ERROR[main]: ======= END OF ERROR FROM LUA ========
14:43:40: ERROR[main]: Server: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua
14:43:40: ERROR[main]: ModError: ModError: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua



Is it something I did?
Rename the mod folder to "peaceful_npc"

User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by SAMIAMNOT » Post

Esteban wrote:
SAMIAMNOT wrote:Okay, here is my error:
14:43:40: ERROR[main]: ========== ERROR FROM LUA ===========
14:43:40: ERROR[main]: Failed to load and run script from
14:43:40: ERROR[main]: E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: attempt to concatenate a nil value
14:43:40: ERROR[main]: stack traceback:
14:43:40: ERROR[main]: ...st-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua:6: in main chunk
14:43:40: ERROR[main]: ======= END OF ERROR FROM LUA ========
14:43:40: ERROR[main]: Server: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua
14:43:40: ERROR[main]: ModError: ModError: Failed to load and run E:\Minecraft and da like\minetest-0.4.10-win32\bin\..\mods\peaceful_npc_master\init.lua



Is it something I did?
Rename the mod folder to "peaceful_npc"
Okay... I don't get the error but I can't find the mods in Creative mode.
I test mines.

User avatar
Esteban
Member
Posts: 873
Joined: Sun Sep 08, 2013 13:26
In-game: Esteban
Contact:

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by Esteban » Post

SAMIAMNOT wrote:
Esteban wrote:
SAMIAMNOT wrote:
-snip-

Is it something I did?
Rename the mod folder to "peaceful_npc"
Okay... I don't get the error but I can't find the mods in Creative mode.
Did you make sure the mod is enabled? Sometimes mods get disabled when you change their name.

User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by SAMIAMNOT » Post

Just got this mod to work and lemme say this; Its the best mod ever. All sorts of charachters, Im not always gonna get the same guy like in npcf AND they look like they came straight outta a wierd RPG. Well done.
EDIT 1: Can they open doors and go up ladders? That would be cool.
EDIT 2: I'm building a hotel populated with these guys and I was wondering why it seems like they keep dissappearing from their hotel rooms. I locked them up (closed the door behind them) too. This happens sometimes with NPCF but I think its because they can somehow jump over two-block-high balcony railing (fences).
I test mines.

User avatar
SAMIAMNOT
Member
Posts: 416
Joined: Wed Sep 03, 2014 00:51
In-game: notanewbie
Location: Desert

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by SAMIAMNOT » Post

Default NPCs dissappear. Havent tried fast or dwarfs yet but the Default NPCs will dissappear if you turn your back on them for ten seconds. Also they can go through you.
EDIT: I got them to work but now they can push me away. Like once I was in the second story of my house. This guy pushed me so hard I got stuck in a glass node! I had to bust the window and jump! Could you make the NPCs go only 1 block away from you? I find it extremely hard to move. Also, they dont follow you simply all night, its midnight til noon. Could you change that or is that how its suposed to be?
I test mines.

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Peaceful NPC [1.8.5.1] [peaceful_npc]

by Sokomine » Post

Gambit wrote: Here's my finished village for one region. It's fairly complete with Houses, Barn, Church, Graveyard, Blacksmith, Inn, Clinic, Watch Tower, and Trading Post. It's fully playable for everyone to tryout.

http://ubuntuone.com/1f3xLL3ODLAdCdeVqDBq64
I've stored the individual buildings that form Gambits village in seperate files. They can now be used together with mg_villages, provided the village_gambit mod is installed.

Here's a nice barn, using default minetest_game:
Image

The same in ethereal, this time with snow:
Image
Attachments
screenshot_20150423_043452.png
screenshot_20150423_043452.png (189.72 KiB) Viewed 1145 times
screenshot_20150423_043351.png
screenshot_20150423_043351.png (247.6 KiB) Viewed 1145 times
A list of my mods can be found here.

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

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

by jojoa1997 » Post

Just a small update. It is now using biome_lib instead of plants_lib.
Coding;
1X coding
3X debugging
12X tweaking to be just right

cesarpachon
Member
Posts: 11
Joined: Sat Nov 22, 2014 04:00
GitHub: cesarpachon
IRC: hydalgo
In-game: hydalgo
Location: colombia
Contact:

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

by cesarpachon » Post

hi! really nice mod! I would like to try to make NPC's to manage state, you know, talk to the user when clicked instead of the default behaviour of receiving damage. Wonder if there are some guidelines around that, perhaps a forked version of this mod?
just a digital hermit
http://www.cesarpachon.com

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

by Sokomine » Post

cesarpachon wrote: hi! really nice mod! I would like to try to make NPC's to manage state, you know, talk to the user when clicked instead of the default behaviour of receiving damage. Wonder if there are some guidelines around that, perhaps a forked version of this mod?
The esmobs tell the player their name and intention when right-clicking them. It's not much, and they've only got one sentence each, but it's a start. There's also a mobtalker mod. None of that seems to be widely used so far. There's a lot of room for development in that direction. More talkative mobs would be fine.
A list of my mods can be found here.

User avatar
ParaklataChotou
Member
Posts: 209
Joined: Sat Jun 18, 2016 17:09
GitHub: paraklatachotou
IRC: CareBearWhoCares
In-game: AutistCortana

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

by ParaklataChotou » Post

jojoa1997 wrote:This mod adds npcs.ImageFrom left to right. default, fast, dwarf

To get privs in singleplayer you have to type "/grant singleplayer peacefulnpc" without the quotes.

License: WTFPL

Mod dependencies: default, biome_lib

Github

Download

Change Log

Todo
Contributors:
sapier (he helped me with the base code)
VanessaE (she helped me with the dropping mese_crystals)
jordan4ipbanez (he made the base code)
kaeza (He helped debug the spawn command)
If i did not say your name please tell me and I will add you.
Why my NPC s are invisible. What do I need to do for fix the bug? I would thank your answer n_n.
Visit my server: freextress.ddnsking.com 30002 . mobs, npcs, interesting places, pvp.

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Peaceful NPC [1.8.5.2] [peaceful_npc]

by Sokomine » Post

ParaklataChotou wrote: Why my NPC s are invisible. What do I need to do for fix the bug? I would thank your answer n_n.
The character model - that which defines how the player char (and these mobs here as well) look like - has been changed. Just search for all occourances of

Code: Select all

character.x
in the mod's folder and replace them with

Code: Select all

character.b3d
and you'll be able to see them again.

Beware: The mobs will still rush on you at night time :-) They won't harm you, but...they can get pretty close and hop on your head :-)
Image
Attachments
mob_mob.jpg
mob_mob.jpg (64.59 KiB) Viewed 1145 times
A list of my mods can be found here.

Post Reply

Who is online

Users browsing this forum: No registered users and 46 guests