TUTORIAL TRAIN GUIDE FOR GTA2
=============================

Installation
------------

Place the following files in your GTA2\data directory:

- trains.gmp
- trains.scr
- trains.mis

Playing the Tutorial
--------------------

Use GTA2 Power Manager and set it to the map and script, and using the style file "bil.sty". You will find your character standing next to a train station. This map is very small and contains 2 stations for examples and both fully working.

Viewing the Zones
-----------------

Load up the GTA2 map editor and click Edit -> Zones -> Edit to have a look at zones in the map. The 2 stations are named 'trak00' and 'trak01' respectively, but a note should be made for the following names and zone types (applies to both stations):

- trak00 = Railway Station (Platform) - this is where the peds stand, it is the pavement next to tracks
- trak00en = Railway Station Entry Point - this is where the train slows down
- trak00st = Railway Station Stop Point - this is where the train stops allowing peds to get on/off train
- trak00ex = Railway Station Exit Point - after leaving the station and hitting this point, it will go full speed again

How to Make Your Trains Work
----------------------------

As you should see in the map editor, on each of the corners is AT LEAST 1 block of empty space around it allowing it to turn (otherwise it would 'crash' and explode!). This is hidden inside buildings to stop us from seeing its ugly turning. Other than that, thats realliy it. Slopes can be any length (1 block [steep], 2 blocks [moderate] or 8 blocks [gentle]), but they are usually set to 1 or just kept at the same height throughout city.

In your .MIS file, you'll need to add the following code (in your declarations before LEVELSTART command):

SET_STATION_INFO ( platform-name , number-carriages , number-freight , number-boxcar )

My example has already been done, and mine is:

SET_STATION_INFO ( trak00 , 4 , 0 , 0 )

The other station (trak01) has no train associated with it, and so it is put as 'NO_TRAIN'.

Other Information
-----------------

Well, that should really wrap it up, as the coding and map is pretty straight forward. If in any case, keep looking at the way my railway is done, check the code as well and keep testing it. Also, a good refernce would be the official maps too, thats how I got my trains to work!

Don't forget - check your commas, spacing, brackets and station names! The platform name in the MAP EDITOR (trak00) is used in the CODING too!

Have fun with GTA2!

-PYRO-
(05/06/2005)