Jump to content

How to create Tunnels correctly?


Recommended Posts

I actually came to a point where I want to make them work. I never got into it. On ppmsite forum, someone made a Tunnel creator software that supposedly had to 'right' numbers in the coordinates, which means Final Sun has a bug in the Tunnel creating section.

Does anybody know anything about creating tunnels the right way??

Link to comment
Share on other sites

I think I tried tunnels once long ago and failed miserably. :S  I wish I could help you, but I'm clueless about tunnels.  :( Maybe try reverse engineer a copy of the Tunnel Training map. Also, someone fixed Seb's Area 51 map with the tunnel problem. Check with Humble or XmeXyou.



Oh did I forget? Holland!!!!!!! HIhihihihihihihihihihihihihihihihihihihihihihihihihihihihihi :D

Link to comment
Share on other sites

With some help I understand it now, Copy pasted the FS Manual about tunnel first, then I explain the Tunnel drawer


For this tutorial I assume you already know how to edit terrain. This one will explain to you how you can create own tunnel tubes, e.g. that units can move through the tunnels. The tunnel entrances you create with the terrain browser don´t allow the units to pass through automatically, as you may have seen if you tried it! Because of this I´ve implemented a simple version of tube editing, allowing you to specify the start and ending position of the tube. This early version doesn´t support custom curves yet but only automatic curves, and therefore can only be used for connecting two entrances that are divided by another low cliff. As TS/RA2 doesn´t support connecting two entrances in different directions this shouldn´t matter that much. For the standard case it should definitly work! Ok, here first 2 pictures of a tunnel in TS and the same tunnel in FinalSun:






As you see, the 2 pictures look quite the same except the tunnels. Scroll to the cliff in that you want to insert a tunnel. Then, use the terrain browser to set the entrances of the tunnel. I´ve marked them with 1 and 2, these are those for dirt terrain. You can of course also uses paved and track tunnels, that doesn´t make any difference. The tunnel entrance that is behind the cliff must fit exactly on the cliff, so that the cliff is not visible anymore! This may look strange in FinalSun, but it is displayed fine in Tiberian Sun. For tunnel 1 it is also needed to select a tunnel side (another tileset), but you don´t have to do anything about the top of the tunnel entrance, leave it as it is.

Then use the new tunnel->add tunnel function in the object browser at the left. Click on the left field of tunnel 1 (it is marked with red in the screenshot), and move the cursor with pressed left mouse button the the top left field of tunnel 2. You need to exactly use one of the top tiles of tunnel 2. They look a bit different than the normal ground tiles and they are exactly there where the cliff should be (later in TS)! Release the mouse button, ant the red line you see in the screenshot will be displayed. Do the same for the 2 other parts (if you want to). You don´t need to do this but I recommend it, else only one unit would fit through the tunnel.

Try the map in TS/RA2 and find out if a unit can move through *both* ends of the tunnel. If it can only move through one or none, you made a mistake.


Q45 Created this nice flash tool to repair the bug that final sun creates.

Go and take a look on it on http://www.ppmforums.com/viewtopic.php?t=37881


After you created the tunnel correctly aligned in Fnal sun, go and take a look in the [Tubes] section (In map file or Edit> INI Edting> Tubes)

You can use the first 4 bigger numbers in the middle two lines (3 or 4) to see the coordinates that you have to insert in the flash tool

example : 3=52,61,0,52,42


Insert those numbers at the top of the flash tool.

Draw the lines as how the tool tells you too.

Copy and replace the code with the [Tunnel] section in your map file.




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...