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 Sat Apr 13, 2024 12:55 am
All times are UTC + 0
Tunnel in sea?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [2 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
lzj3478111
Civilian


Joined: 12 Mar 2024

PostPosted: Tue Mar 12, 2024 12:06 pm    Post subject:  Tunnel in sea? Reply with quote  Mark this post and the followings unread

Hi everyone, i am new here, just wonder how to make all types of naval ships in Yuri pass through tunnel in sea (by rewriting rules.ini if possible)?

And more, how to create vertical direction cliff? (repeating the vertical part for 3 times to make a long cliff)



cliff.PNG
 Description:
 Filesize:  15.07 KB
 Viewed:  147 Time(s)

cliff.PNG



Back to top
View user's profile Send private message
McPwny
Cyborg Artillery


Joined: 29 Jan 2018

PostPosted: Wed Mar 13, 2024 12:51 am    Post subject: Reply with quote  Mark this post and the followings unread

tunnel logic works as a special terrain type which then the tunnel code (which you generate with the tunnel drawer program and put into the map via map ini editing) links to and allows
units to travel through. while it is possible to make a terrain piece that goes in the water (or ini hack an unused overlay to be terrain=tunnel and place it over the enterances), a kink in
the code makes it so that only land units can travel over the tunnel terrain type itself causing ships to not be able to enter the tunnel while hover and amphibious units work fine.

as for the corner piece there, i dont believe there ever were any cliffs at that angle in vanilla meaning that you would have to make a new tileset in the tile editor and code it in. while
making and implementing tiles is actually quite easy, the drawback is the maps you make with it cant be shared with anyone not using the same files.

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 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.1471s ][ Queries: 14 (0.0122s) ][ Debug on ]