Advertisement
Guest User

tutorial.lua

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