Advertisement
Guest User

Untitled

a guest
Apr 24th, 2012
1,358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. ---------------------------------------------
  2. -- tutorial.lua --
  3. -- Decompiled by Ekey / h4x0r PGC / sch0t3 --
  4. ---------------------------------------------
  5.  
  6. local x = 0.1
  7. enableUserInput(true)
  8. showImage("assets/textures/cinematic/intro/page01.tga")
  9.  
  10. drawElements({
  11. {y="center", element="translate", x="center",},
  12. {y=-215, element="translate", x=-512,},
  13. {filename="assets/textures/cinematic/tutorial/tutorial_background.tga", element="image", x=-20, y=-20,},
  14. {filename="assets/textures/cinematic/tutorial/tutorial_01.tga", element="image", x=94.5, y=100,},
  15. {y=0, element="translate", x=455,},
  16. {y=105, element="translate", x=20,},
  17. {element="heading", text="Party and marching order",},
  18. {element="paragraph", width=532,
  19. text = "- You control a party of four prisoners.\n"..
  20. "- Prisoners walk in a square formation with a front and a back row.\n"..
  21. "- Only the front row can perform melee attacks.\n"..
  22. "- Use W, A, S, D to move and Q, E to turn.",},
  23. })
  24.  
  25. fadeIn(x)
  26. click()
  27. fadeOut(x)
  28.  
  29. showImage("assets/textures/cinematic/intro/page02.tga")
  30.  
  31. drawElements({
  32. {y="center", element="translate", x="center",},
  33. {y=-215, element="translate", x=-512,},
  34. {filename="assets/textures/cinematic/tutorial/tutorial_background.tga", element="image", x=-20, y=-20,},
  35. {filename="assets/textures/cinematic/tutorial/tutorial_02.tga", element="image", x=38, y=54,},
  36. {y=0, element="translate", x=455,},
  37. {y=85, element="translate", x=20,},
  38. {element="heading", text="Portraits and item slots",},
  39. {element="paragraph", width=522,
  40. text = "- The item slots are used for attacking and for displaying what the characters carry in their hands.\n"..
  41. "- Left click on an item to pick it up from the slot and right click to attack with the item.\n"..
  42. "- You can change the marching order by dragging a portrait with the left mouse button.",},
  43. })
  44.  
  45. fadeIn(x)
  46. click()
  47. fadeOut(x)
  48.  
  49. showImage("assets/textures/cinematic/intro/page03.tga")
  50.  
  51. drawElements({
  52. {y="center", element="translate", x="center",},
  53. {y=-215, element="translate", x=-512,},
  54. {filename="assets/textures/cinematic/tutorial/tutorial_background.tga", element="image", x=-20, y=-20,},
  55. {filename="assets/textures/cinematic/tutorial/tutorial_04.tga", element="image", x=95, y=24,},
  56. {x=124, alignment="right", element="text", y=150, text="Equipment",},
  57. {x=124, alignment="right", element="text", y=184, text="Statistics",},
  58. {x=124, alignment="right", element="text", y=219, text="Skills",},
  59. {x=335, alignment="right", element="text", y=35, text="Map",},
  60. {x=305, alignment="right", element="text", y=68, text="Rest",},
  61. {y=0, element="translate", x=455,},
  62. {y=85, element="translate", x=20,},
  63. {element="heading", text="Character Sheet",},
  64. {width=522, element="paragraph",
  65. text = "- Right click on a portrait or use the default keyboard shortcuts 1, 2, 3 and 4 to access the character sheets.\n"..
  66. "- The equipment, statistics and skills of a character are displayed on separate tabs.\n"..
  67. "- If a character suffers from a special condition such as poisoning or hunger, its effects can be seen on the statistics tab.",},
  68. })
  69.  
  70. fadeIn(x)
  71. click()
  72. fadeOut(x)
  73.  
  74. showImage("assets/textures/cinematic/intro/page03.tga")
  75.  
  76. drawElements({
  77. {y="center", element="translate", x="center",},
  78. {y=-360, element="translate", x=-640,},
  79. {filename="assets/textures/cinematic/tutorial/tutorial_05.tga", element="image",},
  80. {x=640, alignment="center", element="text", y=348, text="Throw items by dropping them in this area.",},
  81. {x=640, alignment="center", element="text", y=500, text="Pick up and drop items by clicking in this area.",},
  82. {x=1023, alignment="center", element="text", y=461, text="Operate dungeon mechanisms",},
  83. {x=1023, alignment="center", element="text", y=482, text="by clicking on them.",},
  84. })
  85.  
  86. fadeIn(x)
  87. click()
  88. fadeOut(x)
  89. gameMode()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement