wiki.sine.space | sinespace

Difference between revisions of "Quests"

From wiki.sine.space
Jump to: navigation, search
(Created page with "The quest system allows users to build narrative structure in space. Usually driven by interactions with NPCs in your regions, quests can lead users through gameplay or learn...")
 
Line 4: Line 4:
  
 
==Setting up a quest==
 
==Setting up a quest==
 +
  
 
'''Quest Manager'''
 
'''Quest Manager'''
Line 9: Line 10:
  
 
[[File:Questdesignerscript.jpg]]
 
[[File:Questdesignerscript.jpg]]
 +
  
  
Line 16: Line 18:
  
 
Click to add a step and give the quest a name.
 
Click to add a step and give the quest a name.
 +
  
  
Line 24: Line 27:
 
*Side-can only be triggered by another quest.
 
*Side-can only be triggered by another quest.
 
*Activity-users can replay continually.
 
*Activity-users can replay continually.
 +
  
 
'''Quest ID'''
 
'''Quest ID'''
  
 
The quest ID is generated automatically when you click reserve.
 
The quest ID is generated automatically when you click reserve.
 +
  
 
'''Quest Dependency IDs'''
 
'''Quest Dependency IDs'''
Line 34: Line 39:
  
 
This allows you to have multiple quests initiated by the same quest NPC, in series.  
 
This allows you to have multiple quests initiated by the same quest NPC, in series.  
 +
  
 
'''Reward ID'''
 
'''Reward ID'''
 +
  
 
Add the curator ID for any virtual good item you have uploaded. You can get this from the virtual goods component attached to the object once it has been submitted, or from the item list in your account at curator.sine.space
 
Add the curator ID for any virtual good item you have uploaded. You can get this from the virtual goods component attached to the object once it has been submitted, or from the item list in your account at curator.sine.space
 +
  
 
===Quest Step 1-Quest NPC===
 
===Quest Step 1-Quest NPC===
 +
  
 
[[File:Questnpc.jpg]]
 
[[File:Questnpc.jpg]]
 +
  
 
All quests are started by the user clicking an object; the “Quest NPC;” and opting in to the quest.
 
All quests are started by the user clicking an object; the “Quest NPC;” and opting in to the quest.
  
 
To turn any object in your scene into the Quest NPC, add the Quest NPC component to it. (You might normally make the Quest NPC a humanoid NPC, with the Statue component on it, rendering it as a character, but you can add the Quest NPC component to anything with a collider on it that the user can click to start the quest.)
 
To turn any object in your scene into the Quest NPC, add the Quest NPC component to it. (You might normally make the Quest NPC a humanoid NPC, with the Statue component on it, rendering it as a character, but you can add the Quest NPC component to anything with a collider on it that the user can click to start the quest.)
 +
  
 
[[File:Questnpcscript.jpg]]
 
[[File:Questnpcscript.jpg]]
 +
  
 
Once you have added the quest NPC component to an object in your scene, drag that object into the Destination NPC field in the first step of your quest. Now when a user clicks that object it will allow them to start your quest.  
 
Once you have added the quest NPC component to an object in your scene, drag that object into the Destination NPC field in the first step of your quest. Now when a user clicks that object it will allow them to start your quest.  
Line 54: Line 66:
  
 
==Quest steps==
 
==Quest steps==
 +
  
 
You can add quest steps one at a time, building your story.  
 
You can add quest steps one at a time, building your story.  
Line 62: Line 75:
  
 
Quest step types;
 
Quest step types;
 +
  
 
===NPC===
 
===NPC===
  
 
The NPC step type is used to start the quest. (Allen do we need this in the drop down list?)
 
The NPC step type is used to start the quest. (Allen do we need this in the drop down list?)
 +
  
 
===Activity===
 
===Activity===
 +
  
 
[[File:Activity.jpg]]
 
[[File:Activity.jpg]]
 +
  
 
The activity step is a general step which you can use to deploy a wide range of activities which the user must complete before the next step initiates.
 
The activity step is a general step which you can use to deploy a wide range of activities which the user must complete before the next step initiates.
 +
  
 
'''Activity'''
 
'''Activity'''
Line 80: Line 98:
  
 
For more information on startables go here.
 
For more information on startables go here.
 +
  
 
'''Scripting your own startables'''
 
'''Scripting your own startables'''
  
 
You can also write your own startables, which can be full game rounds or learning modules, which the user has to complete before moving on with the quest.
 
You can also write your own startables, which can be full game rounds or learning modules, which the user has to complete before moving on with the quest.
 +
  
 
'''Autoplay'''
 
'''Autoplay'''
Line 92: Line 112:
  
 
For instance if the prior step was an activity step using the StartableGestureRequirement, the quest system will register the user has having completed the step when they initiate a gesture but that gesture may take 30 seconds to play, during which you may not want the next step to initiate.
 
For instance if the prior step was an activity step using the StartableGestureRequirement, the quest system will register the user has having completed the step when they initiate a gesture but that gesture may take 30 seconds to play, during which you may not want the next step to initiate.
 +
  
 
'''Replay Discussion NPC'''
 
'''Replay Discussion NPC'''
Line 100: Line 121:
  
 
This can be any object with the Quest NPC component added to it, dragged into the Replay Discussion NPC field in the step.
 
This can be any object with the Quest NPC component added to it, dragged into the Replay Discussion NPC field in the step.
 +
  
 
'''Area Hint'''
 
'''Area Hint'''
Line 107: Line 129:
  
 
===Quest===
 
===Quest===
 +
  
 
[[File:Quest.jpg]]
 
[[File:Quest.jpg]]
 +
  
 
The quest step allows you to embed one quest inside another. This is a great way to move users from one region to another. (You can also use the Quest Game Object component to spawn teleportation portals at the right moment in front of the user, leading them to the next region.)
 
The quest step allows you to embed one quest inside another. This is a great way to move users from one region to another. (You can also use the Quest Game Object component to spawn teleportation portals at the right moment in front of the user, leading them to the next region.)
 +
  
 
'''Subquest ID'''
 
'''Subquest ID'''
  
 
Paste the ID of the child quest here.
 
Paste the ID of the child quest here.
 +
  
 
===Visit Location===
 
===Visit Location===
 +
  
 
[[File:Location.jpg]]
 
[[File:Location.jpg]]
 +
  
 
The visit location step requires the user to go to a specific place in your region to continue the quest.  
 
The visit location step requires the user to go to a specific place in your region to continue the quest.  
 +
  
 
'''Area to Visit'''
 
'''Area to Visit'''
 +
  
 
Drag any game object including any NPC into this field to require the user to visit this location before the quest continues.  
 
Drag any game object including any NPC into this field to require the user to visit this location before the quest continues.  
Line 129: Line 159:
  
 
For more information on setting up the navmesh in your region go here. (need link)
 
For more information on setting up the navmesh in your region go here. (need link)
 +
  
 
'''Proximity (meters)'''
 
'''Proximity (meters)'''
 +
  
 
Set the proximity in meters to the selected game objects.  
 
Set the proximity in meters to the selected game objects.  
 +
  
 
===Collection===
 
===Collection===
 +
  
 
[[File:Collection.jpg]]
 
[[File:Collection.jpg]]
 +
  
 
The collection step requires the user to click on and collect a specific game object in the scene.  
 
The collection step requires the user to click on and collect a specific game object in the scene.  
 +
  
 
'''Collectible Item'''
 
'''Collectible Item'''
 +
  
 
Add the Quest NPC component to the object you want the user to click on and collect. Drag the object into the Collectible Item field in the quest step. Make sure it has a collider on it so the user can click it.
 
Add the Quest NPC component to the object you want the user to click on and collect. Drag the object into the Collectible Item field in the quest step. Make sure it has a collider on it so the user can click it.
 +
  
 
'''Area Hint'''
 
'''Area Hint'''
 +
  
 
If you want the navmesh to lead the user to the collectible, you can drag it into the Area Hint field.  If you want them to have to search without a hint leave it empty or add your original Quest NPC to guide users back to the quest area in the event they leave the region during this step.
 
If you want the navmesh to lead the user to the collectible, you can drag it into the Area Hint field.  If you want them to have to search without a hint leave it empty or add your original Quest NPC to guide users back to the quest area in the event they leave the region during this step.
 +
  
 
'''Counter'''
 
'''Counter'''
 +
  
 
[[File:Counter.JPG]]
 
[[File:Counter.JPG]]
 +
  
 
The counter step requires users to collect a defined number of counters.
 
The counter step requires users to collect a defined number of counters.
Line 157: Line 199:
  
 
You may also want to use the Startable Timed Counter which offers similar functionality to this step, when added to the Activity step, but on a timed basis.
 
You may also want to use the Startable Timed Counter which offers similar functionality to this step, when added to the Activity step, but on a timed basis.
 +
  
 
'''Number required'''
 
'''Number required'''
 +
  
 
Specify the number of counters the user needs to collect. This can match the total number available in the scene or there can be far more in the scene than the required number, depending on the nature of your game.
 
Specify the number of counters the user needs to collect. This can match the total number available in the scene or there can be far more in the scene than the required number, depending on the nature of your game.
 +
  
 
'''Quick ID Picker/Token ID'''
 
'''Quick ID Picker/Token ID'''
  
 
Add whatever ID you have manually applied to the Counter ID field of the Quest Counter Clickable or Quest Counter Proximity component attached to your counters.
 
Add whatever ID you have manually applied to the Counter ID field of the Quest Counter Clickable or Quest Counter Proximity component attached to your counters.
 +
  
 
'''Area Hint'''
 
'''Area Hint'''
  
 
Use this in conjunction with the navmesh feature to guide people to an area, or drag your Quest giving NPC here to guide  users back to the start of the step should they relog before completion.
 
Use this in conjunction with the navmesh feature to guide people to an area, or drag your Quest giving NPC here to guide  users back to the start of the step should they relog before completion.
 +
  
  
 
===Conversation===
 
===Conversation===
 +
  
 
[[File:Conversation.jpg]]
 
[[File:Conversation.jpg]]
 +
 +
  
 
The conversation step allows you to build cut scenes in the quest, with successive combinations of dialogue, camera, audio and animation on the NPC and the player.
 
The conversation step allows you to build cut scenes in the quest, with successive combinations of dialogue, camera, audio and animation on the NPC and the player.
Line 181: Line 231:
  
 
'''Conversation Actors'''
 
'''Conversation Actors'''
 +
  
 
[[File:Conversationactors.jpg]]
 
[[File:Conversationactors.jpg]]
Line 188: Line 239:
  
 
Add an actor and drag any object with the Quest NPC component attached to it to the NPC Object field.
 
Add an actor and drag any object with the Quest NPC component attached to it to the NPC Object field.
 +
  
 
'''Actor Name'''
 
'''Actor Name'''
  
 
This will appear in dialogue panels during the conversation.
 
This will appear in dialogue panels during the conversation.
 +
  
 
'''Is Player'''
 
'''Is Player'''
  
 
Tick this to use the player as your actor. Add %PLAYER% to the Actor Name field to use the username in dialogue.
 
Tick this to use the player as your actor. Add %PLAYER% to the Actor Name field to use the username in dialogue.
 +
  
 
'''Move to location'''
 
'''Move to location'''
 +
  
 
Add an empty game object in the scene to this field to move your player to this location for the duration of the conversation.  
 
Add an empty game object in the scene to this field to move your player to this location for the duration of the conversation.  
  
 
This allows you to align the player with specific camera shots defined by you during the conversation.
 
This allows you to align the player with specific camera shots defined by you during the conversation.
 +
  
 
'''Conversation dialogues'''
 
'''Conversation dialogues'''
 +
  
 
[[File:Conversationdialogues.jpg]]
 
[[File:Conversationdialogues.jpg]]
 +
  
 
Once you have defined the actors in your conversation you can add as many steps to the conversation as you want.  
 
Once you have defined the actors in your conversation you can add as many steps to the conversation as you want.  
 +
  
 
'''Actor'''
 
'''Actor'''
 +
  
 
Choose the actor narrating the dialogue step.
 
Choose the actor narrating the dialogue step.
 +
  
 
'''Text'''
 
'''Text'''
 +
  
 
Enter the text as it should appear in the dialogue panel.
 
Enter the text as it should appear in the dialogue panel.
 +
  
 
'''Animations'''
 
'''Animations'''
 +
  
 
You can add an animation to the NPC or the player during the step.
 
You can add an animation to the NPC or the player during the step.
 +
  
 
'''Wait for continue?'''
 
'''Wait for continue?'''
 +
  
 
Tick this if you want the dialogue step to remain on the screen until the user clicks continue.
 
Tick this if you want the dialogue step to remain on the screen until the user clicks continue.
 +
  
 
'''Wait timeout'''
 
'''Wait timeout'''
 +
  
 
Define a time in seconds if you want the dialogue to end and the next to start automatically without the user clicking continue.
 
Define a time in seconds if you want the dialogue to end and the next to start automatically without the user clicking continue.
 +
  
 
'''Camera angle'''
 
'''Camera angle'''
 +
  
 
Create an empty game object in your scene and position it so that it looks where you want the user's camera to look during the dialogue.
 
Create an empty game object in your scene and position it so that it looks where you want the user's camera to look during the dialogue.
  
 
You can position your view in the scene view in the Unity editor and then highlight the game object and in the top menu go to GameObject / Align with view to move the position and rotation of the game object to your view.
 
You can position your view in the scene view in the Unity editor and then highlight the game object and in the top menu go to GameObject / Align with view to move the position and rotation of the game object to your view.
 +
  
 
'''Dialogue Audio'''
 
'''Dialogue Audio'''
 +
  
 
You can add audio clips to the dialogue by dragging an audio file from your project to this field.
 
You can add audio clips to the dialogue by dragging an audio file from your project to this field.
 +
  
 
'''Use Lip Sync'''
 
'''Use Lip Sync'''
 +
  
 
Tick this if you want the mouth of the actor to be animated by your audio file.
 
Tick this if you want the mouth of the actor to be animated by your audio file.
 +
  
 
===Branch NPC===
 
===Branch NPC===
 +
  
 
[[File:Branchnpc.JPG]]
 
[[File:Branchnpc.JPG]]
 +
  
 
Branch NPC allows the user to setup several option for player to choose. It will lead to different quest steps based on the user's choice.
 
Branch NPC allows the user to setup several option for player to choose. It will lead to different quest steps based on the user's choice.
Line 251: Line 328:
  
 
==Startables==
 
==Startables==
 +
  
 
Startables are components you can drag into the activity step of a quest.
 
Startables are components you can drag into the activity step of a quest.
  
 
You attach the startable component to the relevant game object; it some cases it might be an empty game object created just to house the startable; and then drag that object into the Activity field of an Activity type step in your quest.
 
You attach the startable component to the relevant game object; it some cases it might be an empty game object created just to house the startable; and then drag that object into the Activity field of an Activity type step in your quest.
 +
  
 
'''Startable Components''':
 
'''Startable Components''':
Line 269: Line 348:
  
 
===Quest Counter Clickable===
 
===Quest Counter Clickable===
 +
  
 
[[File:Counterclickable.jpg]]
 
[[File:Counterclickable.jpg]]
 +
  
 
Add the Quest Counter Clickable component to counters the user must click on to collect.  
 
Add the Quest Counter Clickable component to counters the user must click on to collect.  
 +
  
 
'''Counter ID'''
 
'''Counter ID'''
 +
  
 
Enter an ID of your own creation to the Counter ID field and add the same ID to the Counter ID field of the Counter quest step or the Startable Timed Counter component.
 
Enter an ID of your own creation to the Counter ID field and add the same ID to the Counter ID field of the Counter quest step or the Startable Timed Counter component.
 +
  
  
 
===Quest Counter Proximity===
 
===Quest Counter Proximity===
 +
  
 
[[File:Questcounterprox.jpg]]
 
[[File:Questcounterprox.jpg]]
 +
  
 
Add the Quest Counter Proximity component to counters the user must be within a certain proximity of in order to collect.  
 
Add the Quest Counter Proximity component to counters the user must be within a certain proximity of in order to collect.  
 +
  
 
'''Counter ID'''
 
'''Counter ID'''
 +
  
 
Enter an ID of your own creation to the Counter ID field and add the same ID to the Counter ID field of the Counter quest step or the Startable Timed Counter component.
 
Enter an ID of your own creation to the Counter ID field and add the same ID to the Counter ID field of the Counter quest step or the Startable Timed Counter component.
 +
  
 
'''Trigger Distance'''
 
'''Trigger Distance'''
 +
  
 
Specify the distance from the object that will trigger a successful collection.
 
Specify the distance from the object that will trigger a successful collection.
 +
  
  
 
==Other Components==
 
==Other Components==
 +
  
 
===QuestGameObject===
 
===QuestGameObject===
 +
  
 
This allows you to rez and and derez items in your scene during specified quest steps.
 
This allows you to rez and and derez items in your scene during specified quest steps.
Line 318: Line 411:
  
 
To offset, place empty parent object with PlaceAtOrigin script and then offset visible object from invisible parent.
 
To offset, place empty parent object with PlaceAtOrigin script and then offset visible object from invisible parent.
 +
  
 
===%PLAYER%===
 
===%PLAYER%===
  
 
Use in quest text fields to add player name to dialogue.
 
Use in quest text fields to add player name to dialogue.
 +
  
 
===Replay NPC===
 
===Replay NPC===
  
 
If it's possible to fail an activity step drag the quest NPC into the “Replay NPC” field. It will show a "!" asking the user to repeat the step.
 
If it's possible to fail an activity step drag the quest NPC into the “Replay NPC” field. It will show a "!" asking the user to repeat the step.
 +
  
 
===Avatar effect NPC===
 
===Avatar effect NPC===
 +
 +
 +
[[File:Avatareffectnpc.JPG]]
 +
  
 
Apply to NPCs designed to automatically accept gesture invites.
 
Apply to NPCs designed to automatically accept gesture invites.

Revision as of 11:26, 7 November 2016

The quest system allows users to build narrative structure in space.

Usually driven by interactions with NPCs in your regions, quests can lead users through gameplay or learning and training modules, or through tours, stories or other step based user engagements.

Setting up a quest

Quest Manager


Questdesignerscript.jpg


Create an empty game object in your scene, set it to location 0,0,0 and add the quest manager game component to it.

Click the reserve ID button in the inspector to assign a unique id to your quest.

Click to add a step and give the quest a name.


Quest type

  • Daily-users can play it once every day.
  • Main-users can play the quest only once.
  • Side-can only be triggered by another quest.
  • Activity-users can replay continually.


Quest ID

The quest ID is generated automatically when you click reserve.


Quest Dependency IDs

You can chain quests using dependency ID-Set the size to the number of quests that need to be completed before this quest is available. Then add the individual quest ID of each quest that must already be completed by the user.

This allows you to have multiple quests initiated by the same quest NPC, in series.


Reward ID


Add the curator ID for any virtual good item you have uploaded. You can get this from the virtual goods component attached to the object once it has been submitted, or from the item list in your account at curator.sine.space


Quest Step 1-Quest NPC

Questnpc.jpg


All quests are started by the user clicking an object; the “Quest NPC;” and opting in to the quest.

To turn any object in your scene into the Quest NPC, add the Quest NPC component to it. (You might normally make the Quest NPC a humanoid NPC, with the Statue component on it, rendering it as a character, but you can add the Quest NPC component to anything with a collider on it that the user can click to start the quest.)


Questnpcscript.jpg


Once you have added the quest NPC component to an object in your scene, drag that object into the Destination NPC field in the first step of your quest. Now when a user clicks that object it will allow them to start your quest.


Quest steps

You can add quest steps one at a time, building your story.

Each time you add a step it will duplicate your last step.

Steps can be moved up and down in the sequence using the arrows on the step title bar.

Quest step types;


NPC

The NPC step type is used to start the quest. (Allen do we need this in the drop down list?)


Activity

Activity.jpg


The activity step is a general step which you can use to deploy a wide range of activities which the user must complete before the next step initiates.


Activity

You can drag any “Startable” component into into the Activity field in this step.

The space quest system includes a range of standard startables you might want to use; for requiring a user to wear a particular clothing item or sit on a particular furniture item.

For more information on startables go here.


Scripting your own startables

You can also write your own startables, which can be full game rounds or learning modules, which the user has to complete before moving on with the quest.


Autoplay

Tick autoplay if you want this step to start immediately the prior step completes. If you leave autoplay unticked the user will need to click the quest NPC to start the step.

You may need to leave the Autoplay unticked if your prior step is one that is registered as complete at the start of the step and the user will still engaged in an unrecorded activity before needing to move on.

For instance if the prior step was an activity step using the StartableGestureRequirement, the quest system will register the user has having completed the step when they initiate a gesture but that gesture may take 30 seconds to play, during which you may not want the next step to initiate.


Replay Discussion NPC

The Replay Discussion NPC is the object in the scene the user needs to click if they have failed to complete the quest step. This may be because the quest step is a game component which can be failed; or a learning component with a passing grade. Or it may be because they logged out or were disconnected half way through the deployment of the startable.

The replay NPC can be your original Quest NPC but if that is geographically some distance from the relevant quest step you may chose to put another object near the quest step activity which the user can click to restart the step.

This can be any object with the Quest NPC component added to it, dragged into the Replay Discussion NPC field in the step.


Area Hint

If you are using a navmesh to guide your users around the quest, the area hint will tell them where to go. It might usually be the same object as the Replay Discussion NPC but it can be any game object you drag into the field.


Quest

Quest.jpg


The quest step allows you to embed one quest inside another. This is a great way to move users from one region to another. (You can also use the Quest Game Object component to spawn teleportation portals at the right moment in front of the user, leading them to the next region.)


Subquest ID

Paste the ID of the child quest here.


Visit Location

Location.jpg


The visit location step requires the user to go to a specific place in your region to continue the quest.


Area to Visit


Drag any game object including any NPC into this field to require the user to visit this location before the quest continues.

This step can be used in conjunction with the navmesh to lead them there via a visible path.

For more information on setting up the navmesh in your region go here. (need link)


Proximity (meters)


Set the proximity in meters to the selected game objects.


Collection

Collection.jpg


The collection step requires the user to click on and collect a specific game object in the scene.


Collectible Item


Add the Quest NPC component to the object you want the user to click on and collect. Drag the object into the Collectible Item field in the quest step. Make sure it has a collider on it so the user can click it.


Area Hint


If you want the navmesh to lead the user to the collectible, you can drag it into the Area Hint field. If you want them to have to search without a hint leave it empty or add your original Quest NPC to guide users back to the quest area in the event they leave the region during this step.


Counter


Counter.JPG


The counter step requires users to collect a defined number of counters.

Use this step in conjunction with objects in the scene that have either the Quest Counter Clickable or Quest Counter Proximity component attached.

You may also want to use the Startable Timed Counter which offers similar functionality to this step, when added to the Activity step, but on a timed basis.


Number required


Specify the number of counters the user needs to collect. This can match the total number available in the scene or there can be far more in the scene than the required number, depending on the nature of your game.


Quick ID Picker/Token ID

Add whatever ID you have manually applied to the Counter ID field of the Quest Counter Clickable or Quest Counter Proximity component attached to your counters.


Area Hint

Use this in conjunction with the navmesh feature to guide people to an area, or drag your Quest giving NPC here to guide users back to the start of the step should they relog before completion.


Conversation

Conversation.jpg


The conversation step allows you to build cut scenes in the quest, with successive combinations of dialogue, camera, audio and animation on the NPC and the player.

To edit the conversation step open the Quest Canvas (from the button at the bottom of the quest chain in the inspector window).


Conversation Actors


Conversationactors.jpg


The conversation actors can be one or more NPCs and the play themselves.

Add an actor and drag any object with the Quest NPC component attached to it to the NPC Object field.


Actor Name

This will appear in dialogue panels during the conversation.


Is Player

Tick this to use the player as your actor. Add %PLAYER% to the Actor Name field to use the username in dialogue.


Move to location


Add an empty game object in the scene to this field to move your player to this location for the duration of the conversation.

This allows you to align the player with specific camera shots defined by you during the conversation.


Conversation dialogues


Conversationdialogues.jpg


Once you have defined the actors in your conversation you can add as many steps to the conversation as you want.


Actor


Choose the actor narrating the dialogue step.


Text


Enter the text as it should appear in the dialogue panel.


Animations


You can add an animation to the NPC or the player during the step.


Wait for continue?


Tick this if you want the dialogue step to remain on the screen until the user clicks continue.


Wait timeout


Define a time in seconds if you want the dialogue to end and the next to start automatically without the user clicking continue.


Camera angle


Create an empty game object in your scene and position it so that it looks where you want the user's camera to look during the dialogue.

You can position your view in the scene view in the Unity editor and then highlight the game object and in the top menu go to GameObject / Align with view to move the position and rotation of the game object to your view.


Dialogue Audio


You can add audio clips to the dialogue by dragging an audio file from your project to this field.


Use Lip Sync


Tick this if you want the mouth of the actor to be animated by your audio file.


Branch NPC

Branchnpc.JPG


Branch NPC allows the user to setup several option for player to choose. It will lead to different quest steps based on the user's choice.


Startables

Startables are components you can drag into the activity step of a quest.

You attach the startable component to the relevant game object; it some cases it might be an empty game object created just to house the startable; and then drag that object into the Activity field of an Activity type step in your quest.


Startable Components:


Quest Counter Clickable

Counterclickable.jpg


Add the Quest Counter Clickable component to counters the user must click on to collect.


Counter ID


Enter an ID of your own creation to the Counter ID field and add the same ID to the Counter ID field of the Counter quest step or the Startable Timed Counter component.


Quest Counter Proximity

Questcounterprox.jpg


Add the Quest Counter Proximity component to counters the user must be within a certain proximity of in order to collect.


Counter ID


Enter an ID of your own creation to the Counter ID field and add the same ID to the Counter ID field of the Counter quest step or the Startable Timed Counter component.


Trigger Distance


Specify the distance from the object that will trigger a successful collection.


Other Components

QuestGameObject

This allows you to rez and and derez items in your scene during specified quest steps.

Configurable parameters:

  • QuestID
  • MinStep
  • MaxStep

Attach to other objects (preferably a parent group, if you're updating multiple in a single step)

It enables or disables the object it is on, based on whether the user is inclusively on any step between Min and Max.

Objects can only be seen by the player.


PlaceAtOrigin

This will place an object at the origin of the avatar; 0,0,0 relative to that avatar, non-attached.

To offset, place empty parent object with PlaceAtOrigin script and then offset visible object from invisible parent.


%PLAYER%

Use in quest text fields to add player name to dialogue.


Replay NPC

If it's possible to fail an activity step drag the quest NPC into the “Replay NPC” field. It will show a "!" asking the user to repeat the step.


Avatar effect NPC

Avatareffectnpc.JPG


Apply to NPCs designed to automatically accept gesture invites.