syrtsevser

hudanimations_tf.txt contracts fix 2015-12-18

Dec 17th, 2015 (edited)
633
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.20 KB | None | 0 0
  1. event CollectionCrafting_WaitForItemsOnly
  2. {
  3. // Set Everything Invisible
  4. SetVisible ReturnModel 0 0
  5. SetVisible SendEvelopeButton 0 0
  6. SetVisible ResponseTimeout 0 0
  7. SetVisible WaitingForResponse 0 0
  8. SetVisible ShowExplanationsButton1 0 0
  9. SetVisible ShowExplanationsButton2 0 0
  10. SetVisible ShowExplanationsButton2 0 0
  11. SetVisible SendEvelopeButton 0 0
  12. SetVisible CloseButton 0 0
  13.  
  14. SetVisible ApplyStampButton 0 0
  15. SetVisible Stamp 0 0
  16. Animate Stamp xpos c140 Accel 0 0
  17. Animate DrawingPanel xpos c0 Accel 0 0
  18. Animate DrawingPanel wide 0 Accel 0 0
  19. Animate LetterFront xpos c0 Accel 0 0
  20. Animate LetterFront wide 0 Accel 0 0
  21. Animate LetterBack_Top xpos c-250 Accel 0 0
  22. Animate LetterBack_Top ypos 400 Accel 0 0
  23. Animate LetterBack_Top wide 500 Accel 0 0
  24. Animate LetterBack_Bottom xpos c-250 Accel 0 0
  25. Animate LetterBack_Bottom ypos 400 Accel 0 0
  26. Animate LetterBack_Bottom wide 500 Accel 0 0
  27. Animate LetterBack_Flap xpos c-250 Accel 0 0
  28. Animate LetterBack_Flap ypos 400 Accel 0 0
  29. Animate LetterBack_Flap wide 500 Accel 0 0
  30. Animate LetterBack_Flap tall 0 Deaccel 0.6 0.4
  31. Animate LetterBack_Top ypos 400 Accel 0 0
  32.  
  33. // Slider BG up
  34. Animate BG Position "0 34" Deaccel 0 0.3
  35.  
  36. // Fade dimmer down
  37. Animate Dimmer Alpha "255" Linear 0 0.4
  38. }
  39. //--------------------------------------------------------------------------
  40. event QuestItem_Identify_Expand
  41. {
  42. StopEvent QuestItem_Identify_Collapse 0
  43. Animate Dimmer wide 285 Bias 0.1 0.0 0.4
  44. Animate Dimmer xpos 0 Bias 0.1 0.0 0.4
  45. }
  46.  
  47. event QuestItem_Identify_Collapse
  48. {
  49. StopEvent QuestItem_Identify_Expand 0
  50. Animate Dimmer wide 0 Accel 0.4 0.4
  51. Animate Dimmer xpos 142 Accel 0.4 0.4
  52. }
  53.  
  54. event QuestItem_Complete_Expand
  55. {
  56. Animate Dimmer wide 285 Deaccel 0.4 0.1
  57. Animate Dimmer xpos 0 Deaccel 0.4 0.1
  58. }
  59.  
  60. event QuestItem_Complete_Collapse
  61. {
  62. Animate Dimmer wide 0 Accel 0 0.4
  63. Animate Dimmer xpos 142 Accel 0 0.4
  64. }
  65.  
  66. event QuestItem_Complete_Progress
  67. {
  68. Animate Dimmer wide 0 Linear 0 5
  69. Animate Dimmer xpos 142 Linear 0 5
  70. }
  71.  
  72. event QuestItem_Options_Flash
  73. {
  74. Animate OptionsButton FgColor LightOrange Linear 0 0.1
  75. Animate OptionsButton FgColor TanLight Linear 0.1 0.1
  76. Animate OptionsButton FgColor LightOrange Linear 0.2 0.1
  77. Animate OptionsButton FgColor TanLight Linear 0.3 0.1
  78. Animate OptionsButton FgColor LightOrange Linear 0.4 0.1
  79. Animate OptionsButton FgColor TanLight Linear 0.5 0.1
  80. }
  81.  
  82. //--------------------------------------------------------------------------
  83. event QuestItem_Expand
  84. {
  85. Animate FrontFolderContainer ypos 240 Gain 0.75 0 0.4
  86. RunEventChild IdentifyButtonContainer QuestItem_Identify_Expand 0
  87. RunEventChild TurnInContainer QuestItem_Complete_Expand 0
  88.  
  89. SetInputEnabled FrontFolderContainer 0 0
  90. RunEvent QuestItem_Options_Flash 1
  91. }
  92.  
  93. event QuestItem_Collapse
  94. {
  95. Animate FrontFolderContainer ypos 0 Gain 0.75 0 0.4
  96. RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
  97. RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
  98.  
  99. SetInputEnabled FrontFolderContainer 1 0
  100. }
  101.  
  102. event QuestItem_TurningIn
  103. {
  104. RunEventChild TurnInContainer QuestItem_Complete_Progress 0
  105. }
  106.  
  107. event QuestItem_Reset
  108. {
  109. Animate FrontFolderContainer ypos 0 Linear 0 0
  110. RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
  111. RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
  112.  
  113. SetInputEnabled FrontFolderContainer 1 0
  114. }
  115.  
  116. //--------------------------------------------------------------------------
  117. event QuestItem_Operation2_Expand
  118. {
  119. StopEvent QuestItem_Operation2_Collapse 0
  120.  
  121. RunEventChild IdentifyButtonContainer QuestItem_Identify_Expand 0.4
  122. RunEventChild TurnInContainer QuestItem_Complete_Expand 0.4
  123.  
  124. Animate FrontFolderContainer xpos -270 Gain 0.75 0.4 0.3
  125. Animate BackFolderContainer xpos -270 Gain 0.75 0.4 0.3
  126. Animate FrontFolderContainer xpos -10 Gain 0.75 0.7 0.3
  127. Animate BackFolderContainer xpos 0 Gain 0.75 0.7 0.3
  128. SetVisible FrontFolderContainer 0 0.7
  129. SetVisible BackFolderContainer 1 0.7
  130.  
  131. SetInputEnabled FrontFolderContainer 0 0
  132. RunEvent QuestItem_Options_Flash 1
  133. }
  134.  
  135. event QuestItem_Operation2_Collapse
  136. {
  137. StopEvent QuestItem_Operation2_Expand 0
  138.  
  139. RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
  140. RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
  141.  
  142. Animate FrontFolderContainer xpos -270 Gain 0.75 0.0 0.3
  143. Animate BackFolderContainer xpos -270 Gain 0.75 0.0 0.3
  144. Animate FrontFolderContainer xpos 0 Gain 0.75 0.3 0.4
  145. Animate BackFolderContainer xpos 0 Gain 0.75 0.3 0.4
  146. SetVisible FrontFolderContainer 1 0.3
  147. SetVisible BackFolderContainer 0 0.3
  148.  
  149. SetInputEnabled FrontFolderContainer 1 0
  150. }
  151.  
  152. event QuestItem_Operation2_TurningIn
  153. {
  154. RunEventChild TurnInContainer QuestItem_Complete_Progress 0
  155. }
  156.  
  157. event QuestItem_Operation2_Reset
  158. {
  159. StopEvent QuestItem_Operation2_Collapse 0
  160. StopEvent QuestItem_Operation2_Expand 0
  161.  
  162. RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
  163. RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
  164.  
  165. Animate FrontFolderContainer xpos 0 Linear 0 0
  166. Animate BackFolderContainer xpos 0 Linear 0 0
  167. SetVisible FrontFolderContainer 1 0
  168. SetVisible BackFolderContainer 0 0
  169.  
  170. SetInputEnabled FrontFolderContainer 1 0
  171. }
  172.  
  173. //--------------------------------------------------------------------------
  174. event QuestItem_DisableFrontMouse
  175. {
  176. SetVisible FrontInputProxyPanel 0 0
  177. }
  178.  
  179. event QuestItem_EnableFrontMouse
  180. {
  181. SetVisible FrontInputProxyPanel 1 0
  182. }
  183.  
  184. event QuestItem_Expand_Halloween
  185. {
  186. StopEvent QuestItem_Collapse_Halloween 0
  187.  
  188. // Immediately disable the mouse proxy so the inactive hint goes away
  189. RunEventChild FrontFolderContainer QuestItem_DisableFrontMouse 0
  190. SetInputEnabled FrontFolderContainer 0 0
  191.  
  192. // Slide the sleeve
  193. Animate SleeveImage xpos 300 Bias 0.2 0.0 0.4
  194. Animate EncodedStatus xpos 300 Bias 0.2 0.0 0.4
  195. Animate ReadyToTurnInStatus xpos 300 Bias 0.2 0.0 0.4
  196. Animate InactiveStatus xpos 300 Bias 0.2 0.0 0.4
  197.  
  198. // Once the sleeve is off, then "unroll" the paper
  199. FireCommand 0.4 "playsound ui/quest_folder_open_halloween.wav"
  200. RunEventChild IdentifyButtonContainer QuestItem_Identify_Expand 0.4
  201. RunEventChild TurnInContainer QuestItem_Complete_Expand 0.4
  202. Animate FrontFolderContainer ypos 240 Gain 0.75 0.4 0.4
  203. Animate QuestPaperContainer tall 300 Gain 0.75 0.4 0.4
  204.  
  205. RunEvent QuestItem_Options_Flash 1
  206. }
  207.  
  208. event QuestItem_Collapse_Halloween
  209. {
  210. StopEvent QuestItem_Expand_Halloween 0
  211.  
  212. // Roll up the paper
  213. Animate FrontFolderContainer ypos 0 Gain 0.75 0 0.4
  214. Animate QuestPaperContainer tall 70 Gain 0.75 0 0.4
  215. RunEventChild IdentifyButtonContainer QuestItem_Identify_Collapse 0
  216. RunEventChild TurnInContainer QuestItem_Complete_Collapse 0
  217. RunEventChild FrontFolderContainer QuestItem_EnableFrontMouse 0
  218.  
  219. // Put the sleeve back
  220. FireCommand 0.5 "playsound ui/quest_folder_keeper_slide_on_halloween.wav"
  221.  
  222. Animate SleeveImage xpos 15 Bias 0.8 0.5 0.2
  223. Animate ReadyToTurnInStatus xpos 10 Bias 0.8 0.5 0.2
  224. Animate InactiveStatus xpos 10 Bias 0.8 0.5 0.2
  225. Animate EncodedStatus xpos 10 Bias 0.8 0.5 0.2
  226. SetInputEnabled FrontFolderContainer 1 0
  227. }
  228.  
  229. event QuestItem_Reset_Halloween
  230. {
  231. StopEvent QuestItem_Expand_Halloween 0
  232. SetVisible FrontFolderContainer 1 0
  233. RunEventChild FrontFolderContainer QuestItem_EnableFrontMouse 0
  234.  
  235. // Roll up the paper
  236. Animate FrontFolderContainer ypos 0 Linear 0 0
  237. Animate QuestPaperContainer tall 70 Linear 0 0
  238. Animate EncodedStatus xpos 10 Bias 0 0 0
  239. Animate ReadyToTurnInStatus xpos 10 Bias 0 0 0
  240. Animate InactiveStatus xpos 10 Bias 0 0 0
  241.  
  242. // Put the sleeve back
  243. Animate SleeveImage xpos 15 Linear 0 0
  244. SetInputEnabled FrontFolderContainer 1 0
  245. }
  246.  
  247. //--------------------------------------------------------------------------
  248. event QuestItem_Front_Selected
  249. {
  250. StopEvent QuestItem_Front_OtherSelected 0
  251. StopEvent QuestItem_Front_NoneSelected 0
  252.  
  253. Animate MainContainer ypos 0 Gain 0.75 0 0.4
  254. }
  255.  
  256. event QuestItem_Front_OtherSelected
  257. {
  258. StopEvent QuestItem_Front_Selected 0
  259. StopEvent QuestItem_Front_NoneSelected 0
  260.  
  261. Animate MainContainer ypos 300 Gain 0.75 0 0.4
  262. }
  263.  
  264.  
  265. event QuestItem_Front_NoneSelected
  266. {
  267. StopEvent QuestItem_Front_Selected 0
  268. StopEvent QuestItem_Front_OtherSelected 0
  269.  
  270. Animate MainContainer ypos 120 Gain 0.75 0 0.4
  271. }
  272.  
  273. //--------------------------------------------------------------------------
  274. event QuestItem_Back_Selected
  275. {
  276. StopEvent QuestItem_Back_OtherSelected 0
  277. StopEvent QuestItem_Back_NoneSelected 0
  278.  
  279. Animate MainContainer ypos 0 Gain 0.75 0 0.4
  280. }
  281.  
  282. event QuestItem_Back_OtherSelected
  283. {
  284. StopEvent QuestItem_Back_Selected 0
  285. StopEvent QuestItem_Back_NoneSelected 0
  286.  
  287. Animate MainContainer ypos 300 Gain 0.75 0 0.8
  288. }
  289.  
  290.  
  291. event QuestItem_Back_NoneSelected
  292. {
  293. StopEvent QuestItem_Back_Selected 0
  294. StopEvent QuestItem_Back_OtherSelected 0
  295.  
  296. Animate MainContainer ypos 0 Gain 0.75 0 0.4
  297. }
  298.  
  299. //--------------------------------------------------------------------------
  300. event QuestItem_Highlight_On_Halloween
  301. {
  302. SetVisible GlowImage 1 0
  303. Animate GlowImage Alpha 255 Bias 0.8 0 0.2
  304. }
  305.  
  306. event QuestItem_Highlight_Off_Halloween
  307. {
  308. Animate GlowImage Alpha 0 Bias 0.8 0 0.2
  309. }
  310.  
  311. //
Add Comment
Please, Sign In to add comment