Difference between revisions of "Quest and Dialogue Tutorial"

282 bytes added ,  18:21, 5 January 2009
imported>Entom
imported>Entom
Line 222: Line 222:
*'''ID:''' aBHQuest
*'''ID:''' aBHQuest
*'''Priority:''' 55
*'''Priority:''' 55
*'''Start game enabled:''' Yes (I check the box)
*'''Start game enabled:''' Yes (tick the checkbox)
*'''Script processing delay:''' Yes (default)
*'''Script processing delay:''' Default (tick the checkbox)
 
<blockquote><center>
 
'''Important!''' After filling in these field, click on the OK button in the bottom right side of the Quest Window. This will save the quest data. Then you can open the quest window again and proceed with quest creation.
After filling in these field, click on the OK button in bottom right side of the Quest Window. This will save the quest data.
</center></blockquote>
 
'''Quest Name''' is what Player will see in the quest journal, on the list of quests.
'''Quest Name''' is what Player will see in the quest journal, on the list of quests.


'''Priority''' of 55 is between Miscellaneous (50) and Main quest (60), so it should be enough to start in the game. Actually in this case it is not important what value of the priority I will put, because I am creating an autonomic, totally custom quest. However, to be sure it will show up in the game, I enter the priority of 55.
'''Priority''' of 55 is between Miscellaneous (50) and Main (60) quests, so it should be enough to start in the game. Actually in this case it is not important what value of the priority I will put, because I am creating an autonomic, totally custom quest. However, to be sure it will show up in the game, I enter the priority of 55.


If a quest is '''Start game enabled''', then it is active right from the start of the game, new game or loaded savegame that don't contain data of my custom plugin. Active or Enabled means, that all conditions from scripts or conditions' fields, related to this quest, are processed by the game. So if there are many conditions or scripts that use many arithmetic functions in conditions, it is better to find some way and do not enable a quest from the game start, and leave this field blank and activate a quest with [[StartQuest]], [[SetStage]] or [[SetObjectiveDisplayed]] script functions.
If a quest is '''Start game enabled''', then it is active right from the start of the game, new game or loaded savegame that doesn't contain any data of my custom plugin. Active or Enabled means, that all conditions from scripts or conditions' fields, related to this quest, are processed by the game. So if there are many conditions or scripts that use many arithmetic functions in conditions, it is better to find some other way and do not enable a quest from the game start, leave this field blank and activate the quest with [[StartQuest]], [[SetStage]] or [[SetObjectiveDisplayed]] script functions.


With '''Script processing delay''' box checked the quest scripts processing, by default, will be delayed by 5 seconds of the real time.
With '''Script processing delay''' box checked the quest scripts processing, by default, will be delayed by 5 seconds of the real time.


 
<blockquote><center>
More information about quest data tab can be found [[Quest_Data_Tab|here]].
</center></blockquote>


=== Quest Objectives ===
=== Quest Objectives ===
Anonymous user