View Single Post
Old 11-27-09, 05:08 AM   #281
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