How to make a SUBWAY with duke3d build editor
=============================================

 - I'm going to make this explanation as easy as possible.


STEP 1:  create a sector to be the track for the subway.  Somewhat like a
racecar track.  The easiest way to do this is to make a large rectangle,
then point the crosshairs on one of the lines on the side, and hit "C".
Stretch the little yellow bubble thing outward to where you want the side
wall to arch out to and hit "Spacebar".  Repeat this for the other side.

STEP 2: Now you should have a big rectangle/oval type of sector.  Good, now
make a smaller rectangle in the center of the big oval to be the station.
When this sector is made... tis a good idea to save it here.  Then point
inside the smaller rectangle inside the oval and hit "ALT-S" it should change
the lines red.. which makes it a sector inside a sector.

STEP 3: Now.. make the subway cars, try not to make them right next to the
station, because you'll need a locator around there.  Make 2 small rectangles
(for the main subway, and the subway car). Don't connect them together, leave
the cars about one gridspace away. Hit "ALT-S" inside each of these 2
rectangle sectors (which will make them red too).  Now you have two subway
cars.

STEP 4: You CAN make more than two cars, im just using two in this example.
Now go in 3d mode and use "pageup/pagedown" to raise and lower the station,
subway, and subway track sectors until you can actually see the station and
the subway.

STEP 5: Ok..In the 2d editor, point inside a subway car and hit "H" for hitag,
and enter the value "1".  Now you should see that the sector has a gray tag
which is (1,0).  Do the same for the other car(s). I think this is something
for the identity of the group of subway cars.

STEP 6: Go in 2d editor and point in each subway car and hit "S" to make
a sprite in each one.  Now go in 3d mode and on the subway car which you
want to be the "leader", and find the sprite (whatever it may be) that you
just put on that sector.  Hit "V" twice and scroll till you find the blue
sprite that is an (S) and says SECTOREFFECTOR in the lower-right.
Point to the blue S on the subway car now, and hold down ' while pressing "T"
and enter the lotag value: "6"  which means it'll be the "leader" subway car.
Repeat this step for the other subway cars except make the lotag value: "14"
If in 2d mode these tags are PURPLE and not BLUE, hit "B" on the tags.

STEP 7: Now you have to make the actual "path" for the subway.  in 2d mode
hit "S" inserting a sprite in the CENTER of the track close to the station
such as in the example SUBTMP.MAP, the tag that says "LOCATOR 1,0".  When
you place a sprite here, go in 3d mode and select the blue (L) this time,
which says "LOCATORS" in the lower-right. Hold ' and press "H". Enter hitag
value: "1".  In 2d mode you'll see a blue tag that says LOCATOR 1,0.  This is
telling the subway when to slow down and stop and pause for a couple seconds.

STEP 8: Now make these locator sprites all around the track in the CENTER, as
seen in the example.  In 3d mode hold ' and press "T" for lotag, and ' "H" for
hitag on each of these locators and as you go around the track entering hitag
and lotag for these locators, they should go something like this:
LOCATORS 0,1  LOCATORS 0,2  LOCATORS 0,3  LOCATORS 0,4  and so on until it
gets close to the LOCATORS 1,0 tag telling it to slow down and stop.  Make
sure you make the path accurate for the subway otherwise it'll disappear then
reappear in certain places. It takes awhile to get it perfectly aligned in
the track.  Refer to the example SUBTMP.MAP on how and where the LOCATORS are
placed around the track and look at how the numbers on the tags increase as
they are placed around the track: Locator 0,1  locator 0,2  etc.

 - Reminder: The first number in a tag is the HITAG.  Second number is LOTAG.

 - I hope you could understand these docs :)



===========================
Written by Loach - @#duke3d
killer@raven.cybercomm.net
===========================
Back to Yeoman's Page 1