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 > Silent Hunter III
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-15-21, 09:01 AM   #1
Professor M
Sailor man
 
Join Date: Jun 2012
Location: AN71
Posts: 47
Downloads: 55
Uploads: 2
Default

Quote:
Originally Posted by John Pancoast View Post
In the "Hydrophone" section, called "Noise Factor". Scale goes from 1.0 (deaf) to 0.0 (hear you on the dark side of the moon ). I.e., smaller number = more noise from the player.
For myself, I've found .10-.15 is about as low as I want to go. One can choose a single setting and always have that in place or use SH3 Commander to pick from a number of settings to pick from.
I use the Commander option to pick from either the "stock" setting of whatever sim.cfg file I'm using or from a number of lower settings.
I.e., NYGM's stock setting is .25. I have it set up so that there is a 60% chance of either .2, .15, or .1 being picked leaving a 40% chance that the stock setting gets picked.

Please walk me through how you did this. I have opened SH3 Commander and can't see a way to do what you are describing.


When you get time, of course.


Cheers.
__________________
Give 'em beans!

Professor M is offline   Reply With Quote
Old 03-15-21, 10:39 AM   #2
John Pancoast
Ocean Warrior
 
Join Date: Apr 2002
Location: Minnysoda
Posts: 3,211
Downloads: 501
Uploads: 4


Default

Quote:
Originally Posted by Professor M View Post
Please walk me through how you did this. I have opened SH3 Commander and can't see a way to do what you are describing.


When you get time, of course.


Cheers.
Are you wanting to just change the sim.cfg file or are you wanting to also have the SH3 Commander randomization too ?
Knowing that will help me answer your question.
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper
John Pancoast is offline   Reply With Quote
Old 03-15-21, 04:22 PM   #3
Professor M
Sailor man
 
Join Date: Jun 2012
Location: AN71
Posts: 47
Downloads: 55
Uploads: 2
Default

Good evening from Blighty.


Thanks for the speedy reply, John.



I use jsgme for most mods and Commander to set time in base and time compression etc. I fancy using Commander to 'tweak' the sensitivity of the sonar occasionally but would rather not alter the sim.cfg file directly. In the same way that jsgme can be used to make changes to the basic.cfg file without having to make alterations to the basic.cfg file directly. Assuming that I have understood what you are suggesting, being able to tweak via Commander will do this, no?


I will not pick this up before tomorrow pm GMT.


Cheers for now.


Prof'
__________________
Give 'em beans!

Professor M is offline   Reply With Quote
Old 03-15-21, 05:00 PM   #4
John Pancoast
Ocean Warrior
 
Join Date: Apr 2002
Location: Minnysoda
Posts: 3,211
Downloads: 501
Uploads: 4


Default

Quote:
Originally Posted by Professor M View Post
Good evening from Blighty.


Thanks for the speedy reply, John.



I use jsgme for most mods and Commander to set time in base and time compression etc. I fancy using Commander to 'tweak' the sensitivity of the sonar occasionally but would rather not alter the sim.cfg file directly. In the same way that jsgme can be used to make changes to the basic.cfg file without having to make alterations to the basic.cfg file directly. Assuming that I have understood what you are suggesting, being able to tweak via Commander will do this, no?


I will not pick this up before tomorrow pm GMT.


Cheers for now.


Prof'

Ok, what you want to work with is the Randomized Events.cfg file found in path SH3 Commander\cfg.
You add whatever you want to happen to this file. I.e., here is my entry for the noise level setting of the GWX sim.cfg file. "Stock" GWX setting for this aspect is 0.5:


;----------------------------------------------------------------------------------RANDOMIZED HYDROPHONE NOISE LEVEL
[0:data\cfg\sim.cfg]
;lower number equals more noise can be heard by the escort.
ChooseFrom=5
RndMidPat=1

0_Hydrophone|Noise factor=0.4

1_Hydrophone|Noise factor=0.3

2_Hydrophone|Noise factor=0.2


***See this section repeated below for explanation of various parts of it.***



;----------------------------------------------------------------------------------RANDOMIZED HYDROPHONE NOISE LEVEL < - this is just the title of the Randomized events section.
[0:data\cfg\sim.cfg] < - this is the path to the file you want to work with.
;lower number equals more noise can be heard by the escort. < - this is just a comment line explaining what is being done.
ChooseFrom=5 < - this tells Commander to choose from one of five entries; the three I added below and then the "stock" GWX value for the other two choices. Since the last two choices are just using the "stock" GWX value there is no need to list them here; they're already listed in the sim.cfg file, i.e. Only need to add values NOT in the file you're working with.
Since the setting here is 5, Commander chooses from 5 possibilities. Since I added three other options, that means there is a 60% chance of Commander using ONE of the lines below (3 divided by 5) and a 40% chance it used the "stock" GWX value (2 divided by 5, 100% - 60%, etc.) If say i.e., this number was 15 vs. 5, then there would be a 20% chance of one of the three values below being chosen; 3 is 1/5 of 15 = 20%. You can use whatever value you want.
RndMidPat=1< - this tells Commander to choose a value each time the game starts. So if you're on patrol, save and exit, the next time you start the game it chooses a value again. It may be the same, may be not. Without this option, upon restarting Commander would always just use the "stock" value of 0.5

0_Hydrophone|Noise factor=0.4 < - this line and the next two lines are the changed values I want to use for the section "Hydrophone" line "Noise factor" in the sim.cfg file.

1_Hydrophone|Noise factor=0.3

2_Hydrophone|Noise factor=0.2


Hope this helps/makes sense. Much of what I wrote is explained at the top of the Randomized events file.
Let me know of any questions you have.
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper

Last edited by John Pancoast; 03-15-21 at 08:23 PM.
John Pancoast is offline   Reply With Quote
Old 03-16-21, 12:37 AM   #5
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,096
Downloads: 466
Uploads: 0


Default

Quote:
Originally Posted by John Pancoast View Post
Ok, what you want to work with is the Randomized Events.cfg file found in path SH3 Commander\cfg.
You add whatever you want to happen to this file. I.e., here is my entry for the noise level setting of the GWX sim.cfg file. "Stock" GWX setting for this aspect is 0.5:


;----------------------------------------------------------------------------------RANDOMIZED HYDROPHONE NOISE LEVEL
[0:data\cfg\sim.cfg]
;lower number equals more noise can be heard by the escort.
ChooseFrom=5
RndMidPat=1

0_Hydrophone|Noise factor=0.4

1_Hydrophone|Noise factor=0.3

2_Hydrophone|Noise factor=0.2


***See this section repeated below for explanation of various parts of it.***



;----------------------------------------------------------------------------------RANDOMIZED HYDROPHONE NOISE LEVEL < - this is just the title of the Randomized events section.
[0:data\cfg\sim.cfg] < - this is the path to the file you want to work with.
;lower number equals more noise can be heard by the escort. < - this is just a comment line explaining what is being done.
ChooseFrom=5 < - this tells Commander to choose from one of five entries; the three I added below and then the "stock" GWX value for the other two choices. Since the last two choices are just using the "stock" GWX value there is no need to list them here; they're already listed in the sim.cfg file, i.e. Only need to add values NOT in the file you're working with.
Since the setting here is 5, Commander chooses from 5 possibilities. Since I added three other options, that means there is a 60% chance of Commander using ONE of the lines below (3 divided by 5) and a 40% chance it used the "stock" GWX value (2 divided by 5, 100% - 60%, etc.) If say i.e., this number was 15 vs. 5, then there would be a 20% chance of one of the three values below being chosen; 3 is 1/5 of 15 = 20%. You can use whatever value you want.
RndMidPat=1< - this tells Commander to choose a value each time the game starts. So if you're on patrol, save and exit, the next time you start the game it chooses a value again. It may be the same, may be not. Without this option, upon restarting Commander would always just use the "stock" value of 0.5

0_Hydrophone|Noise factor=0.4 < - this line and the next two lines are the changed values I want to use for the section "Hydrophone" line "Noise factor" in the sim.cfg file.

1_Hydrophone|Noise factor=0.3

2_Hydrophone|Noise factor=0.2


Hope this helps/makes sense. Much of what I wrote is explained at the top of the Randomized events file.
Let me know of any questions you have.
You also could use Cmdr Date folder feature to avoid the random matter...so at a certain date ingame, escorts could hear you better...by making new SIM.cfg file with desired value, and dropping it in any date you want?
Fifi is offline   Reply With Quote
Old 03-16-21, 07:06 AM   #6
Professor M
Sailor man
 
Join Date: Jun 2012
Location: AN71
Posts: 47
Downloads: 55
Uploads: 2
Default

Quote:
Originally Posted by Fifi View Post
You also could use Cmdr Date folder feature to avoid the random matter...so at a certain date ingame, escorts could hear you better...by making new SIM.cfg file with desired value, and dropping it in any date you want?
Thanks, Fifi, this sounds interesting. if you have used this feature, would you mind explaining the folder/file format. In: Silent Hunter III/SH3 Commander/Random I see 5 folders 0-4 (and a note saying that more can be added). Does one just rename the numbered folder with the date (that the changes take place) or the 'Date' folder within the numbered folder, if that makes sense?
__________________
Give 'em beans!

Professor M is offline   Reply With Quote
Old 03-16-21, 07:21 AM   #7
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,096
Downloads: 466
Uploads: 0


Default

Quote:
Originally Posted by Professor M View Post
Thanks, Fifi, this sounds interesting. if you have used this feature, would you mind explaining the folder/file format. In: Silent Hunter III/SH3 Commander/Random I see 5 folders 0-4 (and a note saying that more can be added). Does one just rename the numbered folder with the date (that the changes take place) or the 'Date' folder within the numbered folder, if that makes sense?
No, if you open in Cmdr the Date folder, you will find inside many folder with dates as names.
You can select one existing, or create new one with new date (respecting dates writing)
Inside, you can put your new SIM.cfg file, again respecting the correct path to it.
(Ie 19430103/data/Cfg/your new sim file)
When you will reach the date ingame, your Cmdr will load the new SIM file.

Hope you understand what i try to explain

On side note, you can put any game file modified in the dates folder!
Not only SIM file, but new skins, new radio tracks etc...so it will appear at certain dates of your choice.
Fifi is offline   Reply With Quote
Old 03-16-21, 09:09 AM   #8
John Pancoast
Ocean Warrior
 
Join Date: Apr 2002
Location: Minnysoda
Posts: 3,211
Downloads: 501
Uploads: 4


Default

Quote:
Originally Posted by Fifi View Post
You also could use Cmdr Date folder feature to avoid the random matter...so at a certain date ingame, escorts could hear you better...by making new SIM.cfg file with desired value, and dropping it in any date you want?
Yes but the game/megamods already do that (outside of Commander) to reflect the newer/better historical equipment.
I'm just trying to make the escorts less dumb as bricks per patrol via the above while still having an unknown ability factor to it via the range of values to pick from.
In general, the Randomization feature is much more powerful/provides more options than the Date option.
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper

Last edited by John Pancoast; 03-16-21 at 09:29 AM.
John Pancoast is offline   Reply With Quote
Old 03-16-21, 06:53 AM   #9
Professor M
Sailor man
 
Join Date: Jun 2012
Location: AN71
Posts: 47
Downloads: 55
Uploads: 2
Default

Quote:
Originally Posted by John Pancoast View Post
;----------------------------------------------------------------------------------RANDOMIZED HYDROPHONE NOISE LEVEL
[0:data\cfg\sim.cfg]
;lower number equals more noise can be heard by the escort.
ChooseFrom=5
RndMidPat=1

0_Hydrophone|Noise factor=0.4

1_Hydrophone|Noise factor=0.3

2_Hydrophone|Noise factor=0.2


Thanks for the reply and the detailed description of how to make the mod and why it works.



If I understand you correctly, I just copy and paste the above into the 'Randomised Events' file and Commander selects a value at random (each time the game is started) during the whole war. If so, does it take into account improvements in the technology over time/with model upgrades to ships' hydrophone?



If not, Fifi's suggestion sounds interesting. though I have not dipped into the date folders as yet, it seems simple enough.
__________________
Give 'em beans!

Professor M is offline   Reply With Quote
Old 03-16-21, 09:23 AM   #10
John Pancoast
Ocean Warrior
 
Join Date: Apr 2002
Location: Minnysoda
Posts: 3,211
Downloads: 501
Uploads: 4


Default

Quote:
Originally Posted by Professor M View Post
Thanks for the reply and the detailed description of how to make the mod and why it works.



If I understand you correctly, I just copy and paste the above into the 'Randomised Events' file and Commander selects a value at random (each time the game is started) during the whole war. If so, does it take into account improvements in the technology over time/with model upgrades to ships' hydrophone?



If not, Fifi's suggestion sounds interesting. though I have not dipped into the date folders as yet, it seems simple enough.
Correct; just copy/paste into the RE file and also correct it is accessed each time the game is started. Be sure to number the sections in Commander correctly otherwise they won't be accessed.
I.e., note the "0" in the section heading: [0:data\cfg\sim.cfg]. These must be in order so the next section would have to be changed to 1, the next would be 2, etc.
This only needs to be done until the [Malx] sections are reached as they are a different function of the file.
Speaking of which, unless your install includes modified files for the sabotage and malfunction parts of this file, the Commander sabotage & malfunction option will not work correctly and could cause problems as the hex locations in the sabotage & malfunction sections included with Commander are for 1.4b only.
Many mods/megamods change the hex values hence the reason some provide updated Commander Randomized events files.

Yes to the equipment question; that is handled separately by the game outside of Commander.
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper
John Pancoast is offline   Reply With Quote
Old 03-16-21, 01:18 PM   #11
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,096
Downloads: 466
Uploads: 0


Default

Quote:
Originally Posted by John Pancoast View Post
Ok, what you want to work with is the Randomized Events.cfg file found in path SH3 Commander\cfg.
You add whatever you want to happen to this file. I.e., here is my entry for the noise level setting of the GWX sim.cfg file. "Stock" GWX setting for this aspect is 0.5:


;----------------------------------------------------------------------------------RANDOMIZED HYDROPHONE NOISE LEVEL
[0:data\cfg\sim.cfg]
;lower number equals more noise can be heard by the escort.
ChooseFrom=5
RndMidPat=1

0_Hydrophone|Noise factor=0.4

1_Hydrophone|Noise factor=0.3

2_Hydrophone|Noise factor=0.2


***See this section repeated below for explanation of various parts of it.***



;----------------------------------------------------------------------------------RANDOMIZED HYDROPHONE NOISE LEVEL < - this is just the title of the Randomized events section.
[0:data\cfg\sim.cfg] < - this is the path to the file you want to work with.
;lower number equals more noise can be heard by the escort. < - this is just a comment line explaining what is being done.
ChooseFrom=5 < - this tells Commander to choose from one of five entries; the three I added below and then the "stock" GWX value for the other two choices. Since the last two choices are just using the "stock" GWX value there is no need to list them here; they're already listed in the sim.cfg file, i.e. Only need to add values NOT in the file you're working with.
Since the setting here is 5, Commander chooses from 5 possibilities. Since I added three other options, that means there is a 60% chance of Commander using ONE of the lines below (3 divided by 5) and a 40% chance it used the "stock" GWX value (2 divided by 5, 100% - 60%, etc.) If say i.e., this number was 15 vs. 5, then there would be a 20% chance of one of the three values below being chosen; 3 is 1/5 of 15 = 20%. You can use whatever value you want.
RndMidPat=1< - this tells Commander to choose a value each time the game starts. So if you're on patrol, save and exit, the next time you start the game it chooses a value again. It may be the same, may be not. Without this option, upon restarting Commander would always just use the "stock" value of 0.5

0_Hydrophone|Noise factor=0.4 < - this line and the next two lines are the changed values I want to use for the section "Hydrophone" line "Noise factor" in the sim.cfg file.

1_Hydrophone|Noise factor=0.3

2_Hydrophone|Noise factor=0.2


Hope this helps/makes sense. Much of what I wrote is explained at the top of the Randomized events file.
Let me know of any questions you have.
That is a very good find John
I’m adding it to both my Cmdr of Ccom & LSH3
Fifi is offline   Reply With Quote
Old 03-16-21, 01:27 PM   #12
John Pancoast
Ocean Warrior
 
Join Date: Apr 2002
Location: Minnysoda
Posts: 3,211
Downloads: 501
Uploads: 4


Default

Quote:
Originally Posted by Fifi View Post
That is a very good find John
I’m adding it to both my Cmdr of Ccom & LSH3
I'm just doing my version of hard RE file work originally done by others, i.e., Hemisent. He gets the credit for all that other work in the RE file which gave me the idea.
It'd be even better if these values could change on the fly while in-patrol but thats not the case and what Commander does allow is still outstanding.
One can randomize/change basically anything with this file.
But thanks FiFi !
__________________
"Realistic" is not always GAME-GOOD." - Wave Skipper
John Pancoast is offline   Reply With Quote
Reply


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 05:44 PM.


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