One Stop Shop for Quest/Event making?


Has anyone created a collection of which tags do what, which ones are needed, which ones are working, etc. for FE Yet? I'd be interested in doing some kind of low-grade editor for to making Quests and Random Events (nothing fancy but it should be nicer than working in notepad), but I'd like to know have an idea of what kind of beast of a system I am tackling.

Thanks in advance.

19,224 views 14 replies
Reply #1 Top

I'm going to say try peeking in corequests.xml  :P

Reply #2 Top

I have miles of knowledge of the quest system. I don't care to take the time to put together a list of tags, but I might make a few how-to videos once modding is officially open. I learned most of what I know by trial and error and reading the XML of all current quests. A cool way to start learning is to take a finished ingame quest and duplicate it. Then change the outcomes of each choice after the introduction. When it is complete it will use already ingame assets, but you now have some larger quest variety. 

 

The basic idea is that there are quest objectives starting at 0, which is the introduction. Each objective can have a reward, encounter (fight), choice, or condition to meet. You can have any number of objectives, so there is no limit to how long a quest is. The units you add for encounters need to be in the CoreMonsterTypes.xml file. Knowing that, you should be able to do some cool stuff while learning what everything does. If you have questions post them here and the local know-it-alls will answer them. 

 

Good Luck!

Reply #3 Top

Quoting seanw3, reply 2
The units you add for encounters need to be in the CoreMonsterTypes.xml file

Just so we're clear, what Seanw3 is saying is that the monster type has to exist. The easiest way is to just pick one from CoreMonsterTypes.xml but you can of course create your own.

Reply #4 Top

Hello seanw3,
I have read of your knowledge on quests, and other aspects of the editing on the game, and I wanted to ask if you can help me on some issues.

1) I am trying to create a quest or a GoodieHut it is only available for a specific race. In order to place into play specific champions.
2) Is it possible to create on game starts one or more champions, or support units that can then be updated when you find new weapons or armor.
3) Is possible to create a random quest through (for example a spell) that has an effect on the map?

I ran several tests, and I got several hits, but I could not solve the following problems:

a ) An summoned units remains as such in as it came into play.
b ) I was able to make a GoodieHunt (specific not random) and place it at run-time (not on game start), but not a quest.
c ) In GoddieHunt I was not been able to establish a proper chance of meetings and rewards.

Thanks for any help you can provide.
P.S.
Naturally the discussion is open, anyone with tips can post them freely.

Reply #5 Top


a) I am not sure what you mean here. Did you mean a summoned hero or non-hero unit is not leveling up?

 

b)There is a specific gamemodifier for spawning a quest on the map. The modifier needs to look like this:

 

<GameModifier>

<ModType>Map</ModType>

<Attribute>CreateQuestNearTile</Attribute>

<Unitclass>YourQuestInternalName</Unitclass>

<BoolVal1>1</BoolVal1>

<Value>1</Value>

<Provides>Spawns a new quest</Provides>

</GameModifier>

Just put the internal name of the quest you want in where I wrote "YourQuestInternalName."

 

c)The tag for chance of encounter is currently not functioning. Encouters will always happen. Loot should be fine as long as the total likelihood of loots equals 100. So for example, if you want a 50% chance that the player gets nothing, you need to have a reward with no loot that has a 50% chance to occur.

Reply #6 Top

a ) exactly, a  summoned hero or unit is not capable of increasing level. In addition, a hero summoned can not be equipped in the store.

 

b ) Gee thanks, I must have missed, I will try to implement it.

 

c ) Ok, I thought it was my fault not having understood anything ;)

 

Thanks for the tips ;)

Reply #7 Top

     Are you using Unitclass to make the summoned unit a champion?     

 

 

            <GameModifier InternalName="Reward2">
                <ModType>Unit</ModType>
                <Attribute>UnitJoinArmy</Attribute>
                <StrVal>Champion_Haitan</StrVal>
                <UnitClass>Champion</UnitClass>
            </GameModifier>

 

Reply #8 Top


a) Not exactly sure without seeing your xml file, but I would guess that you have forgotten some tags that make heroes heroes. Try taking a specific hero from CoreUnits.xml and using it for the quest. Look over the tags there that are different from the normal units.

Reply #9 Top

That's right, try to create a new unit on the basis of the "champions" that already exist in the game.
After creating the unit. It works. In an old GoddieHunt I used the following code

Code: xml
  1. &lt;Treasure&gt;
  2.    &lt;Title&gt;Hero Rescue&lt;/Title&gt;
  3.    &lt;Desc&gt;In their lair, find a hero that was previously capture by the bandits. The hero in gratitude decided to
  4.      devote themselves to your cause.    &lt;/Desc&gt;
  5.    &lt;Likelihood&gt;2&lt;/Likelihood&gt;
  6.    &lt;GameModifier InternalName="Rescue6"&gt;
  7.       &lt;ModType&gt;Unit&lt;/ModType&gt;
  8.       &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  9.       &lt;StrVal&gt;Champion_Edmund&lt;/StrVal&gt;
  10.       &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  11.    &lt;/GameModifier&gt;
  12. &lt;/Treasure&gt;

 

Reply #10 Top

seanw3 I have a little problem,
I created this quest, but it behaves strangely.
First, as the description puts it "I opened the cell B and i found ..."
the second does not provide me options cells A - M so I could take to reward the champion that I have chosen.

 

Code: xml
  1. &lt;?xml version="1.0" encoding="iso-8859-1"?&gt;
  2. &lt;!-- Created with the Elemental Editor --&gt;
  3. &lt;!-- CoreQuests.xml --&gt;
  4. &lt;!-- --&gt;
  5. &lt;Quests&gt;
  6. &lt;DataChecksum NoParse="1"&gt;
  7. &lt;Ignore&gt;DispName&lt;/Ignore&gt;
  8. &lt;Translate&gt;DisplayName,Description&lt;/Translate&gt;
  9. &lt;/DataChecksum&gt;
  10. &lt;QuestDef InternalName="Quest_Kidnapped_Champion"&gt;
  11. &lt;DisplayName&gt;Kidnapped Champion&lt;/DisplayName&gt;
  12. &lt;Description&gt;The inn echoes with songs, laughter and drunken arguments. In a corner, a battered guard raves clearly under drunkenness. Attracted by some disconnected phrases you decide to get closer and offering him a beer, you sit down at his table to hear his story.
  13. "My master is lost ... I could not do anything ..." he says. "It was dark and I was tired... When they jumped on me. I did not realize what was happening until it was too late to warn my master. All I know is that several hours later I woke up in the remains of the camp. Disorder everywhere, much of our equipment had disappeared as well as our horses, but much worse than this my master was gone. I tried to find out where they had brought my master, but I&#39;ve never been good at following the tracks, and then I was without horses."
  14. The dejected Guard takes another drink from the beer that you offered.
  15. "If you manage to recover my master I will give You the money that my master had offered me. You&#39;ll be certainly earned them more than me."&lt;/Description&gt;
  16. &lt;IsStartingPointQuest&gt;0&lt;/IsStartingPointQuest&gt;
  17. &lt;ShortTextAccept&gt;I seek his master&lt;/ShortTextAccept&gt;
  18. &lt;ShortTextDeny&gt;I&#39;m too busy for this&lt;/ShortTextDeny&gt;
  19. &lt;RewardText&gt;200 gildar&lt;/RewardText&gt;
  20. &lt;RewardImage&gt;Res_Icon_Gold&lt;/RewardImage&gt;
  21. &lt;QuestClass&gt;Minor&lt;/QuestClass&gt;
  22. &lt;Repeatable&gt;0&lt;/Repeatable&gt;
  23. &lt;TriggerType&gt;QuestLocation&lt;/TriggerType&gt;
  24. &lt;TriggerOrigin&gt;EventLocation&lt;/TriggerOrigin&gt;
  25. &lt;SpawnRating&gt;-1&lt;/SpawnRating&gt;
  26. &lt;Image&gt;F_Cooperation_Full.png&lt;/Image&gt;
  27. &lt;PrefQuestLoc&gt;QuestLoc_Inn2&lt;/PrefQuestLoc&gt;
  28. &lt;Treasure&gt;
  29. &lt;GameModifier InternalName="Reward1"&gt;
  30. &lt;ModType&gt;Player&lt;/ModType&gt;
  31. &lt;Attribute&gt;Treasury&lt;/Attribute&gt;
  32. &lt;Value&gt;200&lt;/Value&gt;
  33. &lt;/GameModifier&gt;
  34. &lt;/Treasure&gt;
  35. &lt;QuestObjectiveDef&gt;
  36. &lt;ObjectiveID&gt;0&lt;/ObjectiveID&gt;
  37. &lt;NextObjectiveID&gt;1&lt;/NextObjectiveID&gt;
  38. &lt;Description&gt;Hunt down the bandits who kidnapped the master of the guard.&lt;/Description&gt;
  39. &lt;Treasure&gt;
  40. &lt;GameModifier&gt;
  41. &lt;ModType&gt;Map&lt;/ModType&gt;
  42. &lt;Attribute&gt;CreateGoodieHut&lt;/Attribute&gt;
  43. &lt;StrVal&gt;Bandit Camp&lt;/StrVal&gt;
  44. &lt;Unitclass&gt;GH_BanditCamp&lt;/Unitclass&gt;
  45. &lt;Radius&gt;2&lt;/Radius&gt;
  46. &lt;/GameModifier&gt;
  47. &lt;/Treasure&gt;
  48. &lt;QuestConditionDef&gt;
  49. &lt;Objective&gt;
  50. &lt;Icon&gt;Mana_32.png&lt;/Icon&gt;
  51. &lt;Text&gt;Defeat the Bandit 1.&lt;/Text&gt;
  52. &lt;IsOptional&gt;0&lt;/IsOptional&gt;
  53. &lt;/Objective&gt;
  54. &lt;Class&gt;Success&lt;/Class&gt;
  55. &lt;Type&gt;ClearGoodieHut&lt;/Type&gt;
  56. &lt;TextData&gt;GH_BanditCamp&lt;/TextData&gt;
  57. &lt;Flag&gt;RevealTarget&lt;/Flag&gt;
  58. &lt;/QuestConditionDef&gt;
  59. &lt;ChoiceText&gt;In the distance you see a camp of bandits, they have several wagons, and much equipment, but you do not see the prisoners. You must enter the field and confront them to be sure.&lt;/ChoiceText&gt;
  60. &lt;ChoiceMedallion&gt;B_Bandit_Card_01.png&lt;/ChoiceMedallion&gt;
  61. &lt;ChoiceMedallionFrame&gt;Medallion_Frame_17.png&lt;/ChoiceMedallionFrame&gt;
  62. &lt;QuestChoiceDef&gt;
  63. &lt;Description&gt;Tonight the Bandits become my prey.&lt;/Description&gt;
  64. &lt;NextObjectiveID&gt;1&lt;/NextObjectiveID&gt;
  65. &lt;Encounter&gt;
  66. &lt;Liklihood&gt;100&lt;/Liklihood&gt;
  67. &lt;BattleIdentifier&gt;BOSS&lt;/BattleIdentifier&gt;
  68. &lt;WillRespawn&gt;0&lt;/WillRespawn&gt;
  69. &lt;RespawnChance&gt;0&lt;/RespawnChance&gt;
  70. &lt;WanderingRadius&gt;0&lt;/WanderingRadius&gt;
  71. &lt;UnitInstance&gt;
  72. &lt;UnitType&gt;BanditArcher&lt;/UnitType&gt;
  73. &lt;Level&gt;2&lt;/Level&gt;
  74. &lt;/UnitInstance&gt;
  75. &lt;UnitInstance&gt;
  76. &lt;UnitType&gt;BanditArcher&lt;/UnitType&gt;
  77. &lt;Level&gt;2&lt;/Level&gt;
  78. &lt;/UnitInstance&gt;
  79. &lt;UnitInstance&gt;
  80. &lt;UnitType&gt;Bandit&lt;/UnitType&gt;
  81. &lt;Level&gt;1&lt;/Level&gt;
  82. &lt;/UnitInstance&gt;
  83. &lt;UnitInstance&gt;
  84. &lt;UnitType&gt;Bandit&lt;/UnitType&gt;
  85. &lt;Level&gt;1&lt;/Level&gt;
  86. &lt;/UnitInstance&gt;
  87. &lt;UnitInstance&gt;
  88. &lt;UnitType&gt;BanditGuard&lt;/UnitType&gt;
  89. &lt;Level&gt;3&lt;/Level&gt;
  90. &lt;/UnitInstance&gt;
  91. &lt;UnitInstance&gt;
  92. &lt;UnitType&gt;BanditCaptain&lt;/UnitType&gt;
  93. &lt;Level&gt;4&lt;/Level&gt;
  94. &lt;/UnitInstance&gt;
  95. &lt;/Encounter&gt;
  96. &lt;/QuestChoiceDef&gt;
  97. &lt;QuestChoiceDef&gt;
  98. &lt;Description&gt;I will return later.&lt;/Description&gt;
  99. &lt;NextObjectiveID&gt;0&lt;/NextObjectiveID&gt;
  100. &lt;/QuestChoiceDef&gt;
  101. &lt;/QuestObjectiveDef&gt;
  102. &lt;QuestObjectiveDef&gt;
  103. &lt;ObjectiveID&gt;1&lt;/ObjectiveID&gt;
  104. &lt;NextObjectiveID&gt;2&lt;/NextObjectiveID&gt;
  105. &lt;PopupObjectiveMsg&gt;0&lt;/PopupObjectiveMsg&gt;
  106. &lt;QuestConditionDef&gt;
  107. &lt;Objective&gt;
  108. &lt;Icon&gt;Mana_32.png&lt;/Icon&gt;
  109. &lt;Text&gt;Kill the Bandits.&lt;/Text&gt;
  110. &lt;IsOptional&gt;0&lt;/IsOptional&gt;
  111. &lt;/Objective&gt;
  112. &lt;Class&gt;Success&lt;/Class&gt;
  113. &lt;Type&gt;BattleFinished&lt;/Type&gt;
  114. &lt;TextData&gt;BOSS&lt;/TextData&gt;
  115. &lt;MoreTextData&gt;Victory&lt;/MoreTextData&gt;
  116. &lt;CompletionText&gt;After killing the Bandits you Looking in the field, but it seems that there are other signs of life. The Master is still alive?&lt;/CompletionText&gt;
  117. &lt;/QuestConditionDef&gt;
  118. &lt;QuestConditionDef&gt;
  119. &lt;Objective&gt;
  120. &lt;Icon&gt;&lt;/Icon&gt;
  121. &lt;Text&gt;Battle Lost&lt;/Text&gt;
  122. &lt;IsOptional&gt;0&lt;/IsOptional&gt;
  123. &lt;/Objective&gt;
  124. &lt;Class&gt;Failure&lt;/Class&gt;
  125. &lt;Type&gt;BattleFinished&lt;/Type&gt;
  126. &lt;TextData&gt;BOSS&lt;/TextData&gt;
  127. &lt;MoreTextData&gt;Defeat&lt;/MoreTextData&gt;
  128. &lt;/QuestConditionDef&gt;
  129. &lt;/QuestObjectiveDef&gt;
  130. &lt;QuestObjectiveDef&gt;
  131. &lt;ObjectiveID&gt;2&lt;/ObjectiveID&gt;
  132. &lt;NextObjectiveID&gt;3&lt;/NextObjectiveID&gt;
  133. &lt;Treasure&gt;
  134. &lt;GameModifier&gt;
  135. &lt;ModType&gt;Map&lt;/ModType&gt;
  136. &lt;Attribute&gt;CreateGoodieHut&lt;/Attribute&gt;
  137. &lt;StrVal&gt;Master?&lt;/StrVal&gt;
  138. &lt;Unitclass&gt;GH_BanditCamp&lt;/Unitclass&gt;
  139. &lt;Radius&gt;1&lt;/Radius&gt;
  140. &lt;/GameModifier&gt;
  141. &lt;/Treasure&gt;
  142. &lt;QuestConditionDef&gt;
  143. &lt;Objective&gt;
  144. &lt;Icon&gt;Mana_32.png&lt;/Icon&gt;
  145. &lt;Text&gt;Find the dungeon of bandits&lt;/Text&gt;
  146. &lt;IsOptional&gt;0&lt;/IsOptional&gt;
  147. &lt;/Objective&gt;
  148. &lt;Class&gt;Success&lt;/Class&gt;
  149. &lt;Type&gt;ClearGoodieHut&lt;/Type&gt;
  150. &lt;TextData&gt;GH_BanditCamp&lt;/TextData&gt;
  151. &lt;Flag&gt;RevealTarget&lt;/Flag&gt;
  152. &lt;/QuestConditionDef&gt;
  153. &lt;ChoiceText&gt;You&#39;ve found the dungeon of bandits. The Master of the guard must be here. If alive.&lt;/ChoiceText&gt;
  154. &lt;ChoiceMedallion&gt;G_Quest_Tomb_01.png&lt;/ChoiceMedallion&gt;
  155. &lt;ChoiceMedallionFrame&gt;Medallion_Frame_17.png&lt;/ChoiceMedallionFrame&gt;
  156. &lt;QuestChoiceDef&gt;
  157. &lt;Description&gt;Attack the dungeon guards&lt;/Description&gt;
  158. &lt;NextObjectiveID&gt;3&lt;/NextObjectiveID&gt;
  159. &lt;Encounter&gt;
  160. &lt;Liklihood&gt;100&lt;/Liklihood&gt;
  161. &lt;BattleIdentifier&gt;Volkar&lt;/BattleIdentifier&gt;
  162. &lt;WillRespawn&gt;0&lt;/WillRespawn&gt;
  163. &lt;WanderingRadius&gt;0&lt;/WanderingRadius&gt;
  164. &lt;UnitInstance&gt;
  165. &lt;UnitType&gt;BanditCaptain&lt;/UnitType&gt;
  166. &lt;UnitName&gt;Volkar&lt;/UnitName&gt;
  167. &lt;Level&gt;7&lt;/Level&gt;
  168. &lt;/UnitInstance&gt;
  169. &lt;UnitInstance&gt;
  170. &lt;UnitType&gt;BanditGuard&lt;/UnitType&gt;
  171. &lt;Level&gt;3&lt;/Level&gt;
  172. &lt;/UnitInstance&gt;
  173. &lt;UnitInstance&gt;
  174. &lt;UnitType&gt;BanditGuard&lt;/UnitType&gt;
  175. &lt;Level&gt;3&lt;/Level&gt;
  176. &lt;/UnitInstance&gt;
  177. &lt;UnitInstance&gt;
  178. &lt;UnitType&gt;Bandit&lt;/UnitType&gt;
  179. &lt;UnitGroupingType&gt;UnitGroupingType_Party&lt;/UnitGroupingType&gt;
  180. &lt;Level&gt;1&lt;/Level&gt;
  181. &lt;/UnitInstance&gt;
  182. &lt;UnitInstance&gt;
  183. &lt;UnitType&gt;Bandit&lt;/UnitType&gt;
  184. &lt;UnitGroupingType&gt;UnitGroupingType_Party&lt;/UnitGroupingType&gt;
  185. &lt;Level&gt;1&lt;/Level&gt;
  186. &lt;/UnitInstance&gt;
  187. &lt;/Encounter&gt;
  188. &lt;/QuestChoiceDef&gt;
  189. &lt;QuestChoiceDef&gt;
  190. &lt;Description&gt;I&#39;ll return later&lt;/Description&gt;
  191. &lt;NextObjectiveID&gt;2&lt;/NextObjectiveID&gt;
  192. &lt;/QuestChoiceDef&gt;
  193. &lt;/QuestObjectiveDef&gt;
  194. &lt;QuestObjectiveDef&gt;
  195. &lt;ObjectiveID&gt;3&lt;/ObjectiveID&gt;
  196. &lt;NextObjectiveID&gt;4&lt;/NextObjectiveID&gt;
  197. &lt;PopupObjectiveMsg&gt;0&lt;/PopupObjectiveMsg&gt;
  198. &lt;QuestConditionDef&gt;
  199. &lt;Objective&gt;
  200. &lt;Icon&gt;Mana_32.png&lt;/Icon&gt;
  201. &lt;Text&gt;Kill the dungeon Guards.&lt;/Text&gt;
  202. &lt;IsOptional&gt;0&lt;/IsOptional&gt;
  203. &lt;/Objective&gt;
  204. &lt;Class&gt;Success&lt;/Class&gt;
  205. &lt;Type&gt;BattleFinished&lt;/Type&gt;
  206. &lt;TextData&gt;Volkar&lt;/TextData&gt;
  207. &lt;MoreTextData&gt;Victory&lt;/MoreTextData&gt;
  208. &lt;/QuestConditionDef&gt;
  209. &lt;QuestConditionDef&gt;
  210. &lt;Objective&gt;
  211. &lt;Icon&gt;&lt;/Icon&gt;
  212. &lt;Text&gt;Battle Lost&lt;/Text&gt;
  213. &lt;IsOptional&gt;0&lt;/IsOptional&gt;
  214. &lt;/Objective&gt;
  215. &lt;Class&gt;Failure&lt;/Class&gt;
  216. &lt;Type&gt;BattleFinished&lt;/Type&gt;
  217. &lt;TextData&gt;Volkar&lt;/TextData&gt;
  218. &lt;MoreTextData&gt;Defeat&lt;/MoreTextData&gt;
  219. &lt;/QuestConditionDef&gt;
  220. &lt;/QuestObjectiveDef&gt;
  221. &lt;QuestObjectiveDef&gt;
  222. &lt;ObjectiveID&gt;4&lt;/ObjectiveID&gt;
  223. &lt;NextObjectiveID&gt;5&lt;/NextObjectiveID&gt;
  224. &lt;Description&gt;Search and free the Guard&#39;s Master and come back to the guard.&lt;/Description&gt;
  225. &lt;QuestConditionDef&gt;
  226. &lt;DependentCondition&gt;0&lt;/DependentCondition&gt;
  227. &lt;Objective&gt;
  228. &lt;Icon&gt;Mana_32.png&lt;/Icon&gt;
  229. &lt;Text&gt;Free the Guard&#39;s Master and come back.&lt;/Text&gt;
  230. &lt;IsOptional&gt;0&lt;/IsOptional&gt;
  231. &lt;/Objective&gt;
  232. &lt;Class&gt;Success&lt;/Class&gt;
  233. &lt;Type&gt;UnitEntersQuestLocation&lt;/Type&gt;
  234. &lt;/QuestConditionDef&gt;
  235. &lt;ChoiceText&gt;You return to tell the Guard about the fate of his master. Do you tell him...&lt;/ChoiceText&gt;
  236. &lt;ChoiceMedallion&gt;K_Adventure.png&lt;/ChoiceMedallion&gt;
  237. &lt;ChoiceMedallionFrame&gt;Medallion_Frame_01.png&lt;/ChoiceMedallionFrame&gt;
  238. &lt;QuestChoiceDef&gt;
  239. &lt;Description&gt;I opened the cell A and I have found your Mistress&lt;/Description&gt;
  240. &lt;PopupMessage&gt;Your Mistress Karla is safe, and she decided to continue Her travels in my company. He invites you to share one more drink for his Mistress.&lt;/PopupMessage&gt;
  241. &lt;GameModifier InternalName="Rescue1"&gt;
  242. &lt;ModType&gt;Unit&lt;/ModType&gt;
  243. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  244. &lt;StrVal&gt;Champion_Karla&lt;/StrVal&gt;
  245. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  246. &lt;/GameModifier&gt;
  247. &lt;/QuestChoiceDef&gt;
  248. &lt;QuestChoiceDef&gt;
  249. &lt;Description&gt;I opened the cell B and I have found your Mistress&lt;/Description&gt;
  250. &lt;PopupMessage&gt;Your Mistress Elara is safe, and she decided to continue Her travels in my company. He invites you to share one more drink for his Mistress.&lt;/PopupMessage&gt;
  251. &lt;GameModifier InternalName="Rescue2"&gt;
  252. &lt;ModType&gt;Unit&lt;/ModType&gt;
  253. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  254. &lt;StrVal&gt;Champion_Elara&lt;/StrVal&gt;
  255. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  256. &lt;/GameModifier&gt;
  257. &lt;/QuestChoiceDef&gt;
  258. &lt;QuestChoiceDef&gt;
  259. &lt;Description&gt;I opened the cell C and I have found your Mistress&lt;/Description&gt;
  260. &lt;PopupMessage&gt;Your Mistress Grace is safe, and she decided to continue Her travels in my company. He invites you to share one more drink for his Mistress.&lt;/PopupMessage&gt;
  261. &lt;GameModifier InternalName="Rescue3"&gt;
  262. &lt;ModType&gt;Unit&lt;/ModType&gt;
  263. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  264. &lt;StrVal&gt;Champion_Grace&lt;/StrVal&gt;
  265. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  266. &lt;/GameModifier&gt;
  267. &lt;/QuestChoiceDef&gt;
  268. &lt;QuestChoiceDef&gt;
  269. &lt;Description&gt;I opened the cell D and I have found your Mistress&lt;/Description&gt;
  270. &lt;PopupMessage&gt;Your Mistress Phoebe is safe, and she decided to continue Her travels in my company. He invites you to share one more drink for his Mistress.&lt;/PopupMessage&gt;
  271. &lt;GameModifier InternalName="Rescue4"&gt;
  272. &lt;ModType&gt;Unit&lt;/ModType&gt;
  273. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  274. &lt;StrVal&gt;Champion_Phoebe&lt;/StrVal&gt;
  275. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  276. &lt;/GameModifier&gt;
  277. &lt;/QuestChoiceDef&gt;
  278. &lt;QuestChoiceDef&gt;
  279. &lt;Description&gt;I opened the cell E and I have found your Mistress&lt;/Description&gt;
  280. &lt;PopupMessage&gt;Your Mistress Denisse is safe, and she decided to continue Her travels in my company. He invites you to share one more drink for his Mistress.&lt;/PopupMessage&gt;
  281. &lt;GameModifier InternalName="Rescue5"&gt;
  282. &lt;ModType&gt;Unit&lt;/ModType&gt;
  283. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  284. &lt;StrVal&gt;Champion_Denisse&lt;/StrVal&gt;
  285. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  286. &lt;/GameModifier&gt;
  287. &lt;/QuestChoiceDef&gt;
  288. &lt;QuestChoiceDef&gt;
  289. &lt;Description&gt;I opened the cell F and I have found your Mistress&lt;/Description&gt;
  290. &lt;PopupMessage&gt;Your Mistress Martha is safe, and she decided to continue Her travels in my company. He invites you to share one more drink for his Mistress.&lt;/PopupMessage&gt;
  291. &lt;GameModifier InternalName="Rescue6"&gt;
  292. &lt;ModType&gt;Unit&lt;/ModType&gt;
  293. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  294. &lt;StrVal&gt;Champion_Martha&lt;/StrVal&gt;
  295. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  296. &lt;/GameModifier&gt;
  297. &lt;/QuestChoiceDef&gt;
  298. &lt;QuestChoiceDef&gt;
  299. &lt;Description&gt;I opened the cell G and I have found your Mistress&lt;/Description&gt;
  300. &lt;PopupMessage&gt;Your Mistress Jana is safe, and she decided to continue Her travels in my company. He invites you to share one more drink for his Mistress.&lt;/PopupMessage&gt;
  301. &lt;GameModifier InternalName="Rescue7"&gt;
  302. &lt;ModType&gt;Unit&lt;/ModType&gt;
  303. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  304. &lt;StrVal&gt;Champion_Jana&lt;/StrVal&gt;
  305. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  306. &lt;/GameModifier&gt;
  307. &lt;/QuestChoiceDef&gt;
  308. &lt;QuestChoiceDef&gt;
  309. &lt;Description&gt;I opened the cell H and I have found your Master&lt;/Description&gt;
  310. &lt;PopupMessage&gt;Your Master Brandon is safe, and he decided to continue his travels in my company. He invites you to share one more drink for his Master.&lt;/PopupMessage&gt;
  311. &lt;GameModifier InternalName="Rescue8"&gt;
  312. &lt;ModType&gt;Unit&lt;/ModType&gt;
  313. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  314. &lt;StrVal&gt;Champion_Brandon&lt;/StrVal&gt;
  315. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  316. &lt;/GameModifier&gt;
  317. &lt;/QuestChoiceDef&gt;
  318. &lt;QuestChoiceDef&gt;
  319. &lt;Description&gt;I opened the cell I and I have found your Master&lt;/Description&gt;
  320. &lt;PopupMessage&gt;Your Master Nolan is safe, and he decided to continue his travels in my company. He invites you to share one more drink for his Master.&lt;/PopupMessage&gt;
  321. &lt;GameModifier InternalName="Rescue9"&gt;
  322. &lt;ModType&gt;Unit&lt;/ModType&gt;
  323. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  324. &lt;StrVal&gt;Champion_Nolan&lt;/StrVal&gt;
  325. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  326. &lt;/GameModifier&gt;
  327. &lt;/QuestChoiceDef&gt;
  328. &lt;QuestChoiceDef&gt;
  329. &lt;Description&gt;I opened the cell L and I have found your Master&lt;/Description&gt;
  330. &lt;PopupMessage&gt;Your Master Luther is safe, and he decided to continue his travels in my company. He invites you to share one more drink for his Master.&lt;/PopupMessage&gt;
  331. &lt;GameModifier InternalName="Rescue10"&gt;
  332. &lt;ModType&gt;Unit&lt;/ModType&gt;
  333. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  334. &lt;StrVal&gt;Champion_Luther&lt;/StrVal&gt;
  335. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  336. &lt;/GameModifier&gt;
  337. &lt;/QuestChoiceDef&gt;
  338. &lt;QuestChoiceDef&gt;
  339. &lt;Description&gt;I opened the cell M and I have found your Master&lt;/Description&gt;
  340. &lt;PopupMessage&gt;Your Master Edmund is safe, and he decided to continue his travels in my company. He invites you to share one more drink for his Master.&lt;/PopupMessage&gt;
  341. &lt;GameModifier InternalName="Rescue11"&gt;
  342. &lt;ModType&gt;Unit&lt;/ModType&gt;
  343. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  344. &lt;StrVal&gt;Champion_Edmund&lt;/StrVal&gt;
  345. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  346. &lt;/GameModifier&gt;
  347. &lt;/QuestChoiceDef&gt;
  348. &lt;/QuestObjectiveDef&gt;
  349. &lt;QuestObjectiveDef&gt;
  350. &lt;ObjectiveID&gt;5&lt;/ObjectiveID&gt;
  351. &lt;QuestEnd&gt;1&lt;/QuestEnd&gt;
  352. &lt;/QuestObjectiveDef&gt;
  353. &lt;/QuestDef&gt;
  354. &lt;/Quests&gt;

 

Now it's a little late, "3:30 am" has more sense in that way:

Code: xml
  1.      &lt;Treasure&gt;
  2. &lt;GameModifier InternalName="Rescue1"&gt;
  3. &lt;ModType&gt;Unit&lt;/ModType&gt;
  4. &lt;Attribute&gt;UnitJoinArmy&lt;/Attribute&gt;
  5. &lt;StrVal&gt;Champion_Karla&lt;/StrVal&gt;
  6. &lt;UnitClass&gt;Champion&lt;/UnitClass&gt;
  7. &lt;/GameModifier&gt;
  8. &lt;/Treasure&gt;

Reply #11 Top

Can you send me the actual file? I will run it and take a look. It looks like there is a problem with your choicedefs.

 

BTW, the best quest in the game right now is my Labyrinth. It should be here in the FE Modding forum somewhere. You should play through it once in god mode to and then take a look at the code. There are alot of things like what you are trying to do here and much more.

Reply #13 Top

It's my masterpiece, but a little unfinished. There is a ring of light that is supposed to unlock a special choicedef, but I haven't set up the conditional. Other than that... masterpiece.

 

You'll notice some quest objectives lead you back to a previous one. So you can be stuck in there for hours. :grin:

+1 Loading…
Reply #14 Top

Maybe as you say "unfinished" but it is light years from what I have created.   ;P

however the first stupid thing I've done with your quest led to an unexpected result, "I think ...  :-"

I have not read everything that you put in the xml file" .  :pout:

In the spell created to put the quest on the map I wrote for error:

<Unitclass> QuestLoc_Labyrinth </ Unitclass>

instead of:

<Unitclass> Quest_ToO_Labyrinth_001 </ Unitclass>

This leads to spam a random quest.   :sun:

Now I should probably set all the flag "repeatable" to 1.   :dur:

 

k1