![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
01-29-11, 03:21 PM
|
#1 |
|
Black Magic
![]() |
thinking about making a change to the AI behavior (ships). What I'm thinking is that if the ship has no DCs or hedgehogs (or it runs out of them) and it's not a Director then it will resume following waypoints. This would cure the problem of the endless destroyer/escort continually zipping over your spot when they have nothing to drop. Thoughts
![]() Any other ideas/suggestions? |
|
|
01-29-11, 03:30 PM
|
#2 | |
|
Ocean Warrior
![]() Join Date: Dec 2010
Location: Montreal, Canada
Posts: 2,776
Downloads: 833
Uploads: 11
|
Quote:
- even they have no dept charges to throu) - if you change that you will make my day!
|
|
|
|
01-29-11, 03:32 PM
|
#3 |
|
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
|
#4 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
01-29-11, 09:42 PM
|
#5 |
|
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
|
#6 | |
|
Ace of the deep .
|
Quote:
Last edited by THE_MASK; 01-29-11 at 10:29 PM. |
|
|
|
01-29-11, 10:35 PM
|
#7 | |
|
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
|
#8 |
|
Ace of the deep .
|
SH5 just got a whole lot better , thank you sir .
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
