
Mapping God

Group: Members
Posts: 292
Joined: 21-October 06
From: Belgium, Flanders
Member No.: 30
Alliance: Nod
Favorite game: Tiberian Sun

|
here
Tutorial By: dEw_MaN
There is a long standing error in Final Sun editor with tunnels. Read on to find out how to fix that annoying error.
First: apply your tubes one set of three tube applied only not two sets. This means you trace the tunnel tubes one time for each connection. This will make a total of three connections between to tunnels.
Second: open your map in notepad. Find the tube section. Turn off word wrap so the section look some thing like this.
[Tubes] 0=79,100,0,79,83,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1=79,83,4,79,100,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,-1,-1,- 2=80,100,0,80,83,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,- 3=80,83,4,80,100,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,-1,-1,- 4=81,100,0,81,83,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,- 5=81,83,4,81,100,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,-1,-1,-
NOTE: I removed the (-1) so this can fit the page. So do not remove all of the (-1) or you may have problems.
In this sample if you look at the first two strings like this. This makes one tube. Each string is a one-way passage throw the tunnels. One for one direction and one for the return direction.
0=79,100,0,79,83,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,-1=79,83,4,79,100,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,-1,-1,-
Now we will look at the part that is giving you the problem
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,-1,- 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,-1,-1,-
This part is it. If you cont the (0) then cont the (4) you will see that the (0) are sort by one (0). To correct this change the next (-1) to a (0) (or the number in your strange) final sun all ways make this mistake.
What you are looking at represents the direction numbers (represents by the numbers themselves) and the number of tile movements (represents by how many numbers shown in the string.) this part of the strings should look some thing like this after you fix it. You can see that the amount of numbers match.
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,-1,- 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,-1,-1,-
Then you will need to repeat this for the next two sets of tubes.
NOTE: Do not use these string as a replacement, these are just samples. Do not cut the strings apart like this. This was only to make it easier to see the problem.
--------------------
How do u expect to defeat me when your merely a mortal, and I am Forever! 
|