SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-25-12, 01:47 PM   #1
Echolot
Seasoned Skipper
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 715
Downloads: 575
Uploads: 0
Default

AFAIK the terrain data ist stored to Terrain/Data/Detailmasks/ in RAW files and dds files.

Echolot is offline   Reply With Quote
Old 04-25-12, 01:51 PM   #2
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by Echolot View Post
AFAIK the terrain data ist stored to Terrain/Data/Detailmasks/ in RAW files and dds files.

Yes - that is where the terrain editor saves too
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 04-25-12, 02:15 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Echolot View Post
AFAIK the terrain data ist stored to Terrain/Data/Detailmasks/ in RAW files and dds files.

Time to figure out how these pieces of the puzzle go together then
TheDarkWraith is offline   Reply With Quote
Old 04-25-12, 02:18 PM   #4
Echolot
Seasoned Skipper
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 715
Downloads: 575
Uploads: 0
Default

And how deep the water needs to be to not stop the AI working.
Echolot is offline   Reply With Quote
Old 04-25-12, 03:10 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Echolot View Post
And how deep the water needs to be to not stop the AI working.
I just carved a 45 foot valley into scapa flow...even shows on the maps! The game created new raw files for them. The numbers of the raw and dds files indicate lattitude and longitude with W being West and E being East, N being North and S being South. The dds files seem to be the ones that define vegetation and rocks. The raw files dictate water depths
TheDarkWraith is offline   Reply With Quote
Old 04-25-12, 03:29 PM   #6
Echolot
Seasoned Skipper
 
Join Date: Mar 2010
Location: Berlin, Germany
Posts: 715
Downloads: 575
Uploads: 0
Default

We need to test at which depth the AI is not working anymore.

Maybe the dds files stores the changes with terrain editors texture brushes, the raw files for noise, circular and the other hight map related brush (starting game to check the name atm).

Edit: Level Brush to smooth the terrain
Echolot is offline   Reply With Quote
Old 04-25-12, 03:33 PM   #7
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

How do you edit a raw file
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 04-25-12, 04:15 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
How do you edit a raw file
Photoshop has native support for RAW files (file-->Open).

A RAW file is nothing but a string of bytes in sequential order (there is no layout/structure/meaning)
TheDarkWraith is offline   Reply With Quote
Old 04-25-12, 04:25 PM   #9
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Echolot View Post
We need to test at which depth the AI is not working anymore.

Maybe the dds files stores the changes with terrain editors texture brushes, the raw files for noise, circular and the other hight map related brush (starting game to check the name atm).

Edit: Level Brush to smooth the terrain
I just found out about Sober's dredging a little too late...I dredged out a nice valley so that when the patrolling escort would hear me he should be able to continue on...but no. Once he jumped out of cruise status and into alert status it was all stop and never moving again no matter what I did. I disabled IRAI and did the same test again and had same result. As soon as the enemy detects you they get maybe 5-10 seconds of reaction time then they go all stop and switch everything off. I don't understand why. This seems to only happen in scapa flow
TheDarkWraith is offline   Reply With Quote
Old 04-25-12, 04:38 PM   #10
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

These units "portDefense.mis" are place in the game by Random Gen Groups and use waypoints to travel around the game world (looped back to first point).
I think this issue is not just in scapa, but most ports where there is land and shallow water.

DDs that never stop (deep sea) are from convoys and are place in the game by generators and use the common paths set by nodes to travel around the game world (a to b).

Could it be this method of generation and waypoints that is causing the problem


Edit - no it can't be as this is also the method used in single missions and they work ok
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 04-25-12, 03:35 PM   #11
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

2 things , firstly if you want to see what you are doing when editing the depth . Go to this file and comment out the name .
Shaders\HDR\;QuadVS

Secondly i already did the whole area about 2 months ago , took half a day .
Its been in the download section for over 2 months but you wouldnt have needed to know that till now .

http://www.subsim.com/radioroom/down...o=file&id=3494

Last edited by THE_MASK; 04-25-12 at 03:52 PM.
THE_MASK is offline   Reply With Quote
Old 04-25-12, 03:50 PM   #12
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by sober View Post
...Secondly i already did the whole area about 2 months ago , took half a day .

http://www.subsim.com/radioroom/down...o=file&id=3494
I'm sorry that interfere. I always use Sobers dredging project scapa flow and never had a CTD in Scapa
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 04-25-12, 05:27 PM   #13
col_Kurtz
XO
 
Join Date: Mar 2008
Posts: 424
Downloads: 341
Uploads: 0
Default

Quote:
Originally Posted by volodya61 View Post
I'm sorry that interfere. I always use Sobers dredging project scapa flow and never had a CTD in Scapa
Without this I did three times or even 5! Scapa Flow. First time - ok. Hit the capital ship, sunk and escape. They follow me. One ship missed my head about 10 meters. So it was normal searching (dead ahead about 1-2kts my U) Tried sneak out but I forgot edit my SH5.exe for hydro. Reloaded all in JSGME. Edit SH5.exe and start new Campaign and back to SF. Three times in a row CTD - tried hit the second capital - I tought that was a reason.
Next SF - no activated this mission but I received message from Bdu - Scapa available with iron cross so I sneak to SF from South side go to the port and hit two battleships - mission completed - I escaped. No CTD - nice and steady.
Played with
IRAI_0_0_30_ByTheDarkWraith
IRAI_upgrade_to_v_0_0_31.
If I`m getting CTD - reason is one - RAM to low IMO.
__________________


DRM it`s a horror, horror... col. Kurtz Apocalypse Now
WinXP Pro SP3 2x1GB Geil 800Mhz DDR2, ATI 4850 Asus Top, E2160 1.80 Ghz overlocked to 2.79Ghz MoBo Asus P5b
col_Kurtz is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:27 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.