![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
10-27-10, 03:08 PM
|
#1 |
|
Ace of the deep .
|
Would it be possible to have a random generated Difficulty parameters everytime you restart the game .
Example : # for non-merchants VISUAL_DIFFICULTY = 1.0; Random between 0.8 and 1.0 HYDROPHONE_DIFFICULTY = 1.0; Random between 0.8 and 1.0 RADAR_DIFFICULTY = 1.0; Random between 0.8 and 1.0 SONAR_DIFFICULTY = 1.0; Random between 0.8 and 1.0 and also randomly selects which parameters change and which ones stay the same from game restart . example: # for non-merchants VISUAL_DIFFICULTY = 1.0; HYDROPHONE_DIFFICULTY = 0.9; RADAR_DIFFICULTY = 1.0; SONAR_DIFFICULTY = 0.94; # for non-merchants VISUAL_DIFFICULTY = 9.2; HYDROPHONE_DIFFICULTY = 8.1; RADAR_DIFFICULTY = 9.9; SONAR_DIFFICULTY = 9.7; # for non-merchants VISUAL_DIFFICULTY = 1.0; HYDROPHONE_DIFFICULTY = 1.0; RADAR_DIFFICULTY = 8.8; SONAR_DIFFICULTY = 1.0; |
|
|
10-27-10, 03:16 PM
|
#2 | |
|
Black Magic
![]() |
Quote:
I would have to implement such a thing through an application (sort of like an SHCommander thing from SH3) as I cannot put conditional statements in the crewstate AI. The app would be easy enough to write and make...I'll give it a go and send it to ya for testing when it's done EDIT: or I define a new value in the init.aix that let's you define the amount of change (%) that can be applied to the base amount. There would be a min and max % change value.....think I'll go this route as it would allow completely different random values each time you started a new mission with the same game (i.e. not quitting the game but after ending patrol you select another mission) EDIT2: this % change is the way to go as EACH ship is given a 'copy' of this file and thus each ship would have completely different random values instead of just one base value. I LIKE IT!! Have to test it as I see one possible problem with this approach... |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
