home *** CD-ROM | disk | FTP | other *** search
/ Fatal Distractions! / fataldistractions.bin / chap07 / cyber2 / datfile.doc < prev    next >
Text File  |  1992-08-11  |  8KB  |  114 lines

  1.  
  2.              ┌──────────────────────────────────────────────┐
  3.    ┌─────────┴──────────────────────────────────────────────┴─────────┐
  4.    │            Making .DAT files for use with Cyberbox II            │
  5.    └─────────┬──────────────────────────────────────────────┬─────────┘
  6.              └──────────────────────────────────────────────┘
  7.  
  8. 1.  All C2 levels are stored in text files named C2-##.DAT, where ## is the
  9.     "level number" to be typed in after selecting "User-Made" in the C2 login
  10.     screen.  I've provided a file called C2-04.DAT in this archive;  it's the
  11.     outline of a level with nothing but the required stuff -- a starting point
  12.     and an exit sign -- inside.  Use this as a template for the levels you
  13.     create, if you like.
  14.  
  15. 2.  Use any text editor to edit a previously made level or start a new one;
  16.     I use the EDIT program provided with MS-DOS 5, but something like QEDIT
  17.     would also work well.  You should not use word processors like WordPerfect,
  18.     but if you do, use a marginless page and save in ASCII format.
  19.  
  20. 3.  .DAT files contain a MESSAGE section (optional), then the word BEGIN
  21.     (required), and then the MAP section (required).  The message section
  22.     contains MESSAGES separated with EQUALS SIGNS ("=") on their own lines.
  23.     Messages can be at most 7 lines long, and each line can be at most 36
  24.     characters.  There should be no equals sign before or after the message
  25.     section, only between messages if there is more than one. These messages
  26.     correspond to the messages that are displayed by question-boxes A, B, C,
  27.     and so on;  the first message corresponds to A, the second to B, and so
  28.     on.  If you use in the MAP section a capital letter that is represents a
  29.     message that is not defined before the word BEGIN, you will get an error
  30.     message.  You can have at most 8 messages per level, A through H.  See the
  31.     file C2-01.DAT for good example of messages.
  32.  
  33. 4.  The MAP section maps the corresponding Cyberbox II level exactly, and
  34.     with the same orientation.  Note that while Cyberbox boxes are square
  35.     characters on the screen are quite a bit taller than they are wide;
  36.     therefore the mapping in the text file should look a bit elongated
  37.     in the vertical direction if you want the "rooms" within your level
  38.     to appear square.  The best way to assure squareness is to simply count.
  39.  
  40. 5.  Levels are 77x77 boxes in size, but it is not necessary to fill in every
  41.     character: C2 will assume, if a line is under 77 characters long, that the
  42.     remaining characters are blanks (spaces), or if the .DAT file is under 77
  43.     lines long, that the remaining lines are filled with blanks.  However, if
  44.     you go over the 77 limit in either direction you will get an error message.
  45.  
  46. 6.  The following characters represent the boxes in Cyberbox II.  Any other
  47.     symbols in a .DAT file will cause an error to be reported.
  48.  
  49.         ┌─────────────────────────────────────────────────────────────────┐
  50.      ┌──┴─────────────────────┬──────────────┬──────────────────────────┐ │
  51.      │                        │              │                          │ │
  52.      │                        │  Character   │  Character               │ │
  53.      │  Cyberbox piece:       │  on "land"   │  on "ice"                │ │
  54.      ├────────────────────────┼──────────────┼──────────────────────────┤ │
  55.      │      "Land" alone      │   <space>    │    (n/a)                 │ │
  56.      │      "Ice" alone       │    (n/a)     │      0                   │ │
  57.      │      Blocker           │      x       │      x  (same function)  │ │
  58.      │      Sliders:          │              │                          │ │
  59.      │         (Both ways,    │      +       │      1                   │ │
  60.      │          horizontal,   │      -       │      2                   │ │
  61.      │          vertical)     │      |       │      3                   │ │
  62.      │      Pushers:          │              │                          │ │
  63.      │         (Up,           │      ^       │      4                   │ │
  64.      │          right,        │      >       │      5                   │ │
  65.      │          down,         │      v       │      6                   │ │
  66.      │          left)         │      <       │      7                   │ │
  67.      │      Meta-blockers:    │              │                          │ │
  68.      │         (Up,           │      u       │      u  (same function)  │ │
  69.      │          right,        │      r       │      r     "   "         │ │
  70.      │          down,         │      d       │      d     "   "         │ │
  71.      │          left,         │      l       │      l     "   "         │ │
  72.      │          plus sign)    │      *       │      *     "   "         │ │
  73.      │      Selectors         │      #       │      %                   │ │
  74.      │      Starting point    │      s       │      8                   │ │
  75.      │         (exactly one   │              │                          │ │
  76.      │          per level)    │              │                          │ │
  77.      │      Gems              │      g       │      9                   │ │
  78.      │         (as many as    │              │                          │ │
  79.      │          95 per level) │              │                          │ │
  80.      │      Exit sign         │      e       │      e  (same function)  │ │
  81.      │         (at least one  │              │                          │ │
  82.      │          per level)    │              │                          │ │
  83.      │      Question-mark box │ A,B,C,...,H  │ A,B,C,...,H              │ │
  84.      │         (must be def'd │              │         (same function)  │ │
  85.      │          before BEGIN) │              │                          │ │
  86.      ├────────────────────────┼──────────────┼──────────────────────────┤ │
  87.      │  Other pieces:         │              │                          │ │
  88.      ├────────────────────────┼──────────────┼──────────────────────────┤ │
  89.      │      Grass             │      @       │     n/a                  │ │
  90.      │      Heavy sliders     │      :       │      ;                   │ │
  91.      │         (four-way)     │              │                          │ │
  92.      │      Out-of-bounds     │      o       │     n/a                  ├─┘
  93.      └────────────────────────┴──────────────┴──────────────────────────┘
  94.  
  95. 7.  Do not create infinite loops, such as a meta-blocker that points to
  96.     another meta-blocker in the opposite direction, or a loop of meta-blockers,
  97.     or a series of meta-blockers connected in a cycle by ice.  This will cause
  98.     Cyberbox II to crash or hang, I'm afraid, because I knew of no easy
  99.     way to check for such evils.
  100.  
  101. 8.  "Grass" and "heavy sliders" are experimental pieces that I didn't use much.
  102.     In fact, I don't think I used grass at all.  Grass blocks all pieces except
  103.     the token, which destroys it upon hitting it.  It's sort of the opposite of
  104.     a selector in that sense, except it can't move.  Heavy sliders, as
  105.     explained in level 2, can only be pushed singly and can't be pushed by
  106.     anything but the token.  These two pieces would probably make for some
  107.     great puzzles, but to avoid confusion I didn't make them an important part
  108.     of the levels.
  109.  
  110. 9.  If you edit any existing data files, you may want to delete any saved
  111.     games (.C2) associated with that level.  Saved game files associated
  112.     with level 3, for example, have filenames xxx03-y.C2, where xxx are
  113.     initials and y is a slot number.
  114.