View Single Post
Old 03-16-21, 12:37 AM   #15
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 5,746
Downloads: 456
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?
__________________
https://i.goopics.net/xc3d6p.jpg
Fifi is online   Reply With Quote