SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Modern-Era Subsims > Dangerous Waters
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-11-05, 07:41 PM   #1
LuftWolf
Ocean Warrior
 
Join Date: May 2005
Location: Free New York
Posts: 3,167
Downloads: 2
Uploads: 0
Default Easy SubAvoidWeap Doctrine Fix and Maverick Missile Fix BETA

Getting subs to avoid torpedos, especially the non-exploding on CM type from the LWAMI Mod, significantly more effectively is quite easy to accomplish.

If you change the line

Quote:
LegCourse = ( TgtBrg + 150 + rnd 60 mod 360 )
to

Quote:
LegCourse = ( TgtBrg + 100 + rnd 40 mod 360 )
the submarines will avoid torpedos by cruising at a course 100 to 140 degrees off the bearing of the incoming torpedo.

And, if you change

Quote:
IF RND 10 > 2 THEN {
; Decoy or Jammer?
IF TgtSource $= "Active Intercept" OR ( rnd 100 > 65 ) THEN {
DEBUGOUT "CM Decoy"
CountermeasureIdx decoyIdx
} ELSE {
DEBUGOUT "CM Jammer"
CountermeasureIdx jammerIdx
} ENDIF
} ELSE {
DEBUGOUT "Decoy failed random draw."
} ENDIF
to

Quote:
IF RND 10 > 0 THEN {
; Decoy or Jammer?
IF ( TgtSource $= "Active Intercept" ) OR ( rnd 100 > 65 ) THEN {
DEBUGOUT "CM Decoy"
CountermeasureIdx decoyIdx
} ELSE {
DEBUGOUT "CM Decoy II"
CountermeasureIdx decoyIdx ;LW always drop active CM
} ENDIF
} ELSE {
DEBUGOUT "Decoy failed random draw."
} ENDIF

then the submarine will always drop an active decoy before or during the evasion.

Quite simple but it is a major improvement in AI submarine torpedo evasion.

The only drawback to this is that the AI subs won't drop passive CM's anymore, but I don't ever use passive torpedos against subs anyway with the mod, as they aren't terribly effective, and active CM's actually do a fair job of spoofing passive torpedos anyway, so I really don't see any downsides.

This change turns any submarine into an Active CM dropping, datum clearing fool!

And it's so simple, you can make the changes yourself!

Although I'll send a version on to Bill once I fool with it some more so you can download it if you want. Once it is downloaded, you can add it to both your current Doctrine folder and your doctrine.LWAMI mod folder.

Or use it as a stand alone mod, if you're of that persuasion.
__________________
LW
LuftWolf is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.