Toolkit - level editor for the game Last Battle.

Spectrum Progress #03
This program has been a long time coming. Finally!

 
  An idea implemented by programmers from
group A&B, has been in the air since the advent of
of the game LAST BATTLE. What might be of interest-
than a battle on an unknown plane -
those? We hope that fans of strategy games
They will truly appreciate such a gift.


  (C) Vitaly Buzov, 1998.

              A&B represent
        LAST BATTLE MAP GENERATOR v1.10  

  The program is designed to automatically
creating maps for a famous strategic game
re LAST BATTLE.
  The map is created with the parameters set
in the Settings menu. The created map records-
is included in the body of the game and is secret, i.e. you
you will get to know her only in the process
games.


                ╔══════════╗
                 ║Management║
                 ╚══════════╝

  The program supports the following types of control:
leniya:
  Q,A,O,P,Sp/M, RIGHT SINCLAIR JOYSTICK, LEFT
SINCLAIR JOYSTICK, CURSOR JOYSTICK, KEMPSTON
JOYSTICK, KEMPSTON MOUSE.
  KEMPSTON MOUSE must be turned on first
from this menu.


               ╔══════════════╗
               ║Creating a map║
               ╚══════════════╝

  If you want to receive a card immediately, then the program
Ramma will create a map and ask where to write it -
sat.  If on the disk you suggested there is a file
lb.map_2 (included inpackage with Last Battle) not
will be found, you will be informed about this and
will ask you to press Fire, and then prompt you again
determine where to write the map. After successful
recording program will automatically exit into TR-DOS
and will run the file boot.
  If you turned on this mode by accident, then
To create a map, move the arrow outside
menu and press Fire.


                  ╔═════════╗
                  ║Settings║
                  ╚═════════╝

  The initially set parameters allow
immediately receive a card after selecting the previous one
point.  But if you want to fight on the planet
with an exotic landscape or vice versa, with an infestation
her well-known character of the planet's surface,
then feel free to get into this menu.

  A few tips for setting the parameters
card nerator:

  1) Parameter "NUMBER OF SHAPE CORRECTIONS
ISLANDS" determines the shape of the island.  If he
too small compared to the size of the given lines
shape, the islands will be too elongated
and the formation of lakes is possible if too much
face, then the islands will have a length of approximately
equal to width.

  2) Parameter "SIZE OF SHAPE CORRECTION LINES"
determines the ruggedness of the coastline than it
the more, the more rugged. With large
size (more than 5), small
some lakes, even if you set the "STEP" parameter
SHAPE CORRECTION LINES" equal to 1 and without scatter.

  3) Recommendedset minimum values
changing the parameters "NUMBER OF SHAPE CORRECTIONS
ISLANDS" and "SIZE OF SHAPE CORRECTION LINES" so,
so that inequality is respected: min"QUANTITY
ISLAND SHAPE CORRECTIONS" * min"LINE SIZE
SHAPE CORRECTION" + 2 >= max"SIZE OF TASK LINES-
NIYA FORMS."This is necessary in order not to
internal lakes were formed.

  4) If it is necessary that the islands be protected
all the space free from straits is filled,
then you need to put 28 islands without scatter, and
the program will finish its work when
will install or will not find a place to install
islands, and if the islands are large enough, then
28 islands, naturally, will not fit, and
the bot will be completed ahead of schedule.

  5) The parameter "STEP OF SHAPE CORRECTION LINES" is determined
divides the presence or absence of small internal
lakes If it is greater than 1, then
small lakes throughout almost the entire area of the island
va (and there will be more of them at the edges, and even more
measures larger than in the central part of the island),
and as the parameter increases, the number of
quality of lakes. When the size of the correction lines is small
Formation of lakes is unlikely.

  The algorithm for drawing an island is as follows: first,
Random coordinates are selected and checked
is there a sea along them, if not, then the coordination
nat are determined again and so 255 times, and if
with 255 times no free sea cell was found, then
programit will simply cover the already installed ones
islands shores and finish creating the map.
  If according to the obtained coordinates there is a mo-
re, then land is placed there and scraps stretch from there -
lines, the size of which is specified by the parameter "different
measures of lines defining the form", and the quantity is para-
meter "number of lines defining the shape."
  Then the shape of the island is adjusted, while
the program works like this: the entire map is searched,
and from the points of the lines that were obtained at this
not defining the shape, the lines are drawn again, their dividing
measures sets the parameter "size of correction lines
forms." Parameter "step of shape correction lines"
specifies the skipping of line points, that is, if it works
veins 5, then only 1/5 of all points will be drawn -
Xia shape correction lines.
  The process of correcting the shape of the island is repeated
as many times as specified in the "quantity" parameter
quality of island shape corrections."
  Then the island will be surrounded by a strait, this is not
necessary for protection against gluing. If you are for
give the minimum value of the parameter "mini-
small width of straits" equal to 1, then several
islands can stick together into one, although this is small
probably, and also possible the formation of such
places where you can go from island to island without
transports, if equal to 2, then there will be no gluing
children, but places where you can go from island to
island without transport, may be present,
if more than 2, then between the islands there will be
at least 1cell of the sea.


                 ╔═══════════╗
                 ║Test run║
                 ╚═══════════╝

  Once you have set the desired parameters and
If you want to see what you came up with, then select
this item.  You will be shown the results of your actions
activity to change parameters. If in mode
during the test run, press Break (Cs/Space), then
the program will stop and wait for you to press Fi-
re and then goes to the settings screen.


               ╔══════════════╗
               ║Exit to TR-DOS║
               ╚══════════════╝

  The program exits to TR-DOS and runs the file
boot, and if there is no disk or file, then you
you will fall into the TR-DOS command line.

           Successful battles to you!!!

                     ─────

Share your thoughts about the article