View Single Post
Old 03-18-06, 07:53 AM   #32
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by HEMISENT
So in the "ChooseFrom=" line we can enter our own value? This will enable the player to choose his/her own ratios? Commander knows there are 5 loaded files and by choosing say =10 now Commander will determine that it needs to include 5 default files to achieve the desired ratio set by player?
ChooseFrom can be any value you like. SH3Cmdr will read it and will create a random number between 0 and the ChooseFrom value - 1 inclusive. So, if ChooseFrom=5, then the random number generated will be 0, 1, 2, 3 or 4.

Let's say the random number chosen is 4, SH3Cmdr will then look for entries prefixed with 4_ and will insert the corresponding values into SH3. If there are no 4_ entries, then SH3Cmdr does nothing.

So, with your Thermal Layer mod, to maintain your ratio you would set the ChooseFrom value to 10, but only include 5 different sets of values (0_ through 4_). Just think of the ChooseFrom value as the number of random folders you'd want.

Quote:
Originally Posted by HEMISENT
Please forgive me but it's early here and I'm a bit dense this morning after a late night. What do you mean by "map this approach". Right now after reading this latest idea of yours I'm simply amazed and willing to do whatever I can to assist.
Basically take what I've proposed above and apply it to your current mod(s) to see whether it would work as currently specced.
JScones is offline   Reply With Quote