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 Thu Oct 10, 2024 3:09 pm
All times are UTC + 0
tunnels in ra2
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
McPwny
Chem Warrior


Joined: 29 Jan 2018

PostPosted: Sun Jan 02, 2022 2:09 am    Post subject:  tunnels in ra2 Reply with quote  Mark this post and the followings unread

ive been working on some terrain and its time to do the much dreaded tunnels. i made the art for them, what
with the special terrain animations and z data and such things, lots of fun, but i cant seem to get them to
actually... work. i thought that changing one of the unused tunnel handles from the [general] section of the
theater file, DirtTrackTunnels=, for example, to my tileset would let me do it, but when i do the 'enter' cursor
doesnt show up. i also thought that there was a tunnel drawing logic in fa2 somewhere, but i cant seem to find it.
does anyone happen to know how to get tunnels properly working in ra2?  

the tunnels:

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun Jan 02, 2022 3:44 am    Post subject: Reply with quote  Mark this post and the followings unread

Terrain expansion TX has the palette corrected version of RA2 tunnels. Can check with it.

Basically the X marked cells should have the tunnel land type (5). Game moves units based on the [Tubes] coordinates in map. So when the tubes entries match the X marked coordinates, the tunnel will work fine with enter cursor.

FA2 crates wrong entries, so it is better to use - https://ppmforums.com/topic-37881/ts-ra2-tunnel-drawer/

Tunnels should be enabled in the patched FA2.

Map renderer can also show tunnel lines.



tun2.jpg
 Description:
 Filesize:  175.55 KB
 Viewed:  1307 Time(s)

tun2.jpg



tun1.jpg
 Description:
 Filesize:  144.09 KB
 Viewed:  1307 Time(s)

tun1.jpg



Back to top
View user's profile Send private message
McPwny
Chem Warrior


Joined: 29 Jan 2018

PostPosted: Sun Jan 02, 2022 4:26 am    Post subject: Reply with quote  Mark this post and the followings unread

aha, you are a lifesaver e1. i had attached my tunnel art to a modified version of the tunnels in the
vanilla ra2 mix, which turn out NOT to have the tunnel terrain type on those tiles. now they display the
entry cursor properly, but i still need to hook them up in order to properly test and use them; i would
normally use the tunnel drawer you linked, but it is non-functional since the demise of flash.

im not seeing the fa2 tunnel drawer, though i am using a recent revision of ra2sp. i thought it was on the
left panel

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun Jan 02, 2022 4:38 am    Post subject: Reply with quote  Mark this post and the followings unread

In FAData.ini, on top itself, [Debug] section, allow tunnels key is there.

Still suggest to use tunnel drawer - last post in that thread has the flash download.

Back to top
View user's profile Send private message
McPwny
Chem Warrior


Joined: 29 Jan 2018

PostPosted: Sun Jan 02, 2022 5:06 am    Post subject: Reply with quote  Mark this post and the followings unread

i see. i found and changed it but nothing happened. it seems that fa2 doesnt read the fadata.ini from its own
folder, and i could not find which 'fadata' the thing is reading from, either

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun Jan 02, 2022 10:01 am    Post subject: Reply with quote  Mark this post and the followings unread

May be original FA2 needs something else, will compare with TX later.

In the meantime, enable the sidebar takeover by FA2sp DLL in FAData along with [Debug]] AllowTunnels=yes:

[ExtConfigs]
BrowserRedraw=yes
BrowserRedraw.GuessMode=0
BrowserRedraw.CleanUp=yes

Note: FA2 puts 1 directional entry less on alternate Tubes entries, which results in infantry getting stuck at the end of the tunnel. You have to fix the entries manually or use tool to fix - https://ppmforums.com/topic-42008/finalsun-tunnel-fixer/

Also FA2 can only make straight tunnels (not curved) whereas Tunnel drawer can do that.

And get the latest FA2sp.dll from Secsome from here - https://github.com/secsome/FA2sp/releases

Back to top
View user's profile Send private message
McPwny
Chem Warrior


Joined: 29 Jan 2018

PostPosted: Sun Jan 02, 2022 5:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

i am trying to say that editing those entries in fadata doesnt do anything. i thought it was because fa2
was reading the fadata from another installation, but after doing a search on all hard drives for the
file, deleting all traces of all fa2 installations, then re-installing fa2sp from the download in your other
post, it still doesnt read the .ini found in its own folder.

in fact, even if i delete the file, leaving no fadata.ini files at all on both hard drives, fa2 still boots up
and is unchanged

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sun Jan 02, 2022 6:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

FA2sp DLL in the patched FA2 which I posted is over 2 months old and such bugs were fixed and new features were added. So use the latest FA2sp.DLL from Secsome's github release link and overwrite.

1. Use my patched FA2
2. Replace FA2sp.dll with latest from Secsome's github release.
3. Un-comment those 4 lines in FAData.ini.

Back to top
View user's profile Send private message
McPwny
Chem Warrior


Joined: 29 Jan 2018

PostPosted: Sun Jan 02, 2022 6:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

- delete all traces of fa2 from my computer
- download the patched fa2
- replace the fa2sp.dll with the github one
- edit the FAData.ini

nothing happens  

- delete the FAData.ini

nothing happens

im baffled by it. i dont know how fa2 is even running without its .ini file, but the file
just plain does not do anything.

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Jan 03, 2022 3:16 am    Post subject: Reply with quote  Mark this post and the followings unread

Attaching with the 3 steps mentioned earlier and it works for me. Sidebar shows create and delete tunnel for generating Tubes entries.

Just unzip and run.



FA2YRPsp_20211022_FA2sp_1.3.0.7z
 Description:

Download
 Filename:  FA2YRPsp_20211022_FA2sp_1.3.0.7z
 Filesize:  2.35 MB
 Downloaded:  23 Time(s)


Back to top
View user's profile Send private message
McPwny
Chem Warrior


Joined: 29 Jan 2018

PostPosted: Mon Jan 03, 2022 4:50 am    Post subject: Reply with quote  Mark this post and the followings unread

well thats got it working, though i am at a complete loss to explain what was happening to my
earlier versions. thanks once again e1

the tunnel drawer, however, produces absolute garbage results. i make a tunnel and the lines
intersect the map ever which way and additionally, whatever method fa2 uses to render the lines
makes my graphics card utterly disgruntled. guess i will have find another way to test the
tunnels, and in the mean time i should probably also make a mention of it on the fa2 github

_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Jan 03, 2022 5:03 am    Post subject: Reply with quote  Mark this post and the followings unread

The status bar coordinates are switched in the patched FA2. Shows x - y / h now.

If you are on win10, copy the ddraw.dll and .cfg file in subfolder ForWindows10 to main folder. That might improve rendering.

Tunnel drawer is intuitive, read the Instructions page carefully. It is better than the flawed FA2 tubes entries.

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