Scriptable Entities Design: Difference between revisions
No edit summary |
|||
Line 1: | Line 1: | ||
== Player Use Cases == | |||
<uml> | <uml> | ||
:Player: --> (Hire NPC) | :Hiring Player: --> (Hire NPC) | ||
:Player: --> (Script NPC) | :Hiring Player: --> (Script NPC) | ||
:Player: --> (Release NPC) | :Hiring Player: --> (Release NPC) | ||
:Player: --> (Interact with NPC) | |||
</uml> | </uml> | ||
=== Hire NPC === | === Hire NPC === | ||
Player target npc and enter "/hire" or selecting the hire icon from the | Player target npc and enter "/hire" or selecting the hire icon from the context menu (See [[Context Menu Design]]). This open the hire NPC dialogue where the user can select tasks and see the price for each service. Select the needed service and confirm hiring of the NPC. | ||
=== Script NPC === | |||
Hired NPCs can be scripted. User open the script window to enter new scripts for the NPC. | |||
=== Release NPC === | |||
A NPC that is no longer needed can be released. This will be done from the Hire dialogue. | |||
== NPC Use Cases == | |||
<uml> | |||
:Hired NPC: --> (Guard) | |||
:Hired NPC: --> (NPC dialgoue) | |||
:Hired NPC: --> (Buy/Sell) | |||
</uml> | |||
=== Guard === | |||
Perform Guard duties. Pre-programmed guard action. Player select working hours, main guarding position, a number of check points and interval for checking thous. | |||
=== NPC dialogue === | |||
Through Quest script syntax with user safe commands enabling custom scripts to be crated for the NPC. | |||
=== Buy/Sell === | |||
NPC can sell and buy either personal or guild items. |
Revision as of 15:19, 22 December 2013
Player Use Cases

Hire NPC
Player target npc and enter "/hire" or selecting the hire icon from the context menu (See Context Menu Design). This open the hire NPC dialogue where the user can select tasks and see the price for each service. Select the needed service and confirm hiring of the NPC.
Script NPC
Hired NPCs can be scripted. User open the script window to enter new scripts for the NPC.
Release NPC
A NPC that is no longer needed can be released. This will be done from the Hire dialogue.
NPC Use Cases

Guard
Perform Guard duties. Pre-programmed guard action. Player select working hours, main guarding position, a number of check points and interval for checking thous.
NPC dialogue
Through Quest script syntax with user safe commands enabling custom scripts to be crated for the NPC.
Buy/Sell
NPC can sell and buy either personal or guild items.