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

Reply
 
Thread Tools Display Modes
Old 11-21-09, 07:20 AM   #1
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Hi JScones,

I have a question concerning the realistic career option. In SH3 options.cfg is written:

[REALISTICLENGTH] ;TURN FEATURE ON/OFF FROM WITHIN SH3 COMMANDER
;"Simulate a realistic career length" option
;RANGE=<random number range>
;<PatCmpltdxDaysAtSea>=<RndVals> (between 0 and RANGE - 1)
;where N = nil and RndVals are separated by commas
;List must be in ascending order and start with 0
RANGE=6
0=N
301=0
1001=0,1
2201=0,1,2
4001=0,1,2,3
6501=0,1,2,3,4

Are the numbers on the left lower or upper bounds? In other words, for instance if PatCmpltdxDaysAtSea = 350 is the chance for getting retired 1/3 or 1/6?

Thanks for any clarification and for all your great work on SHCommander!

Best, LGN1
LGN1 is offline   Reply With Quote
Old 11-27-09, 04:49 AM   #2
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Hi,

I have added some torpedo failure features to SH3 Commander's Randomised events.cfg file

http://www.subsim.com/radioroom/show...77#post1209777

In this context it might be useful to use also the hex change feature. However, I don't know how to figure out the correct hex value/address of the depth value in the torpedo.sim file. Could anyone please explain to me how one can get this number? (I have a hex editor.)

Any hint would be highly appreciated.

Best, LGN1
LGN1 is offline   Reply With Quote
Old 11-27-09, 05:29 AM   #3
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by LGN1 View Post
Hi,

I have added some torpedo failure features to SH3 Commander's Randomised events.cfg file

http://www.subsim.com/radioroom/show...77#post1209777

In this context it might be useful to use also the hex change feature. However, I don't know how to figure out the correct hex value/address of the depth value in the torpedo.sim file. Could anyone please explain to me how one can get this number? (I have a hex editor.)

Any hint would be highly appreciated.

Best, LGN1
I suspect S3D will tell you. TimeTraveller's Mini Tweaker will tell you. Your hex editor will tell you too, but you'd need to understand the file structure first.

I would be very surprised if the offset in torpedo.sim varies between mods. The easiest way to find out though is to compare the file sizes.
JScones is offline   Reply With Quote
Old 11-27-09, 06:28 AM   #4
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
Default

Hi JScones,

thanks for your replies and, once again, for SH3 Commander. It is really a beautiful and very powerful tool

I will try to figure out the values. I figured them out once for a modded file when I had the values in an unmodded file, however, never without any reference. Well, I will try.

Edit: I think I figured it out. See link above.

Best, LGN1

Last edited by LGN1; 11-27-09 at 07:46 AM.
LGN1 is offline   Reply With Quote
Old 11-27-09, 11:16 PM   #5
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

JScones is offline   Reply With Quote
Old 11-27-09, 05:08 AM   #6
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by LGN1 View Post
Hi JScones,

I have a question concerning the realistic career option. In SH3 options.cfg is written:

[REALISTICLENGTH] ;TURN FEATURE ON/OFF FROM WITHIN SH3 COMMANDER
;"Simulate a realistic career length" option
;RANGE=<random number range>
;<PatCmpltdxDaysAtSea>=<RndVals> (between 0 and RANGE - 1)
;where N = nil and RndVals are separated by commas
;List must be in ascending order and start with 0
RANGE=6
0=N
301=0
1001=0,1
2201=0,1,2
4001=0,1,2,3
6501=0,1,2,3,4

Are the numbers on the left lower or upper bounds? In other words, for instance if PatCmpltdxDaysAtSea = 350 is the chance for getting retired 1/3 or 1/6?

Thanks for any clarification and for all your great work on SHCommander!

Best, LGN1
They're lower bounds - as evidenced by the first entry being "0="

Thus:
if PatCmpltdxDaysAtSea = 300 then retirement likelihood = 0
if PatCmpltdxDaysAtSea = 350 then retirement likelihood = 1 in 6
if PatCmpltdxDaysAtSea = 900 then retirement likelihood = 1 in 6
if PatCmpltdxDaysAtSea = 2350 then retirement likelihood = 3 in 6 (1 in 2)
if PatCmpltdxDaysAtSea = 37350 then retirement likelihood = 5 in 6
JScones is offline   Reply With Quote
Old 12-07-09, 08:54 PM   #7
JimC
Watch
 
Join Date: Nov 2009
Location: Napier, NZ
Posts: 20
Downloads: 125
Uploads: 0
Hi JScones, thanks for all your great work.
Just a quick question, I am part way through my first career using GWX 3, and would like to install SH3Com when I next dock. Will I lose my crew names, medals, renown and results in my current career or do these things continue as normal.Cheers.
JimC.
JimC is offline   Reply With Quote
Old 12-08-09, 01:22 AM   #8
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

You won't lose anything.
JScones is offline   Reply With Quote
Old 12-08-09, 02:01 AM   #9
JimC
Watch
 
Join Date: Nov 2009
Location: Napier, NZ
Posts: 20
Downloads: 125
Uploads: 0
Thats great news, many thanks again your tools are awesome.
Cant wait to dock and get this up and running.Cheers.
JimC.
JimC is offline   Reply With Quote
Old 12-26-09, 01:46 PM   #10
Captain Birdseye
Watch Officer
 
Join Date: Feb 2009
Location: Sat behind my desk at BdU tapping away on my Enigma machine.
Posts: 339
Downloads: 44
Uploads: 0
Default

Guys,

Can anyone tell me why I get the "Invalid argument date to encode" error message when I try to create a personnel file?

Or have BDU burnt the evidence


Thanks.
Captain Birdseye is offline   Reply With Quote
Old 12-26-09, 08:57 PM   #11
Sailor Steve
Eternal Patrol
 
Sailor Steve's Avatar
 
Join Date: Nov 2002
Location: High in the mountains of Utah
Posts: 50,369
Downloads: 745
Uploads: 249


Default

Are you trying to do it before your first patrol? You have to finish a patrol before the career parts work.
__________________
“Never do anything you can't take back.”
—Rocky Russo
Sailor Steve is offline   Reply With Quote
Reply

Tags
sh3 commander

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 06:00 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.