[Mod] Folks 0.2.0 [folks]

Post Reply
User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

[Mod] Folks 0.2.0 [folks]

by SonoMichele » Post

About Folks
As said in the title this isn't a stable release, 0.2.0 should be stable but if you find any problem let me know.
Keep in mind that during development things can be broken but i'll let you know if this happens


Folks is a mod that adds customizable NPC, you can use it to add custom NPCs to your world/server and make it look like it is more alive.
In the future I want to add support for quests for RPG games and "cutscenes".
Another thing I want to add is the ability for NPCs to move in a defined area so they really look like people walking in a city.

Check out the latest video showing the available features. This hasn't been updated to 0.1.0/0.2.0 yet.

Features
Spoiler
  • Create an NPC
  • Delete an NPC
  • Despawn created NPCs without deleting them
  • Respawn created NPCs (can spawn copies of the same NPC and every copy will be updated when one is changed)
  • Custom name and name color
  • Custom texture
  • Custom messages (the NPC will cycle through them and send them in order every time a player right clicks the NPC)
  • Can bind name and texture to a specific player (skins_collectible needed)
    - You need to change line 224 on skins_collectible on file api.lua with player_api.set_textures(player, {loaded_skins[skin_ID].texture})
  • NPCs stare at near players
  • Geolocalize your custom messages
How to
Spoiler
Create an NPC
  • Take the item folks:npc_creator and left click with mouse, and NPC will be spawned at your location
Edit an NPC
  • Take the item folks:npc_editor and left click with mouse the NPC you want to edit and a formspec will be opened
  • If you want to bind to a player close the formspec by pressing ESC (not the X button) and execute the command /folks bind <player_name>
Remove an NPC
  • Take the item folks:npc_remover and left click with mouse the NPC you want to remove, all copies of the same NPC will be removed
Despawn an NPC
  • Take the item folks:npc_despawner and left click with mouse the NPC you want to despawn, the NPC won't be deleted so you can spawn it elsewhere
Respawn an NPC
  • Take the item folks:npc_spawner and left click with mouse, a formspec will pop up, select the NPC you want to spawn and click spawn. You can spawn multiple copies of the same NPC, when you edit one of them all the copies will be updated
Geolocalize a custom message
  • Add the translation to the translation file as I've done with "Hey, I'm a Folk!" message in "folks.it.tr" file
Licences
Code: GPLv3
Textures: CC-BY-SA 4.0 (it was created by Giov4)
Logo: CC-BY-SA 4.0 by me

Source Code
You can checkout the source code on my GitLab

Bug Reports and Feature Requests
If you find a bug or have an idea please open an issue on GitLab or write a post here on this thread, although the first method is preferred.

Download
You can dowload the latest release from ContentDB

Screenshot
Image
Last edited by SonoMichele on Tue Feb 23, 2021 21:53, edited 5 times in total.
Creator of BetterPM mod and I'm working on Folks mod.

User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

Re: [Mod] Folks 0.0.0-alpha [folks]

by SonoMichele » Post

Hey, today I added a formspec for editing npcs instead of writing 3 commands to customize your npc.
I also added support for multiple messages which are sent in the order they are set in the formspec.
You can checkout the latest video here: https://peertube.uno/videos/watch/84cba ... a20913f6c2
Creator of BetterPM mod and I'm working on Folks mod.

User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

Re: [Mod] Folks 0.1.0 [folks]

by SonoMichele » Post

Hi everyone, I just released version 0.1.0, I've updated the first post in this thread with all the features and How-Tos. I will make a video about the release showing everything soon
Creator of BetterPM mod and I'm working on Folks mod.

User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

Re: [Mod] Folks 0.2.0 [folks]

by SonoMichele » Post

I just released version 0.2.0 which allows you to geolocalize your custom messages! I've updated the first post of this thread with an "How To" section on how to translate your messages
Creator of BetterPM mod and I'm working on Folks mod.

User avatar
1faco
Member
Posts: 84
Joined: Tue Sep 08, 2020 20:32
GitHub: minefaco
In-game: faco

Re: [Mod] Folks 0.2.0 [folks]

by 1faco » Post

this mod is great! i wanna see the missions! +10

User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

Re: [Mod] Folks 0.2.0 [folks]

by SonoMichele » Post

1faco wrote:
Wed Feb 24, 2021 03:11
this mod is great! i wanna see the missions! +10
I’ll start working on a quests API soon but I don’t know how much time this will take. When it’s in an usable state I’ll implement it on Folks!
Creator of BetterPM mod and I'm working on Folks mod.

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Re: [Mod] Folks 0.2.0 [folks]

by daret » Post

This looks promising 👌

User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

Re: [Mod] Folks 0.2.0 [folks]

by SonoMichele » Post

Thank you!
Creator of BetterPM mod and I'm working on Folks mod.

User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

Re: [Mod] Folks 0.2.0 [folks]

by SonoMichele » Post

I started working on the quests library and if anyone is wondering, the source code is available here: https://gitlab.com/SonoMichele/quests
Creator of BetterPM mod and I'm working on Folks mod.

DOOM_possum
Member
Posts: 172
Joined: Sat Mar 27, 2021 22:06
In-game: DOOM_possum

Re: [Mod] Folks 0.2.0 [folks]

by DOOM_possum » Post

looking for help ~ hiding name tag of MOB from short distance (NPC)

DOOM_possum
Member
Posts: 172
Joined: Sat Mar 27, 2021 22:06
In-game: DOOM_possum

Re: [Mod] Folks 0.2.0 [folks]

by DOOM_possum » Post

looking for help ~ hiding name tag of MOB from short distance (NPC)

User avatar
CodeMiner
New member
Posts: 6
Joined: Thu Jan 14, 2021 17:08

Re: [Mod] Folks 0.2.0 [folks]

by CodeMiner » Post

When I use the NPC create tool, nothing happens. In your video it shows an NPC pop up, yet when I do it nothing appears. Am I doing something wrong? Am I missing a required component? Is there a bug? Please give guidance, thank you. PS: I can't open an issue with gitlab because their website email confirmation system is failing.

User avatar
AntumDeluge
Member
Posts: 213
Joined: Sun Aug 07, 2016 05:42
GitHub: AntumDeluge
IRC: AntumDeluge
Contact:

Re: [Mod] Folks 0.2.0 [folks]

by AntumDeluge » Post

So far, this is my favorite NPC mod. Thank you very much! I'm having an issue though, where the changes I make to one of my folk NPC get reverted to default after server restart. I made three that work fine, but with the fourth, the custom name, dialogue, & skin get reverted.

Opened Gitlab issue.

I'm actually working on a shop mod & plan to make it compatible with folks.

User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

Re: [Mod] Folks 0.2.0 [folks]

by SonoMichele » Post

DOOM_possum wrote:
Fri Apr 16, 2021 06:07
looking for help ~ hiding name tag of MOB from short distance (NPC)
You want to hide name tag when you get close to the NPC?
Creator of BetterPM mod and I'm working on Folks mod.

User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

Re: [Mod] Folks 0.2.0 [folks]

by SonoMichele » Post

CodeMiner wrote:
Sun Apr 18, 2021 21:33
When I use the NPC create tool, nothing happens. In your video it shows an NPC pop up, yet when I do it nothing appears. Am I doing something wrong? Am I missing a required component? Is there a bug? Please give guidance, thank you. PS: I can't open an issue with gitlab because their website email confirmation system is failing.
Can you do that again and post the console log you get when this happens?
Creator of BetterPM mod and I'm working on Folks mod.

User avatar
SonoMichele
Member
Posts: 19
Joined: Thu Nov 12, 2020 14:19
GitHub: xMicky24GIT
In-game: SonoMichele
Contact:

Re: [Mod] Folks 0.2.0 [folks]

by SonoMichele » Post

I’m sorry for late response but I’m busy with school and I won’t be able to actively work on Folks for the moment. I don’t know when I’ll be able to start working on it again
Creator of BetterPM mod and I'm working on Folks mod.

AmyMoriyama
Member
Posts: 107
Joined: Wed Jun 30, 2021 14:53
GitHub: AmyMoriyama

Re: [Mod] Folks 0.2.0 [folks]

by AmyMoriyama » Post

SonoMichele wrote:
Sun May 16, 2021 17:06
I’m sorry for late response but I’m busy with school and I won’t be able to actively work on Folks for the moment. I don’t know when I’ll be able to start working on it again
Hope everything is going well with the schooling.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests