User Tools

Site Tools


mmorpg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
mmorpg [2018/01/16 17:44]
Mr.Numbers Fixed the "Quest" section referencing templates when it meant to reference actors.
mmorpg [2018/01/16 17:45] (current)
Mr.Numbers Fixed "Actor" linking to "Actor" page in quest section.
Line 120: Line 120:
 ===== Quests ===== ===== Quests =====
  
-As mentioned in the previous section, MMORPGs require networking for most client-side actions - including quests. When creating a quest-giving NPC (see the "​Talked to / Activated"​ triggers inside the "​Stuck-Up Steve" ​actor in the default map "​Spawn"​ for collection quest and the "Lost Soul" ​actor in the default map "​Monster Area" for kill quest) the client needs to let the server know an action has been performed and then the server can initiate the action on the player'​s behalf (see "​Activate Actor" **[[networkmessages|Network Message]]**).+As mentioned in the previous section, MMORPGs require networking for most client-side actions - including quests. When creating a quest-giving NPC (see the "​Talked to / Activated"​ triggers inside the "​Stuck-Up Steve" ​**[[Actor]]** ​in the default map "​Spawn"​ for collection quest and the "Lost Soul" ​**[[Actor]]** ​in the default map "​Monster Area" for kill quest) the client needs to let the server know an action has been performed and then the server can initiate the action on the player'​s behalf (see "​Activate Actor" **[[networkmessages|Network Message]]**).
  
 On the server side, it will check to see the status of a given quest (see "​Objective Get" **[[customevents|Custom Event]]**). If the value is equal to 0 then the quest hasn't begun, so this is where you will need to inform the player on the requirements for completing the quest (see "​Server Notification"​ **[[customevents|Custom Event]]**) and then set the appropriate objective value to start the quest (see "​Objective Set" **[[customevents|Custom Event]]**). When the player has completed an objective, you will then need to update the objective value for that quest (see the "​Defeated / Destroyed"​ trigger inside the "​Slime"​ **[[templates|Actor Template]]** for kill quests, for example). On the server side, it will check to see the status of a given quest (see "​Objective Get" **[[customevents|Custom Event]]**). If the value is equal to 0 then the quest hasn't begun, so this is where you will need to inform the player on the requirements for completing the quest (see "​Server Notification"​ **[[customevents|Custom Event]]**) and then set the appropriate objective value to start the quest (see "​Objective Set" **[[customevents|Custom Event]]**). When the player has completed an objective, you will then need to update the objective value for that quest (see the "​Defeated / Destroyed"​ trigger inside the "​Slime"​ **[[templates|Actor Template]]** for kill quests, for example).
mmorpg.txt ยท Last modified: 2018/01/16 17:45 by Mr.Numbers