![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
01-29-11, 03:32 PM
|
#1 |
|
Ace of the deep .
|
The only idea i have LOL is the user can assign a set of numbers to the difficulty perameters and the game would pick a number between the two randomly .
eg: ################################################## ############### ###################### Difficulty parameters #################### # Note: difficulty is in range 0.0 - 1.0 with 0.0 being no difficulty (sensor doesn't exist) # for non-merchants VISUAL_DIFFICULTY = 1.0; HYDROPHONE_DIFFICULTY = (Between 0.92-0.96)game will pick a random number between these 2 RADAR_DIFFICULTY = 1.0; SONAR_DIFFICULTY = (between 0.92-0.95)game will pick a random number between these 2 Between that and the already fatigue roster , the escorts should be totally unpredictable . |
|
|
01-29-11, 03:41 PM
|
#2 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
01-29-11, 09:42 PM
|
#3 |
|
Black Magic
![]() |
@ Sober - found a way to do what you were asking
Another thing interesting is I found a problem with the fatigue model for the warships (non-merchants). Their fatigue was working but it wasn't 'fatigueing' fast enough....merchants were fine. This will be fixed in next version. |
|
|
01-29-11, 10:15 PM
|
#4 | |
|
Ace of the deep .
|
Quote:
Last edited by THE_MASK; 01-29-11 at 10:29 PM. |
|
|
|
01-29-11, 10:35 PM
|
#5 | |
|
Black Magic
![]() |
Quote:
VISUAL_DIFFICULTY_MIN = 85; VISUAL_DIFFICULTY_MAX = 100; HYDROPHONE_DIFFICULTY_MIN = 85; HYDROPHONE_DIFFICULTY_MAX = 100; RADAR_DIFFICULTY_MIN = 85; RADAR_DIFFICULTY_MAX = 100; SONAR_DIFFICULTY_MIN = 85; SONAR_DIFFICULTY_MAX = 100; # for merchants VISUAL_DIFFICULTY_MERCHANT_MIN = 85; VISUAL_DIFFICULTY_MERCHANT_MAX = 100; HYDROPHONE_DIFFICULTY_MERCHANT_MIN = 85; HYDROPHONE_DIFFICULTY_MERCHANT_MAX = 100; RADAR_DIFFICULTY_MERCHANT_MIN = 85; RADAR_DIFFICULTY_MERCHANT_MAX = 100; SONAR_DIFFICULTY_MERCHANT_MIN = 85; SONAR_DIFFICULTY_MERCHANT_MAX = 100; Notice that there's a min and max for each one. Every new contact picks a random number between min and max for each. How's that for random AI (those numbers get divided by 100 in the code)
|
|
|
|
01-29-11, 10:44 PM
|
#6 |
|
Ace of the deep .
|
SH5 just got a whole lot better , thank you sir .
|
|
|
01-29-11, 10:47 PM
|
#7 |
|
Black Magic
![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
