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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 11-30-11, 12:45 PM   #1
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,733
Downloads: 67
Uploads: 2


Default

Don't even bother with a hex editor when making changes to any sim/dat/zon/dsd/ files. S3D is probably better then an SDK in many respects.


If you want to edit a ships gun directly, look at its EQP file and see what 3d object node its calling on.

Then look for that node in one of the dat files. Hell S3D has a search function and can scan all files in an entire directory. Open the dat file, find the node, copy the parent ID, then open the sim file, search for same ID, It'll be a child ID somewhere. So it should plop you right to the appropriate entry in the sim file. Edi it to your heats content, save, etc etc.
Ducimus is offline   Reply With Quote
Old 11-30-11, 04:48 PM   #2
FightingSteel1
Bosun
 
Join Date: Mar 2010
Posts: 64
Downloads: 60
Uploads: 0
Default

Quote:
Originally Posted by Ducimus View Post
Don't even bother with a hex editor when making changes to any sim/dat/zon/dsd/ files. S3D is probably better then an SDK in many respects.


If you want to edit a ships gun directly, look at its EQP file and see what 3d object node its calling on.

Then look for that node in one of the dat files. Hell S3D has a search function and can scan all files in an entire directory. Open the dat file, find the node, copy the parent ID, then open the sim file, search for same ID, It'll be a child ID somewhere. So it should plop you right to the appropriate entry in the sim file. Edi it to your heats content, save, etc etc.
I figured out how to edit the different gun ranges using S3D, and they are all set well past 9100 yards.

I guess the enemy ships aren't detecting me until somewhere around there, so what can I do to increase their detection range?
FightingSteel1 is offline   Reply With Quote
Old 11-30-11, 05:01 PM   #3
Klaus
Officer
 
Join Date: Mar 2010
Location: Botosani, Romania
Posts: 242
Downloads: 614
Uploads: 0
Default

Quote:
Originally Posted by FightingSteel1 View Post
I figured out how to edit the different gun ranges using S3D, and they are all set well past 9100 yards.

I guess the enemy ships aren't detecting me until somewhere around there, so what can I do to increase their detection range?
program_files/ubisoft/sh4/data/library/AI_sensors.dat
copy file, open it with s3d, find ai_visual (node 6, i think) change range from 11000 m with your preffered value
save it and if you want it jsgme ready for future use save him in a corespondent folder tree egg Long Range Visual/Data/library/AI_sensors.dat copy Long Range Visual folder into MODS and you can activate him with JSGME
Klaus is offline   Reply With Quote
Old 11-30-11, 06:17 PM   #4
FightingSteel1
Bosun
 
Join Date: Mar 2010
Posts: 64
Downloads: 60
Uploads: 0
Default

Quote:
Originally Posted by Klaus View Post
program_files/ubisoft/sh4/data/library/AI_sensors.dat
copy file, open it with s3d, find ai_visual (node 6, i think) change range from 11000 m with your preffered value
save it and if you want it jsgme ready for future use save him in a corespondent folder tree egg Long Range Visual/Data/library/AI_sensors.dat copy Long Range Visual folder into MODS and you can activate him with JSGME
I tried changing this value, but haven't gotten good results. I tried 15000m, and it actually reduced the range the enemy ship fired at me. In fact, anything above the default value (mine was at 9000 something) had the opposite effect.

I would like to get the enemy ships to detect me as well as my own crew detects ships. They see the enemy ship at about 7 miles (11,000 something meters) at the moment.
FightingSteel1 is offline   Reply With Quote
Old 11-30-11, 06:55 PM   #5
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,733
Downloads: 67
Uploads: 2


Default

http://www.subsim.com/radioroom/showthread.php?t=111395
Ducimus is offline   Reply With Quote
Old 12-02-11, 12:05 AM   #6
FightingSteel1
Bosun
 
Join Date: Mar 2010
Posts: 64
Downloads: 60
Uploads: 0
Default

Quote:
Originally Posted by Ducimus View Post
That is some informative information. Even so, I'm running into an issue. I adjusted some of the values in the sim.cfg, and got the Bismarck to detect and fire at me at about the same range as my own crew would fire back (about 14000 yards).

I can't say the same for the Japanese vessels. From the Yamato to the Fuso, they don't detect and fire until about 9500 yards. What is different between the Bismarck vs. the Japanese ships to have such a disparity in range? Does it have something to do with the individual ships files?
FightingSteel1 is offline   Reply With Quote
Old 12-03-11, 10:37 PM   #7
FightingSteel1
Bosun
 
Join Date: Mar 2010
Posts: 64
Downloads: 60
Uploads: 0
Default

I'm testing a simple mission, Fuso vs. North Carolina, and Fuso maneuvers and engages my ship at 5 NM. I haven't gotten it to increase from there. I can't really tell if the ship isn't detecting me, or is waiting to get into firing range. 14" guns are set well above that range in the sim file, and here is that area of the sim.cfg:

[AI Cannons]
Max error angle=5 ;[deg]
Max fire range=20000 ;[m]
Max fire wait=8 ;[s]

[AI detection]
Lost contact time=30 ;[min]

[Visual]
Detection time=0.5 ;[s] min detection time.
Sensitivity=0.01 ;(0..1) min detection threshold double detection time.
Fog factor=0.5 ;[>=0]
Light factor=0.5 ;[>=0]
Waves factor=0.5 ;[>=0]
Enemy surface factor=1 ;[m2]
Enemy speed factor=1 ;[kt]
Thermal Layer Signal Attenuation=0.5

Anything that I have set wrong that would cause this? Is there something buried in the actual files for the individual ships that determine any of this?
FightingSteel1 is offline   Reply With Quote
Old 12-05-11, 12:26 PM   #8
Ducimus
Rear Admiral
 
Ducimus's Avatar
 
Join Date: May 2005
Posts: 12,733
Downloads: 67
Uploads: 2


Default

Quote:
Originally Posted by FightingSteel1 View Post
That is some informative information. Even so, I'm running into an issue. I adjusted some of the values in the sim.cfg, and got the Bismarck to detect and fire at me at about the same range as my own crew would fire back (about 14000 yards).

I can't say the same for the Japanese vessels. From the Yamato to the Fuso, they don't detect and fire until about 9500 yards. What is different between the Bismarck vs. the Japanese ships to have such a disparity in range? Does it have something to do with the individual ships files?

Check this ships SNS file. Look at what visual sensor they are using. Sounds like they might be different. In TMO i added extra visual sensors. Some are freaking huge in radius, other's small. I applied these various visual sensors to what seemed logical. (IE big radius on battle ships, small on merchants).

RFB does the same thing i believe, as does RSRD. So if you have any mods installed (or previously installed), you might want to check your files to make sure.
Ducimus 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 01:37 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.