SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   DW Mod Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=196)
-   -   SubAtkSub Doctrine (https://www.subsim.com/radioroom/showthread.php?t=185141)

Hawk66 07-02-11 04:57 PM

SubAtkSub Doctrine
 
I've played a little with the SubAtkSub Doctrine (RA Mod, but I think LWAMI is not that much different in the area) since I am not so satisfied with the AI handling attacking subs.

Especially if the AI attacks with long-range torpedoes, the attacked sub can often evade due to the fact that unfortunately the AI cannot guide the wired torpedoes.

I've tried to overcome a little this by letting the AI shoot more than two salvos after a given randomized time so that the course of the new torpedoes reflect the bearing change.

Am I wrong or is it hard coded in the engine that only two torpedoes can be fired per doctrine? If I recursively call the same doctrine then it seems the next two torpedoes can be fired...a workaround but a little weird one.

Related to this, I think also a problem with the current approach is the switching to SubAvoidSub after firing 1-2 torpedoes in the current doctrine. In SubAvoidSub there is a logic to switch back to attack but I think it's not aggressive enough (also the tgtrange is hardcoded - not depending on parameters ) and give the attacked sub too much chance to escape.

I'm thinking if it is not better to write a separate doctrine 'ClearDatum' or sth like that, which makes the attacker sub clear the datum after a first attack but then more aggressively attacks again.

Any thoughts/ideas or has already somebody tried similar things out and wants to share his findings?


All times are GMT -5. The time now is 03:24 PM.

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