home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Game Killer
/
Game_Killer.bin
/
1317.SCC.DOC
< prev
next >
Wrap
Text File
|
1991-10-15
|
4KB
|
93 lines
Series-3
Ship Class Compiler
Version 1.0a
Written By Tom Bradford
(C) 1991 By Diamond Cut Software
All Rights Reserved
SCC, The (S)hip (C)lass (C)ompiler, introduced in Version 3.3a Of
Series-3 Is A General Utility That Compiles ASCII Delimited Text Files
Into A Binary Format That Can Be Easily Read By Series-3 For System-Specific
Information On The Various And Variable Ship Classes That Galactic Empire
Has To Offer.
Distributed With SCC are two ship information files, DEFAULT.TXT, which
contains information on the default ships available to most 'uncustomized'
Galactic Empire systems and APOGEE.TXT, which contains information on the
customized ship configuration currently being used on the Apogee Online
Service.
To compile a text file into a .SHP data file, execute SCC in the following
fashion:
SCC filename.ext
filename.ext will be read into memory and then compiled into a file of
the name filename.SHP. You can then set the Config File in your dialing
directory entry to match the ship classes available on that specific system.
The Format Of A Readable Text File
----------------------------------
This section is intended for system operators or users who want to create
a ship class configuration file for a BBS that they use. There are 3 types
of data available within the file. The first is a comment and is preceeded
by a semicolon (;), the second is a display line and is preceeded by an
asterisk (*) and the third is an actual ship class data line which will be
discussed shortly.
A Sample file:
*This File Created By Tom Bradford
*For General Galactic Empire Use
*
;
; Default Ship File
; Use SCC To Compile This List
;
; Name, Sh,Ph,To,Mi,At,Cl,Acc,War,Ton
Interceptor, 2, 2, 1, 0, 0, 0, 999, 3, 500
Light Freighter, 1, 1, 0, 0, 0, 0, 200, 0, 30000
Heavy Freighter, 1, 2, 0, 0, 1, 0, 100, 2, 60000
Destroyer, 3, 3, 1, 0, 1, 0, 700, 4, 2000
Star Cruiser, 4, 4, 1, 1, 1, 1, 500, 6, 3000
Battle Cruiser, 5, 4, 1, 1, 1, 1, 350, 9, 6000
Frigate, 5, 4, 1, 1, 1, 0, 300, 20,12000
Dreadnought, 6, 5, 1, 1, 1, 0, 200, 50,40000
The first 3 lines are tagged to actually be displayed on the screen while
compiling the text file. This is useful for SysOps who want to note things
to the user while compiling the program. The next 5 lines are comments and
are ignored by the compiler. The next 8 lines are actual ship data that
will be used by the compiler when producing the .SHP data file.
The data lines consist of 10 fields seperated by commas (,). Leading and
trailing spaces are ignored when reading. Note that the sample file needn't
have been formatted in the manner shown, it could have been written like
this:
Interceptor,2,2,1,0,0,0,999,3,500
Light Freighter,1,1,0,0,0,0,200,0,30000
Heavy Freighter,1,2,0,0,1,0,100,2,60000
Destroyer,3,3,1,0,1,0,700,4,2000
Star Cruiser,4,4,1,1,1,1,500,6,3000
Battle Cruiser,5,4,1,1,1,1,350,9,6000
Frigate,5,4,1,1,1,0,300,20,12000
Dreadnought,6,5,1,1,1,0,200,50,40000
The fields are defined as follows:
(Using The Example Of "Battle Cruiser,5,4,1,1,1,1,350,9,6000")
Field 1 = Ship Class Name Battle Cruiser
Field 2 = Maximum Mark Of Shields 5
Field 3 = Maximum Mark Of Phasers 4
Field 4 = Torpedo System 1=Yes/0=No 1
Field 5 = Missile System 1=Yes/0=No 1
Field 6 = Planetary Attacks 1=Yes/0=No 1
Field 7 = Cloaking System 1=Yes/0=No 1
Field 8 = Acceleration Rate 350
Field 9 = Maximum Warp Factor 9
Field 10 = Maximum Tonnage 6000