
/// <summary>
/// This represents a data driven quest
/// DataQuests are defined in the database instead of a script.
///
/// Each Quest should have a complete set of startup parameters. All of these are non serialized.
///
/// Name, StartType, StartName, StartRegionID, AcceptText and Description. These determine who offers the quest and what text is displayed
/// to the player considering accepting the quest.
///
/// Once a quest is started each step behaves in a set order.
///
/// Source -> Target -> Advance to Next Step
///
/// Step 1 is considered the first step, and for each step
/// Source is considered who started the Step and Target is considered who ends the Step. For each Step the following columns must
/// have serialized values, separated by | for each Step, including Step 1. If the last value for any step is empty then the string should
/// end with a double pipe |
///
/// SourceName;RegionID - both the SourceName and TargetName fields must be in the format Name;RegionID|Name;RegionID...
///
/// SourceText - what the source says to you when beginning a step. If a source starting the next step has no text then an empty
/// string can be provided using || with nothing between the pipes.
///
/// StepType - The type of step from eStepType
///
/// StepText - The text for the step that appears in the players quest journal
///
/// StepItemTemplates - Any items that need to be given to the player at the start of the step. If no items are given to a player
/// at any of the steps then this can be null, otherwise it must have values for each step. Empty values || are ok.
///
/// AdvanceText - The text needed, if any, to advance this step. If no step requires advance text then this can be null, otherwise
/// text must be provided for every step. Empty values || are ok.
///
/// TargetName;RegionID
///
/// TargetText - Text shown to player when current step ends.
///
/// CollectItemTemplate - Item that needs to be collected to end the current step. If no items are ever collected this can be kept null,
/// otherwise it needs an entry for each step. Empty values || are ok.
///
/// MaxCount, MinLevel, MaxLevel - Single values to determine who can do quest. All must be provided.
///
/// RewardMoney - Serialized list of money rewarded for each step. All steps must have a value, 0 is ok.
///
/// RewardXP - Serialized list of XP rewarded each step. All steps must have a value, 0 is ok.
///
/// OptionalRewardItemTemplates - A serialized list of optional rewards to be presented to the player at the end of a Reward quest.
/// The first value must be a number from 0 to 8 followed by the item list. ex: 2id_nb|id_nb For quests without optional rewards
/// this field can be null.
///
/// FinalRewardItemTemplates - A serialized list of rewards to be given to the player at the end of a quest. For quests without
/// rewards this field can be null.
///
/// </summary>
Can you attach it to first post please? Will work on having it auto include to user files section.See Above Post - Its Uploaded.
If at first you don't succeed, then you are mediocre ;)
Users browsing this forum: No registered users and 1 guest