Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Nov 24, 2026 2:21 pm
All times are UTC + 0
stright tunnel...
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [16 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
GameMaster0000
Missile Trooper


Joined: 23 Mar 2006
Location: Thailand

PostPosted: Fri Jul 23, 2010 7:33 am    Post subject:  stright tunnel...
Subject description: I gave up...
Reply with quote  Mark this post and the followings unread

I try to make stright tunnel...but result is always fail...

Can anyone help me?

My tunnel code

Code:
[Tubes]
0=97,187,4,115,205,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,-1
1=98,187,4,115,204,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,-1
2=99,187,4,115,203,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,-1
3=115,205,6,97,187,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,-1
4=115,204,6,98,187,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,-1
5=115,203,6,99,187,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,-1



map.JPG
 Description:
I try to make tunnel way like this.
 Filesize:  34.81 KB
 Viewed:  3746 Time(s)

map.JPG



test.map
 Description:
The map that have problem(please ignore missing units)

Download
 Filename:  test.map
 Filesize:  210.39 KB
 Downloaded:  92 Time(s)


_________________

Tiberian Sun : True Power - Reality Power Of 5 Factions...

Back to top
View user's profile Send private message Skype Account
Q45
Tiberian Fiend


Joined: 28 Feb 2009
Location: Tampere, Finland

PostPosted: Fri Jul 23, 2010 10:26 am    Post subject: Reply with quote  Mark this post and the followings unread

I suppose the coordinates are right so that's not the problem? Try using this instead:

Code:
[Tubes]
0=97,187,4,115,205,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,-1
1=98,187,4,115,204,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,-1
2=99,187,4,115,203,4,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,-1
3=115,205,6,97,187,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,-1
4=115,204,6,98,187,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,-1
5=115,203,6,99,187,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,0,-1


This way the tunnels curve after/before the nothern tunnel entrance, not on it. Check out the blue lines in the attached picture. I can't guarantee that this will fix it, I don't have TS installed so I can't test it.. Confused



tunnel.gif
 Description:
 Filesize:  61.29 KB
 Viewed:  3723 Time(s)

tunnel.gif



_________________

Twisted Insurrection's Lead Campaign Developer

Back to top
View user's profile Send private message Send e-mail Visit poster's website
GameMaster0000
Missile Trooper


Joined: 23 Mar 2006
Location: Thailand

PostPosted: Fri Jul 23, 2010 12:50 pm    Post subject: Reply with quote  Mark this post and the followings unread

I tried your code unit can go through from south to north but they not go from north south.

_________________

Tiberian Sun : True Power - Reality Power Of 5 Factions...

Back to top
View user's profile Send private message Skype Account
Q45
Tiberian Fiend


Joined: 28 Feb 2009
Location: Tampere, Finland

PostPosted: Fri Jul 23, 2010 1:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hmm, that's weird.. The corresponding lines are the same, except for the directions of course, so it should work.. Confused Are you sure you haven't painted any LAT or other terrain on the nothern tunnel entrance so that it's now missing a piece? Can't think of anything else that could cause the problem..

_________________

Twisted Insurrection's Lead Campaign Developer

Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cantdrawbutmod
Rocket Cyborg


Joined: 19 Oct 2009

PostPosted: Fri Jul 23, 2010 2:24 pm    Post subject: Reply with quote  Mark this post and the followings unread

I tried looking for [Tubes] in FS missions map and saw this:
Code:
[Tubes]
0=108,47,6,94,47,6,6,6,6,6,6,6,6,6,6,6,6,6,6,-1,-1,-1...
1=108,48,6,94,48,6,6,6,6,6,6,6,6,6,6,6,6,6,6,-1,-1,-1...
2=108,49,6,94,49,6,6,6,6,6,6,6,6,6,6,6,6,6,6,-1,-1,-1...
3=94,47,2,108,47,2,2,2,2,2,2,2,2,2,2,2,2,2,2,-1,-1,-1...
4=94,48,2,108,48,2,2,2,2,2,2,2,2,2,2,2,2,2,2,-1,-1,-1...
5=94,49,2,108,49,2,2,2,2,2,2,2,2,2,2,2,2,2,2,-1,-1,-1...


I don't know why they go berserk on the -1 like that Surprised ,but you can always try it Confused

edit: I didn't believe THAT could really fix it,but if it don't,then it means [Tubes] really has nothing to do with the whole thing,and the solution is elsewhere.

Last edited by Cantdrawbutmod on Fri Jul 23, 2010 3:47 pm; edited 1 time in total

Back to top
View user's profile Send private message
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Fri Jul 23, 2010 2:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

@Cantdrawbutmod, What? you cant be serious, right?

@GameMaster0000, the coordinates Q45 provided should work, I suggest re-flattening the North tunnel side and replace the cliffs and tunnel exit/entrance. Then try it again.

Also I dont know if you have these but they should help you if ya dont, so I'll post them for ya.



tunnel_684.jpg
 Description:
 Filesize:  25.81 KB
 Viewed:  3654 Time(s)

tunnel_684.jpg



tunnel2_764.jpg
 Description:
 Filesize:  142.72 KB
 Viewed:  3654 Time(s)

tunnel2_764.jpg



tunnel1_119.jpg
 Description:
 Filesize:  140.79 KB
 Viewed:  3654 Time(s)

tunnel1_119.jpg



Back to top
View user's profile Send private message Visit poster's website Skype Account
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Fri Jul 23, 2010 3:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

Awesome, a tutorial should be made of that post.

Back to top
View user's profile Send private message
GameMaster0000
Missile Trooper


Joined: 23 Mar 2006
Location: Thailand

PostPosted: Fri Jul 23, 2010 3:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

I saw that tutorial when I search forum with "tunnel" and I did exactly same but tunnel is unpassable.

_________________

Tiberian Sun : True Power - Reality Power Of 5 Factions...

Back to top
View user's profile Send private message Skype Account
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Fri Jul 23, 2010 4:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Are you using custom tunnels or the ones game provides? If I had FinalSun I could tell you what the problem is, but I dont have it. Let me see if I can find a link to it and I'll get back to you.

Back to top
View user's profile Send private message Visit poster's website Skype Account
GameMaster0000
Missile Trooper


Joined: 23 Mar 2006
Location: Thailand

PostPosted: Fri Jul 23, 2010 4:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

No, I use 0067 (DirtTunnelFloor)

@Cantdrawbutmod You need only -1 for each tube. Aro can confirm that.

I upload new version map name "test" due that old version may have some data of my terrain or overlay.

_________________

Tiberian Sun : True Power - Reality Power Of 5 Factions...

Back to top
View user's profile Send private message Skype Account
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Fri Jul 23, 2010 4:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

.



tunnels.png
 Description:
 Filesize:  706.48 KB
 Viewed:  3621 Time(s)

tunnels.png



Back to top
View user's profile Send private message Visit poster's website Skype Account
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Fri Jul 23, 2010 5:38 pm    Post subject: Reply with quote  Mark this post and the followings unread

I've messed with the code of tubes/tunnels a bit a while ago and found that units refusing to enter a tunnel isn't always caused by the code of the tubes; it sometimes depends on the location of the tube and whether or not there's another tube right beside it. So it's more likely for a unit to be able to enter a tunnel when there's 3 tunnels (meaning 6 tubes; 3 in one direction and 3 in the opposite direction) right beside one another than when there's only 1 tunnel (/2 tubes). There's already 3 tunnels right beside each other in your case however, so that shouldn't be the issue (although the location still might be).

The only odd thing I notice with your tunnel is that (judging from the image) you placed the tunnel entrances/exits at the back of one of the tunnel tiles, while placing it at the front of the other. Even though this shouldn't really cause a problem concerning its functionality, the location of a tunnel entrance/exit can sometimes randomly prevent units from being able to enter it.
So I suggest you either try moving it to the back of both tunnels and if that doesn't work, try the middle:

entrance/exit at the back
Code:

[Tubes]
0=97,189,4,115,205,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,-1
1=98,189,4,115,204,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,-1
2=99,189,4,115,203,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,-1
3=115,205,6,97,189,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,-1
4=115,204,6,98,189,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,-1
5=115,203,6,99,189,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,-1

entrance/exit in the middle
Code:

[Tubes]
0=97,188,4,116,205,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,-1
1=98,188,4,116,204,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,-1
2=99,188,4,116,203,4,4,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,-1
3=116,205,6,97,188,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,-1
4=116,204,6,98,188,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,-1
5=116,203,6,99,188,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,0,0,-1

Try both of these and see if either of them makes it work (I took the path the units travel into account as well while typing the code).

_________________

Last edited by Bittah Commander on Fri Jul 23, 2010 5:44 pm; edited 1 time in total

Back to top
View user's profile Send private message ModDB Profile ID YouTube User URL Facebook Profile URL
Revolutionary
Commander


Joined: 19 May 2008
Location: Scotland, starting a Revolution Cameo: metricon. Posts:???

PostPosted: Fri Jul 23, 2010 5:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Cranium wrote:
.


No there not needed, you dont even need any entrances to make a tunnel.

_________________
Creator of TS:BoB and some other things that might be good when finnished.

Back to top
View user's profile Send private message Send e-mail Skype Account
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Fri Jul 23, 2010 5:51 pm    Post subject: Reply with quote  Mark this post and the followings unread

It is indeed true that the actual tunnel tiles aren't necessary for a tunnel to work (units can enter and exit them perfectly fine as long as the tubes exist and are properly coded), but without them the mouse cursor won't change into the "enter" cursor when you hover it over the cells that are supposed to be tunnel entrances. So it's preferable if you do use tunnel tiles.

Edit:
@Cantdrawbutmod; can you (or a moderator) please edit your post? It's stretching the page quite a bit...

Edit2: Thanks, Morpher Smile

_________________

Back to top
View user's profile Send private message ModDB Profile ID YouTube User URL Facebook Profile URL
GameMaster0000
Missile Trooper


Joined: 23 Mar 2006
Location: Thailand

PostPosted: Fri Jul 23, 2010 6:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

I change location of north tunnel and also massed around code. A result always is unit can walk from south to north but can't from north to south.

I confused that why unit refuse to enter the north tunnel.

@Cranium: Sorry for that map, I delete north tunnel. I uploaded new version that has a north tunnel.

_________________

Tiberian Sun : True Power - Reality Power Of 5 Factions...

Back to top
View user's profile Send private message Skype Account
Cranium
Defense Minister


Joined: 05 Dec 2009
Location: USA

PostPosted: Fri Jul 23, 2010 10:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

I'll redownload the map and then see what your problem may be.

Revolutionary wrote:
No there not needed, you dont even need any entrances to make a tunnel.


yea I knew that, I was referring to it as to be complete you need the tunnel tiles for the cursors.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [16 Posts] Mark the topic unread ::  View previous topic :: View next topic
:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2736s ][ Queries: 19 (0.0215s) ][ Debug on ]