home *** CD-ROM | disk | FTP | other *** search
/ Merciful 3 / Merciful_Release_3.bin / software / b / breed96.dms / breed96.adf / breed6.doc < prev    next >
Text File  |  1980-05-20  |  5KB  |  138 lines

  1. {1}                            Editing the scenarios
  2.  
  3. {2}    Overview
  4.  
  5.        The scenario file is just a text file which may be editted in a normal
  6.     text editor such as MicroEMACS on your workbench disk. You should look at
  7.     the Breed disk in the scenarios directory and load up a scenario. It is
  8.     easiest just to change an existing file and save it to a new scenario
  9.     name. Please note that the Breed program looks for scenario numbers
  10.     sequentially and therefore if (say) the last scenario is named
  11.     scenario24.scn then you should make your next user defined scenario
  12.     called scenario25.scn.
  13.  
  14. {2}    File names
  15.  
  16.     File names are named with this convention
  17.     scenario999.scn    where 999 is the number of the scenario and must
  18.     be the same as in the files scenario number.
  19.  
  20. {2}    Order of file
  21.  
  22.     There are 6 sections of the scenario file that you must have in your
  23.     file.
  24.     <Scenario> followed on the next line by the scenario number.
  25.     <Short> followed on the next line by a sort description of the scenario
  26.     (1 line).
  27.     <BeginText> Followed on the next lines by a description of what is
  28.     required of the user in the scenario. The description must be no longer
  29.     than 10 lines and must have columns of no longer that 40 width. You can't
  30.     have any commas in the description.
  31.     <InitVars> must have the variables P,H,A,D,C as described below.
  32.     Each statement occupying one line only.
  33.     <WinVars> using the normal variables each occupyin one line only.
  34.     <LoseVars> doing the same.
  35.  
  36.     Here is when you need in the file:
  37.     <Scenario>
  38.     ...
  39.     <Short>
  40.     ...
  41.     <BeginText>
  42.     ...
  43.     <InitVars>
  44.     ...
  45.     <WinVars>
  46.     ...
  47.     <LoseVars>
  48.     ...
  49.     <End>
  50.  
  51. {2}    Variables used
  52.  
  53.     You can use the planet variable only in the init variables section.
  54.     eg P 2 - Which sets your home planet to Lycan.
  55.  
  56.         Planets                      Units
  57.       %%%%%%%%%%%                   %%%%%%%
  58.       1.  Sun                 1.  Commerce centre
  59.       2.  Lycan               2.  Observatory
  60.       3.  Denari              3.  Mining station
  61.       4.  Holopox             4.  Residential Unit
  62.       5.  Plenus              5.  Docking port
  63.       6.  Uropa               6.  Food Generator
  64.       7.  Eijo                7.  Law centre
  65.       8.  Pesoek              8.  Power Station
  66.       9.  Easma               9.  Road
  67.      10. Ymeth               10. Disruptor
  68.      11. Belgold             11. Droid
  69.      12. Quantol             12. Alien
  70.      13. Vlech               13. Ore silo
  71.      14. Drusul              14. Food silo
  72.      15. Tralmath            15. Probe
  73.      16. Venitar             16. Cargo Shuttle
  74.                              17. Battle cruiser
  75.      Others Variables for    18. Laser Drone
  76.      Win and lose sections   19. Space station
  77.      %%%%%%%%%%%%%%%%%%%%%   20. Diplomat vessel
  78.      O   Ore                 21. Weapon update
  79.      $   Credits             22. Shield update
  80.      T   Traffic rate        23. Cargo hold update
  81.      R   Rating              24. Ship speed update
  82.      I   Population
  83.      F   Food
  84.      A1  Planets owned by Federation
  85.      A2  Planets owned by Tsepan
  86.      A3  Planets owned by Seraunde
  87.      A4  Planets owned by Mutants
  88.      P   Planets owned by you
  89.      E   Energy on home planet
  90.  
  91.      For initialsing the variables
  92.      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  93.      P x (where x is a planet number in the above list)
  94.      H x (where x is hardness from 0 easy to 3 hard)
  95.      A x (where x is the alien you are. 1 = Federation,
  96.                                         2 = Tsepan,
  97.                                         3 = Seraunde,
  98.                                         4 = Mutant)
  99.      D x (where x is the date from 2040. eg 000 = 2040.00, 134 = 2041.34)
  100.      C x (where x is the amount of credits you begin with)
  101.  
  102. {2}    Operators
  103.  
  104.     The scenario interpreter recognises these symbols
  105.      Symbol       Meaning
  106.      %%%%%%     %%%%%%%%%%%%
  107.        >        greater than
  108.        <        less than
  109.        =        equal to
  110.        !        not equal to
  111.  
  112. {2}    Specifying the number of units
  113.  
  114.     You can specify the number of units in the win and lose sections
  115.     using this convention. For example
  116.     U13 > 4   means you need more than 4 ore silos. Ore silos is gained
  117.     from the table described above with the entry number 13.
  118.  
  119. {2}    Win and lose variable sections
  120.  
  121.     In the winvars and losevars section a strict set of rules apply. For
  122.     each line you must specify only 1 rule. For example F < 20 means that
  123.     the amount of food on your planet is less than 20.
  124.     For the warvars to be satisfied all of the rules must be satisfied in
  125.     that section. That means that if you have I > 1000 in your winvars
  126.     section then you can only win the scenario if you have more than 1000
  127.     people in your population.
  128.  
  129. {2}    Please note
  130.  
  131.     It is not intended that the "average" user will find making new
  132.     scenarios very useful. The addition of editable scenario files was made
  133.     for the ease of use of the programmer and to allow additional scenario
  134.     files to be emailed around. Please note that I may have left out some
  135.     variables that have been included in the scenario files.
  136. {EOF}
  137. {EOF}
  138.