ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄ¿ ³ Making .DAT files for use with Cyberbox II ³ ÀÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 1. All C2 levels are stored in text files named C2-##.DAT, where ## is the "level number" to be typed in after selecting "User-Made" in the C2 login screen. I've provided a file called C2-04.DAT in this archive; it's the outline of a level with nothing but the required stuff -- a starting point and an exit sign -- inside. Use this as a template for the levels you create, if you like. 2. Use any text editor to edit a previously made level or start a new one; I use the EDIT program provided with MS-DOS 5, but something like QEDIT would also work well. You should not use word processors like WordPerfect, but if you do, use a marginless page and save in ASCII format. 3. .DAT files contain a MESSAGE section (optional), then the word BEGIN (required), and then the MAP section (required). The message section contains MESSAGES separated with EQUALS SIGNS ("=") on their own lines. Messages can be at most 7 lines long, and each line can be at most 36 characters. There should be no equals sign before or after the message section, only between messages if there is more than one. These messages correspond to the messages that are displayed by question-boxes A, B, C, and so on; the first message corresponds to A, the second to B, and so on. If you use in the MAP section a capital letter that is represents a message that is not defined before the word BEGIN, you will get an error message. You can have at most 8 messages per level, A through H. See the file C2-01.DAT for good example of messages. 4. The MAP section maps the corresponding Cyberbox II level exactly, and with the same orientation. Note that while Cyberbox boxes are square characters on the screen are quite a bit taller than they are wide; therefore the mapping in the text file should look a bit elongated in the vertical direction if you want the "rooms" within your level to appear square. The best way to assure squareness is to simply count. 5. Levels are 77x77 boxes in size, but it is not necessary to fill in every character: C2 will assume, if a line is under 77 characters long, that the remaining characters are blanks (spaces), or if the .DAT file is under 77 lines long, that the remaining lines are filled with blanks. However, if you go over the 77 limit in either direction you will get an error message. 6. The following characters represent the boxes in Cyberbox II. Any other symbols in a .DAT file will cause an error to be reported. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ÚÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ ³ ³ ³ ³ ³ ³ Character ³ Character ³ ³ ³ Cyberbox piece: ³ on "land" ³ on "ice" ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ "Land" alone ³ ³ (n/a) ³ ³ ³ "Ice" alone ³ (n/a) ³ 0 ³ ³ ³ Blocker ³ x ³ x (same function) ³ ³ ³ Sliders: ³ ³ ³ ³ ³ (Both ways, ³ + ³ 1 ³ ³ ³ horizontal, ³ - ³ 2 ³ ³ ³ vertical) ³ | ³ 3 ³ ³ ³ Pushers: ³ ³ ³ ³ ³ (Up, ³ ^ ³ 4 ³ ³ ³ right, ³ > ³ 5 ³ ³ ³ down, ³ v ³ 6 ³ ³ ³ left) ³ < ³ 7 ³ ³ ³ Meta-blockers: ³ ³ ³ ³ ³ (Up, ³ u ³ u (same function) ³ ³ ³ right, ³ r ³ r " " ³ ³ ³ down, ³ d ³ d " " ³ ³ ³ left, ³ l ³ l " " ³ ³ ³ plus sign) ³ * ³ * " " ³ ³ ³ Selectors ³ # ³ % ³ ³ ³ Starting point ³ s ³ 8 ³ ³ ³ (exactly one ³ ³ ³ ³ ³ per level) ³ ³ ³ ³ ³ Gems ³ g ³ 9 ³ ³ ³ (as many as ³ ³ ³ ³ ³ 95 per level) ³ ³ ³ ³ ³ Exit sign ³ e ³ e (same function) ³ ³ ³ (at least one ³ ³ ³ ³ ³ per level) ³ ³ ³ ³ ³ Question-mark box ³ A,B,C,...,H ³ A,B,C,...,H ³ ³ ³ (must be def'd ³ ³ (same function) ³ ³ ³ before BEGIN) ³ ³ ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ Other pieces: ³ ³ ³ ³ ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´ ³ ³ Grass ³ @ ³ n/a ³ ³ ³ Heavy sliders ³ : ³ ; ³ ³ ³ (four-way) ³ ³ ³ ³ ³ Out-of-bounds ³ o ³ n/a ÃÄÙ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 7. Do not create infinite loops, such as a meta-blocker that points to another meta-blocker in the opposite direction, or a loop of meta-blockers, or a series of meta-blockers connected in a cycle by ice. This will cause Cyberbox II to crash or hang, I'm afraid, because I knew of no easy way to check for such evils. 8. "Grass" and "heavy sliders" are experimental pieces that I didn't use much. In fact, I don't think I used grass at all. Grass blocks all pieces except the token, which destroys it upon hitting it. It's sort of the opposite of a selector in that sense, except it can't move. Heavy sliders, as explained in level 2, can only be pushed singly and can't be pushed by anything but the token. These two pieces would probably make for some great puzzles, but to avoid confusion I didn't make them an important part of the levels. 9. If you edit any existing data files, you may want to delete any saved games (.C2) associated with that level. Saved game files associated with level 3, for example, have filenames xxx03-y.C2, where xxx are initials and y is a slot number.