home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Special Di Besten Simulation
/
Chip_Special-Die_besten_Simulationen.iso
/
STRATEGI
/
SIMALL
/
TERAFORM.DOC
< prev
next >
Wrap
Text File
|
1990-12-22
|
11KB
|
250 lines
Teraform 1.0
A SimCity fractal terrain former
Copyright 1990 by David M. Hayden
All rights reserved
INTRODUCTION
Teraform is a public domain utility for the IBM PC and
compatibles that lets you create new terrains for SimCity.
These terrains have (in my opinion), a more natural look
than the ones obtained directly from SimCity. Teraform
supports cga, ega, vga and (I think) hercules graphics.
Being unable to access a machine with Hercules graphics,
I've been unable to test this feature. Teraform is not a
replacement for the Maxis terrain editor - it has only minor
editing capabilities. However, it can quickly produce
interesting, realistic, and challenging terrains for your
simming pleasure.
Teraform creates its terrains using fractal math. First, it
creates a topographical map of the area. It then selects
three topographic "altitudes" which divide the area into
four regions. Everything below the lowest altitude becomes
a shipping channel. Everything in the next region up
becomes water. The next region is open land, and the last
region is forest. You can change the layout of your terrain
by raising and lowering the altitudes that determine the
borders of the regions.
One of teraform's nice features is it's ability to "smooth"
a terrain. This gives your terrain smooth borders between
water, sea, and forest instead of the square, pre-bulldozed
borders one might expect.
Teraform is copyrighted by provided free of charge. You may
use it and distribute it free of charge. You may NOT sell
teraform. If your conscience tells you that such a
fantastically valuable program can't come for free, I will
accept a donation. I am:
David Hayden
6208 Collinsway Road
Baltimore, Maryland, 21228
USA
INSTALLATION
Teraform is distributed in a single compressed "zip" file.
To extract the files, get pkunzip, change directories to
where you'd like the files to reside (probably the same
directory where you keep simcity) and execute:
pkunzip teraform
Page 1
This will extract the following files:
teraform.exe
teraform.dat
egavga.bgi
cga.bgi
herc.bgi
teraform.doc
Please note that you MUST execute teraform in the directory
containing teraform.dat and the ".bgi" files.
RUNNING TERAFORM
To run teraform, change directories to the directory
containing teraform and its associated files and type:
teraform
Teraform will ask you for the name of your city. This is
the name that appears across the top of the cityform window
when you run SimCity. Enter a name and press return.
Teraform then asks for the name of the file where you want
to store the city. Enter a file name and press return. The
file should end in the ".cty" extension to keep SimCity
happy. If you leave the extension off, teraform will add
".cty" for you.
Teraform now clears the screen and starts building the
topographical map of your new city. THIS MAY TAKE SOME
TIME. Please don't panic if nothing appears to be
happening. teraform uses lots of math creating the
topographical map. It may take a full minute on a computer
without a coprocessor, or less than a second on a fast 386
with coprocessor or 486.
If more than a minute elapses and nothing has happened, then
teraform may have incorrectly identified your graphics
hardware. Teraform tries to determine what graphics
hardware you are using automatically, but it may guess
incorrectly. Fortunately, you can override teraform's
guess. Simply restart teraform with the "/c", "/e", "/h",
or "/v" option to tell it you are using cga, ega, hercules,
or vga graphics respectively. For example, to start
teraform and force it to use ega graphics, type:
teraform /e
When teraform completes the topographic map, it tries to
determine reasonable levels for shipping channels,
coastlines, and forest lines. It then displays the main
teraform screen described below.
THE MAIN TERAFORM SCREEN
Page 2
The main teraform screen displays a map of the current
terrain, and lists the commands available. The upper left
portion of the screen shows a map of the terrain. In the
upper right corner is a legend showing what each color or
pattern in the map represents. On the bottom of the screen
is a list you your available commands:
PgUp/PgDn These keys raise and lower the
water level of the terrain.
Rasing the water level floods
portions of the land and
creates more water. Lowering
the water level gives you more
useable land.
UpArrow/DnArrow The up and down arrows keys
raise and lower the "forest
level." Everything above a
certain level on the
topographical map becomes
forest. Lowering the forest
level creates more forest while
raising it creates less. If
you try to lower the forest
level below the water level,
teraform beeps at you and
lowers the water level with the
forest level,
Home/End These keys raise and lower the
shipping channel level.
Raising the channel level
creates more space where ships
can navigate. Lowering it
restricts ships. You should be
sure to have a clear path for
ships from your land to off the
terrain.
s The "s" key smooths the
terrain. You will see the
terrain change slightly so that
it can be smoothed, but
otherwise, the picture will not
show smooth borders. Please
note that if you change the
water or forest level after
smoothing, you will have to
resmooth the picture.
w Write the current terrain out
to a file. This writes the
current terrain to the file
name you specified when the
Page 3
program began. You should
always smooth the file image
immediately before writing it
to ensure smooth edges. The
file is written in SimCity's
".cty" format with all
parameters set to be the same
as a new city at the "easy"
level. You can load the new
city with the "load city"
command from SimCity's "system"
menu.
n Create a new terrain. This
generates a completely new
topographical map.
q Quit from the program.
COMMAND LINE PARAMETERS
The teraform command line looks like this:
teraform [options] [millennia]
Where "options " can be either of the following:
/c use cga graphics
/e use ega graphics
/h use hercules graphics
/v use vga graphics
and "millennia" tells for how many thousands of years
teraform should simulate continents smashing into each
other. The default is 200. Larger values give more jagged
coastlines but take ore time. Smaller values give less
jagged but less random coastlines.
Page 4