@decentralize___
decentralize*
1 year
npc guide for @hyperfy_io 0-Ingredients -1/ 1-NPC as a brief chat -/2 2-Possible Interactions with Chat -3/ 3-NPC as a teleporter -4/ 4-Quests -8/ 5-Smart Objects -22/ 5a- 1st Task -25/ 5b- 2nd Task -30/ 6- End NPC -36/ quests might be a bit complicated but, lets dive 🥽
3
8
29

Replies

@decentralize___
decentralize*
1 year
0-Ingredients (basic interface of the NPC app) -name it (will be seen on top of the NPC) -Select a .vrm -select a .glb animation - Greeting text -Visibility (depending on quests, smart objects, tasks) - Messages (0 to 4 messages, with interactions + visibility) 1/
Tweet media one
1
0
4
@decentralize___
decentralize*
1 year
1-NPC as a brief chat This first option is the most basic use of NPCs. Simply, write your “Greetings” text, to display the character's purpose. Then, you can add up to 4 different text inputs in a style of Q&A. 2/
Tweet media one
1
0
4
@decentralize___
decentralize*
1 year
2-Possible Interactions with Chat Each answer is able to have interactions, such as: -sit on any “seat”, -“Teleport” to anywhere, -activate any“camera”, -”play/stop/toggle” any audio/video (tts audio text could be generated) -Start/end “Quest” –interact with “Smart Object” 3/
Tweet media one
1
0
4
@decentralize___
decentralize*
1 year
3-NPC as a teleporter While you can add some information as text, you can use it as a set of portals as well. First, locate your “Place”s on desired spots, name their label and assign them to the selected chats. 4/
2
0
5
@decentralize___
decentralize*
1 year
-Example of greeting: “Hello, welcome to house, we have 4 different spots that you could visit, you can explore it by walking, or you can select any name on below to teleport there directly. Cheers” 5/
1
0
4
@decentralize___
decentralize*
1 year
Prompts (no Response needed since the message will not be seen after teleporting) 1-Kitchen (on click: Teleport: Kitchen ) 2-Living Room (on click: Teleport: Living Room ) 3-Bedroom (on click: Teleport: Bedroom ) 4-WC (on click: Teleport: WC) 6/
1
0
3
@decentralize___
decentralize*
1 year
***In each teleported place, you can also add another NPC to explain that space, also can add an option of “GO BACK” as a chat input, which also teleports the user to the landing point (teleport or respawn) 7/
1
0
4
@decentralize___
decentralize*
1 year
4-Quests
Tweet media one
1
0
4
@decentralize___
decentralize*
1 year
Quests are a series of interactive actions that could be created and organized via the Quest app by using Smart Objects via NPCs. To assign a Quest to an NPC, you have to select NPC to host the quest (png 1), and then assign Tasks to Smart Objects (png 2). 9/
Tweet media one
Tweet media two
1
0
4
@decentralize___
decentralize*
1 year
First, we need to break down the interface of the QUEST app:
Tweet media one
1
0
3
@decentralize___
decentralize*
1 year
NAME: Name of the Quest that will be seen on the top of the NPC chat. START TEXT: The explanation text that will be seen when the Quest NAME is clicked on the NPC Chat. 11/
Tweet media one
1
0
4
@decentralize___
decentralize*
1 year
ACTIVE TEXT: explanation text that will be seen while the Quest is active but not completed yet on the NPC Chat. (If you set the END AT to another NPC, then this text will be seen on that one.) END TEXT: Its the message that the user will see on the End NPC when completed 12/
1
0
4
@decentralize___
decentralize*
1 year
START AT: NPC that users can start the QUEST by interacting with the chatbox. (The designated NPC will have a yellow exclamation point next to their NAMEs.) END AT: NPC that users will finish QUEST by interacting with the chatbox. (You can set the same NPC for Start n End) /13
1
0
4
@decentralize___
decentralize*
1 year
REQUIREMENT: You can assign Flags, Tasks, or Quests to make that quest available. If it is the first one, leave it empty. 14/
1
0
3
@decentralize___
decentralize*
1 year
ON START: Any interaction is available here. If you want to teleport users to somewhere else, give a hint on a new Tab, write something on Chat, or activate a Camera view before starting, this section is where you set them. You can leave it empty if you dont want any of that. 15/
1
0
4
@decentralize___
decentralize*
1 year
ON COMPLETE: The set of actions when the quest is completed could be organized here. 16/
Tweet media one
1
0
4
@decentralize___
decentralize*
1 year
Examples: 1-Smart Object(s) / Stage 1 Make smart objects to be “Stage 1” to reset the scene after the user is completed the task. If not, the quest will be done, so no other user could do the quest. 17/
1
0
4
@decentralize___
decentralize*
1 year
2-Chat (Local/Global) Any message that you want to share on chat on the left below (eg: congrats) 3-Audio: Play an SFX or audio when the task is completed. 4-Teleport: Teleport users to a place. 5-Quest: Quest 1: Reset- this will reset the whole process at end, to enable it again
1
0
4
@decentralize___
decentralize*
1 year
ON RESET: When the quest is reset, these series of actions are assigned to which stage smart objects have to turn back. (Same settings as example 1 of On Completed on top) 19/
1
0
4
@decentralize___
decentralize*
1 year
TASKS: a number of tasks have to be selected depending on the Quest. Task #1 : NAME: The text that will appear on below right when the quest is started. NEEDED: The number of Smart Objects to be interacted. ON COMPLETE: Any interaction could be set after completing the task. 20/
Tweet media one
1
0
4
@decentralize___
decentralize*
1 year
***You have to assign this task to Smart Object, from the Smart Object Menu, with using Allowed and Interact. 21/
1
0
4
@decentralize___
decentralize*
1 year
5-SMART OBJECTS Smart objects app allows .glb files to have different behaviors in different stages. There are max 3 stages available, and it could be thought of as a periodical order, like an evolution. 22/
Tweet media one
1
0
4
@decentralize___
decentralize*
1 year
When a user interacts, behavior of the objects evolves to Stage 2 and the interaction triggers actions that are assigned in the Smart Object Menu. When the user interacts again, it will pass to Stage 3, if there is any. Reset on the below QUEST app will set them to Stage 1. 23/
Tweet media one
1
0
4
@decentralize___
decentralize*
1 year
The First task that will be shown has 2 stages, it is a simple click-and-grab. You can only have 1 task too, by setting the task number to 1 in the below of the Quest app. To have a bit more spice, we will see another Task (2ND), with a small number of additions. 24/
1
0
3
@decentralize___
decentralize*
1 year
5a- In 1st stage of the 1ST TASK: 1-The interaction is made by Click, so when clicked, it will pass to Stage 2, it can be also done with the proximity. 2-Hint: The text users see when they get close to the mouse. 25/
Tweet media one
1
0
2
@decentralize___
decentralize*
1 year
3-Allowed: Since this object's purpose is to be clicked for the sake of Quest, the builder has to select Quest Active and set that to their Quest (NAME of the Quest) 26/
1
0
3
@decentralize___
decentralize*
1 year
4-On Interact: a-Increment Task: Quest 1>Find the Chair and Bring to Me = This option will allow this task to be completed when the interaction is completed. b-Smart Object / Stage 2> That is the setting we need for Smart Object to pass to Stage 2. 27/
1
0
3
@decentralize___
decentralize*
1 year
On 2nd stage, When the object is clicked/interacted with, the assigned task is completed. So, by saying OVERRIDE, we create a new layer for the object. You can change the model from there, but leaving it empty will make the smart object disappear since the task is done. 28/
Tweet media one
1
0
2
@decentralize___
decentralize*
1 year
***There is no order between tasks, the user can complete them in any order. 29/
1
0
2
@decentralize___
decentralize*
1 year
5b- 2ND TASK -Open the Vid, Collect the Car For the 2nd task, we will have an animated model, that is standing still for the 1st stage. When the user interacts, the model will be animated and it will trigger the Video to Play. 30/
Tweet media one
1
0
1