9
3

TrainerMarlaGilliam.lua 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/TrainerMarlaGilliam.lua
  3. Script Author : Zcoretri
  4. Script Date : 2015.07.30
  5. Script Purpose : Trainer Marla Gilliam dialog
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/DialogModule"
  9. function spawn(NPC)
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. Dialog6(NPC, Spawn)
  16. end
  17. function Dialog1(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. Dialog.New(NPC, Spawn)
  20. Dialog.AddDialog("No arrow by the target's name indicates an average opponent for a lone adventurer. A single down arrow means it is a below average opponent. Two down arrows tell you it's a weak opponent, and three down arrows means it is very weak. Be careful though, because if multiple weak opponents are working together they can still be challenging.")
  21. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good012.mp3", 1328804443, 2071176575)
  22. Dialog.AddOption("What do up arrows mean?", "Dialog15")
  23. Dialog.AddOption("I will learn this lesson later.")
  24. Dialog.Start()
  25. end
  26. function Dialog2(NPC, Spawn)
  27. FaceTarget(NPC, Spawn)
  28. Dialog.New(NPC, Spawn)
  29. Dialog.AddDialog("As you adventure through Norrath, you will gain experience and increase your level. The opponents you will face in combat have levels as well. To be victorious, you will usually want to face foes that are close to your level.")
  30. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good007.mp3", 2126605511, 1738009054)
  31. Dialog.AddOption("How does my opponent's level affect my rewards for victory?", "Dialog13")
  32. Dialog.AddOption("I will learn this lesson later.")
  33. Dialog.Start()
  34. end
  35. function Dialog3(NPC, Spawn)
  36. FaceTarget(NPC, Spawn)
  37. Dialog.New(NPC, Spawn)
  38. Dialog.AddDialog("If something has a red border around its name, that target is aggressive toward you and will attack if you get too close to it. You should be especially careful of creatures that roam around, because if they notice you they won't hesitate to strike.")
  39. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good003.mp3", 1857737581, 147614376)
  40. Dialog.AddOption("How do I target an opponent?", "Dialog16")
  41. Dialog.AddOption("I will learn this lesson later.")
  42. Dialog.Start()
  43. end
  44. function Dialog4(NPC, Spawn)
  45. FaceTarget(NPC, Spawn)
  46. Dialog.New(NPC, Spawn)
  47. Dialog.AddDialog("Targets with grey names will not attack you, even if they would be aggressive to someone closer to their level. In other words, you won't be attacked by anything that won't give you some reward for defeating it.")
  48. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good011.mp3", 1994206530, 2520624309)
  49. Dialog.AddOption("What do down arrows tell me?", "Dialog1")
  50. Dialog.AddOption("I will learn this lesson later.")
  51. Dialog.Start()
  52. end
  53. function Dialog5(NPC, Spawn)
  54. FaceTarget(NPC, Spawn)
  55. Dialog.New(NPC, Spawn)
  56. Dialog.AddDialog("The Target window tells you several important facts, which collectively form what is referred to as the \"con\" (overall challenge) of the opponent. It shows you the numerical level of the creature you have targeted, a color to indicate its relative level range, up or down arrows to indicate toughness, and indicators that tell you if the encounter is normal, heroic, or epic.")
  57. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good006.mp3", 783568461, 1746620407)
  58. Dialog.AddOption("What does the level indicate?", "Dialog2")
  59. Dialog.AddOption("I will learn this lesson later.")
  60. Dialog.Start()
  61. end
  62. function Dialog6(NPC, Spawn)
  63. FaceTarget(NPC, Spawn)
  64. Dialog.New(NPC, Spawn)
  65. Dialog.AddDialog("Welcome, adventurer! I sense that you will fight many battles and that you will one day be known as a great hero of Qeynos. But remember, we all have to start somewhere. The first thing you need to know to be successful in combat is how to size up your adversary.")
  66. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good001.mp3", 4073343319, 3363307823)
  67. Dialog.AddOption("How do I judge my opponent?", "Dialog8")
  68. Dialog.AddOption("I will learn this lesson later.")
  69. Dialog.Start()
  70. end
  71. function Dialog7(NPC, Spawn)
  72. FaceTarget(NPC, Spawn)
  73. Dialog.New(NPC, Spawn)
  74. Dialog.AddDialog("The color of the opponent's name indicates how challenging the encounter is. It is very useful as a quick indicator of whether or not you should try fighting a target. The more danger its color indicates, the greater the threat it represents.")
  75. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good009.mp3", 253347516, 133392970)
  76. Dialog.AddOption("What are the colors?", "Dialog9")
  77. Dialog.AddOption("I will learn this lesson later.")
  78. Dialog.Start()
  79. end
  80. function Dialog8(NPC, Spawn)
  81. FaceTarget(NPC, Spawn)
  82. Dialog.New(NPC, Spawn)
  83. Dialog.AddDialog("You must learn to use both your eyes and your instincts as you consider friends and foes in Norrath. There are two excellent tools you should use to judge their capabilities: what you can tell from their name and what you can learn by targeting them.")
  84. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good002.mp3", 1749673923, 3874199641)
  85. Dialog.AddOption("What does the creature's name tell me?", "Dialog3")
  86. Dialog.AddOption("I will learn this lesson later.")
  87. Dialog.Start()
  88. end
  89. function Dialog9(NPC, Spawn)
  90. FaceTarget(NPC, Spawn)
  91. Dialog.New(NPC, Spawn)
  92. Dialog.AddDialog("Grey names mean the fight is below your abilities and will give no experience or reward. Green names mean the opponent is very easy. Blue names mean an easy fight. White names indicate the opponent is even with your abilities. Yellow names mean the fight will be challenging. Orange names indicate a difficult encounter. Red names mean the battle could be deadly.")
  93. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good010.mp3", 1862367558, 3739171183)
  94. Dialog.AddOption("Will grey targets ever attack me?", "Dialog4")
  95. Dialog.AddOption("I will learn this lesson later.")
  96. Dialog.Start()
  97. end
  98. function Dialog10(NPC, Spawn)
  99. FaceTarget(NPC, Spawn)
  100. Dialog.New(NPC, Spawn)
  101. Dialog.AddDialog("As a general rule of thumb, if you see an enemy with one up arrow, it's a good idea to team up with another player to take it on. If you see an enemy with two up arrows, add two members to your group. If you see an opponent with three up arrows, add three members to your group. A lone adventurer will likely want to face targets with no arrows or down arrows.")
  102. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good014.mp3", 2013675936, 3060214959)
  103. Dialog.AddOption("What is the difference between normal, heroic, and epic?", "Dialog12")
  104. Dialog.AddOption("I will learn this lesson later.")
  105. Dialog.Start()
  106. end
  107. function Dialog11(NPC, Spawn)
  108. FaceTarget(NPC, Spawn)
  109. Dialog.New(NPC, Spawn)
  110. Dialog.AddDialog("Sometimes multiple creatures will work together to form a single encounter. These opponents will act as a team, and usually won't stop fighting until all of them are defeated.")
  111. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good005.mp3", 75959961, 1250212958)
  112. Dialog.AddOption("What does the Target window tell me?", "Dialog5")
  113. Dialog.AddOption("I will learn this lesson later.")
  114. Dialog.Start()
  115. end
  116. function Dialog12(NPC, Spawn)
  117. FaceTarget(NPC, Spawn)
  118. Dialog.New(NPC, Spawn)
  119. Dialog.AddDialog("A normal opponent has no indicator and is intended to be fought by a solo adventurer or small group. A heroic encounter is intended for a larger group of up to six adventurers. An epic opponent should only be attempted by a raid force of multiple groups working together.")
  120. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good015.mp3", 19627555, 2002715179)
  121. Dialog.AddOption("So how do all these elements work together to show an opponent's difficulty?", "Dialog14")
  122. Dialog.AddOption("I will learn this lesson later.")
  123. Dialog.Start()
  124. end
  125. function Dialog13(NPC, Spawn)
  126. FaceTarget(NPC, Spawn)
  127. Dialog.New(NPC, Spawn)
  128. Dialog.AddDialog("You gain more experience for defeating higher-level opponents, but they will be tougher to beat. Conversely, if you defeat foes much weaker than you, it will not be as rewarding.")
  129. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good008.mp3", 1264665729, 3641307819)
  130. Dialog.AddOption("What does the color of my opponent's name tell me?", "Dialog7")
  131. Dialog.AddOption("I will learn this lesson later.")
  132. Dialog.Start()
  133. end
  134. function Dialog14(NPC, Spawn)
  135. FaceTarget(NPC, Spawn)
  136. Dialog.New(NPC, Spawn)
  137. Dialog.AddDialog("All the elements I've explained will affect the outcome of a battle and whether or not you will need allies to win. Pay close attention to the lessons I have taught you, and apply them to the challenges you face throughout your journeys in Norrath. Learn well and you will indeed become the great champion I know you can be!")
  138. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good016.mp3", 761596996, 3232449140)
  139. Dialog.AddOption("Thank you, instructor.")
  140. Dialog.Start()
  141. end
  142. function Dialog15(NPC, Spawn)
  143. FaceTarget(NPC, Spawn)
  144. Dialog.New(NPC, Spawn)
  145. Dialog.AddDialog("Up arrows indicate increased difficulty. A single up arrow means an above average opponent. Two up arrows show a strong opponent, while three up arrows means a very tough fight. If you look at the sparring partners next to us, you will see that they have different arrow indicators. Feel free to practice fighting them to feel what effect the arrows have.")
  146. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good013.mp3", 692862081, 3880129920)
  147. Dialog.AddOption("So how do I know whether I can face a challenge alone?", "Dialog10")
  148. Dialog.AddOption("I will learn this lesson later.")
  149. Dialog.Start()
  150. end
  151. function Dialog16(NPC, Spawn)
  152. FaceTarget(NPC, Spawn)
  153. Dialog.New(NPC, Spawn)
  154. Dialog.AddDialog("All you need to do is move your mouse pointer over what you want to target and click. You will see the name of your opponent in the Target window in the upper left corner of the screen, and a large arrow will appear above its head. If arrows also appear above the heads of nearby creatures, it means all of them are linked together and will attack as one.")
  155. Dialog.AddVoiceover("voiceover/english/tutorial_revamp/trainer_marla_gilliam/tutorial_island02_revamp/trainers/con_system/con_good004.mp3", 3683773140, 1432557589)
  156. Dialog.AddOption("Why are separate creatures sometimes linked?", "Dialog11")
  157. Dialog.AddOption("I will learn this lesson later.")
  158. Dialog.Start()
  159. end