Green Projects' Cybiko RPG Kit ============================== Technical Information File (17:13 23/01/01) RKM Files (uncompiled maps) --------------------------- DATA TYPES USED: * "char" = 1 byte * "short" = 2 bytes * "int" or "long" = 4 bytes (this is the same as used in Borland C++ Builder, in which the tools are written) File Contents: MAP INFORMATION, 256 TILE DEFINITIONS, MAP CELL ARRAY *---------------------------------------Beginning Of File---------------------------------------* LONG Map Width in cells LONG Map Height in cells LONG Last selected cell X coordinate (0...Width-1) LONG Last selected cell Y coordinate (0...Height-1) [[ ADDITION, AS OF 24/01/01 ]] 32 BYTES Fixed-length null-terminated string; shortened name of the map 32 BYTES Fixed-length null-terminated string; full name of the map 32 BYTES Fixed-length null-terminated string; description (user help) for the map 32 BYTES Fixed-length null-terminated string; script to be run when map is entered 32 BYTES Fixed-length null-terminated string; script to be run when map is left [[ END ADDITION ]] *********FOR EACH TILE: REPEAT 256 TIMES********* 32 BYTES Fixed-length null-terminated string: image filename 32 BYTES Fixed-length null-terminated string: walk script name 32 BYTES Fixed-length null-terminated string: action script name 32 BYTES Fixed-length null-terminated string: layer 2 iamge filename 32 BYTES Fixed-length null-terminated string: tile item name 32 BYTES Fixed-length null-terminated string: tile character name INT Quantity of item specified (0=ignore item field) INT Flags for the drawing of layer 2; 1=Draw On Top Of Player 2=Draw Transparent ************END REPEAT FOR EACH TILE************* *********FOR EACH ROW: REPEAT Height TIMES********* *********FOR EACH COLUMN: REPEAT Width TIMES********* CHAR ID of tile for this cell; i.e. index in table stored previously ************END REPEAT FOR EACH COLUMN************* ************END REPEAT FOR EACH ROW************* *------------------------------------------End Of File------------------------------------------* This document, it's contents and all other related media are (c)Copyright 2001, Kieren Johnstone. All Rights Reserved. If you want to use parts of this file, copy it to other locations, transmit it to/from any media for commerical purposes, you must contact the author for permission. Distribution Contact: Kieren Johnstone (page601@hotmail.com)