IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> Fixing the Tunnels (****), Tutorial by dew_MaN
Ixith
post Dec 17 2007, 08:36 PM
Post #1


Cyborg Reaper
Group Icon

Group: Members
Posts: 1,173
Joined: 21-October 06
From: Ohio
Member No.: 27
Alliance: Nod
Favorite game: Tiberian Sun



QUOTE (Team Black @ Jan 20 2009, 07:57 PM) *
this tutorial is obsolete, go HERE for a better one



Tutorial By: dEw_MaN
(Thanks to Wess for posting it up in my WIP map thread. Figured it would be nice to have it up as a tutorial to since that is what it is ya know. wink1.gif )

QUOTE
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.


--------------------
Go to the top of the page
 
: | +Quote Post
Aro
post Dec 17 2007, 09:28 PM
Post #2


Cyborg Commando
Group Icon

Group: Members
Posts: 1,695
Joined: 22-November 06
From: Birmingham, UK
Member No.: 314
Alliance: Nod
Favorite game: Tiberian Sun



I TOLD YOU! That there was a thread on this somewhere! tongue.gif Cheer's Wess and Ix'.


--------------------
Aro - Leader of Twisted Insurrection and Evolution.

Tiberian Sun: UMP
Tiberian Sun: Modding Tools
Tiberian Sun: Mapping Tools

"Aro is OP." - TiberianFuture
"Aro for Dictator!" - Droke
"Aro for President!" - CL4ymOr3
"You're Aro, you always win." - daTS
"He's referred to as The Aro because he really is that f*cking awesome!" - Fenring
"Only members of the A.R.O. Society are allowed to use :WAT and related terms (TAW:, :BIGV, etc.)." - Crimsonum
"To Aro, founder and leader of TI, the best public relations and mod manager, great friend, modder and mapper." - Lin Kuei Ominae
Go to the top of the page
 
: | +Quote Post
Lin Kuei Ominae
post Dec 17 2007, 10:04 PM
Post #3


Stealth Tank
Group Icon

Group: Members
Posts: 1,065
Joined: 14-November 06
From: Germany
Member No.: 281
Alliance: CABAL
Favorite game: Tiberian Sun



Is there a max length for tunnels? (e.g. a tunnel from the upper west corner to the bottom east on a 200x200 map)
Can you add additional "direction numbers" to the strings, if the ones created from finalsun aren't enough to represent the length of your tunnel?


--------------------
Co-Leader of Twisted Insurrection
my public units for you
Nod units:____________________________GDI units:
Nod Scorpion__________________________GDI 3A Kodiak
Nod Tachyon Tank______________________GDI Medusa (Triple Cannon Mech)
Nod Goliath___________________________GDI Behemoth (medium size Mech)
Nod Cobra (fast medium mech)__________GDI Battleship Aurora
Nod Siegebot (light MG-Mech)__________GDI Fortress Tower (Heavy Base Defense)
Nod Redeemer (4 legged heavy Cyborg)__GDI Triton (Titan support Mech)
Nod/Scrin WotW Tripod_________________GDI Exciter
______________________________________GDI Ion Charge Collector
Misc and Fun units:
X-Mech Calendar 28 SHP Units
Star Wars Mechs ATAT/ATST
Cyborg Barrack on PPM_________________Mech Factory
Mutant Tiberium Flyer
yt1300 (Millenium Falcon + BIG version)

if you use my units in your mod, please credit me.if you want to use my units on your website please ask me before.
Go to the top of the page
 
: | +Quote Post
Crash
post Dec 17 2007, 10:21 PM
Post #4


Ghost Stalker
Group Icon

Group: Members
Posts: 1,282
Joined: 27-October 06
From: Norway
Member No.: 173
Alliance: Nod
Favorite game: Tiberian Sun



About time someone added it here. Good job Ix! biggrin.gif


--------------------
Perfection can never be achieved; it's merely approachable.
Go to the top of the page
 
: | +Quote Post
IcySon55
post Dec 18 2007, 05:51 PM
Post #5


Technician
Group Icon

Group: Members
Posts: 6
Joined: 31-October 06
From: Overworld
Member No.: 206



QUOTE (Lin Kuei Ominae @ Dec 17 2007, 05:04 PM) *
Is there a max length for tunnels? (e.g. a tunnel from the upper west corner to the bottom east on a 200x200 map)
Can you add additional "direction numbers" to the strings, if the ones created from finalsun aren't enough to represent the length of your tunnel?

Don't know about a max length, but you can add more numbers indeed. Also create turns using this method as Ixith posted here.


--------------------
Go to the top of the page
 
: | +Quote Post
Team Black
post Jan 20 2009, 06:57 PM
Post #6


Core Defender
Group Icon

Group: Global Moderators
Posts: 2,841
Joined: 23-October 06
From: New York, U S of A
Member No.: 123
Alliance: GDI
Favorite game: Tiberian Sun



this tutorial is obsolete, go HERE for a better one


--------------------
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 28th March 2024 - 10:09 AM


XGhozt.com