home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 February / chip_20022115.iso / amiga / chipgame / introcreate.lha / IntroCreate / Examples / Experiment.script < prev   
Encoding:
Text File  |  1998-08-04  |  3.0 KB  |  93 lines

  1. rem ** This example is a conversion of a section of the introduction from **
  2. rem ** DAS Software's F1 Software game, The Experiment.  It was converted **
  3. rem ** from its original format of an AMOS Pro program, the code of which **
  4. rem ** forms the bulk of the IntroCreate program.                         **
  5.  
  6. rem ** The script is divided up into small chunks to make it easier to    **
  7. rem ** see how to put a script together.                                  **
  8.  
  9. rem ** Of course, these remarks are entirely ignored by the program, and  **
  10. rem ** need not be included, but as an aid to memory, or, as in this      **
  11. rem ** case, notes for other people to read and hopefully understand what **
  12. rem ** the script is doing and how it works.                              **
  13.  
  14. rem --------------------------- Part 1 ------------------------------------
  15. rem ** This section sets up the environment for the script; Workbench is  **
  16. rem ** closed, the option to quit is disabled, fade is turned on, mouse   **
  17. rem ** checking is turned off, then the font is set up.  The GRACPlayer   **
  18. rem ** and game name should also be defined in this section, but for the  **
  19. rem ** purposes of this demonstration I have omitted them.                **
  20.  
  21. closewb
  22. noquit
  23. fade on
  24. checkmouse off
  25. fontdir fonts
  26. fontname diamond.font 20
  27.  
  28. rem ------------------------ End of Part 1 --------------------------------
  29.  
  30.  
  31.  
  32. rem --------------------------- Part 2 ------------------------------------
  33. rem ** In this section, the Sound Tracker module is loaded.               **
  34.  
  35. st data/x.mod
  36.  
  37. rem ------------------------ End of Part 2 --------------------------------
  38.  
  39.  
  40.  
  41. rem --------------------------- Part 3 ------------------------------------
  42. rem ** Whereas most of the above is generic and can be applied to any     **
  43. rem ** intro, the following is the bulk of the introduction.  It contains */
  44. rem ** all of the text to be printed, and loads the pictures
  45.  
  46. picin data/1.pak
  47. txt 030 015 DAS Software Presents 100
  48. wait 50
  49. playst 00
  50. txt 050 015 Written in GRAC 2 100
  51. wait 50
  52. txt 060 015 THE EXPERIMENT 100
  53. wait 50
  54. txt 030 015 A Galactic Voyages Game 100
  55. wait 100
  56. txt 050 015 Van Merak IV, 3070 100
  57. wait 50
  58. txt 000 015 Site of a United Planets base. 100
  59. wait 50
  60. txt 050 015 The story so far . . . 100
  61. picout
  62. picin data/2.pak
  63. txt 030 015 The base was bombed 100
  64. wait 50
  65. txt 050 015 by the evil Stingons. 100
  66. wait 50
  67. txt 020 015 Nobody understood why - 100
  68. wait 50
  69. txt 000 015 the survivors have little hope. 100
  70. picout
  71. picin data/3.pak
  72. txt 030 015 One man did not give up. 100
  73. wait 50
  74. txt 020 015 He would fight to the end. 100
  75. wait 50
  76. txt 010 015 His name was Bud Lightning 100
  77. wait 50
  78. txt 040 015 ...and this is his story. 100
  79. picout
  80. fxt 000 130 Taken from The Experiment 100
  81. wait 100
  82.  
  83. rem ------------------------ End of Part 3 --------------------------------
  84.  
  85.  
  86.  
  87. rem --------------------------- Part 4 ------------------------------------
  88. rem ** This section merely ends the script.                               **
  89.  
  90. fin
  91.  
  92. rem ------------------------ End of Part 4 --------------------------------
  93.