Quote:
Originally Posted by LoBlo
Quote:
Originally Posted by Hawk66
- ToDo: Snapshot on incoming torpedo. Might work with a special Attack doctrine command but if it works there would be the need of several doctrine files
|
If you get this to work, please share. I've been fiddling around with it off and on and its easy to do IF the AI sub has already detected the firing sub. However, when it gets tricky is when the AI detects the torpedo fired at it, but not the sub that fired it. The AI won't fire at a sub that it still doesn't know exist (in it's logic).
|
Yep, it seems to work.

For example, change the SubAvoidWeap.txt doctrine
...
IF Not Snapshot THEN {
DEBUGOUT "Firing Back!"
;FireBest
Attack "53 cm Torpedo"
Snapshot = true
} ENDIF
....
That should work for Platforms, which have the
53 cm Torpedo on board.
Of course that means for a general solution you would need different doctrine files for the subs (since they have different loadouts).
Quote:
Originally Posted by LoBlo
At least one upgrade in complexity could be to start making individualized CM each with their own level of sophistication (read probability) for each country. I heard that the latest a British CM is pretty snazzy (frequency matching and such) and the Germans too.
|
Don't think this is an engine, but only the current doctrine implementation limitation. I've added some torp modifier in that way, that in 50% of the cases the torpedo simply ignores the decoy (so if the decoy wouldn't be there at all).
Of course the DB could be enhanced with several kind of decoys and there could be several doctrine files for torpedoes to react differently.
But some tough work.