[Current Forum ] [Archive 2003 - 2005]
[Register]  [Profile]  [Preferences]  [Search]
[Private messages]  [Memberslist]  [FAQ]  [Login]
Subsim Radio Room Forum Index » » Sub Command » » SCX: max speeds of Towed Arrays and AI subs
Goto page ( 1 | 2 Next Page )
Author SCX: max speeds of Towed Arrays and AI subs
Gator


Joined: Mar 25, 2002
Posts: 65
Posted: 2002-11-14 00:55   
I noticed that the max speeds at which a towed array can be deployed is lowered below sub's max speeds in SCX.

Question:

When an AI sub evades a torp and runs at full speed does it lose its Towed Arrays ?


  View Profile of Gator      Edit/Delete This Post   Reply with quote
DeepSixNiner


Joined: Nov 09, 2002
Posts: 111
Posted: 2002-11-14 13:37   
That is a very good question.
I have played three test missions in an attempt to answer it for you. So far, I approached an Akula I (Improved) to within 18,000 yards or so, and threw one Mk48 at him. I immedeatly cut the wires and allowed the the ADCAP to do it's thing. The Akula managed to evade the torp, and while he was running west to evade, I made a move above the layer at high speed to meet up with him and get back on his tail. I'm pretty sure he has his towed array still, since I can't approach him from his baffles. Three times, he has detected me from about 12,000 yards from behind, and gone offensive on me (And I'm not that good at evading torpedos. He has killed me all three times.)
My guess is that the AI controlled subs don't lose their towed array when evading a torpedo at flank speed. I will continue to try a few more tests, and let you know what I find.
Cheers.


  View Profile of DeepSixNiner      Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-11-15 02:41   
Hi

Let me save you some time .... the AI will not break it's Towed Array.

Sensors and Arrays are handled differently by the AI, ... and doesn't inherit the physical limitations imposed on the Player.

Although it's not impossible to implement pseudo-failures of the TA for the AI, ... it is really a mammoth undertaking. Essentially, each Class of Sub in the game would have to have it's own doctrine, to facilitate such failures.

What I could do however, as an interim measure, ... is prevent the AI Subs from evading at full speed, ... and impose a speed restriction whereby it would assume the TA was always deployed. This wouldn't affect non-TA equipped Subs that much ... as, by default, they don't have the same Max Speeds. Although this is not always the case .. I would have to find a 'rule of thumb', as it were.


Cheers
Tom
_________________
He Who Will Not Risk Cannot Win


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
XabbaRus


Joined: Feb 28, 2002
Posts: 2792
Posted: 2002-11-15 05:35   
I don't really think it's that much of a big deal.

How would you then simulate a 688 losing one array but then deploying the other one.

I don't know what changes you have done but I still theink the AI needs some help so it should retain it's TAs.
_________________

Project 971


  View Profile of XabbaRus   Goto the website of XabbaRus   ICQ status       Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-11-15 06:18   
Hi Ben

I'm assuming you addressed your question to me. You are right .... it ain't that much of a big deal.

I haven't made any changes as yet ... and for now, I'm not gonna entertain the notion of the AI losing one array and deploying the other. Actually, this is relatively easy to do ... if each Sub has it's own Doctrines.

However, for now ... I will look at restricting the AI evade speed (randomly) .. to a speed where it wouldn't lose it's TAs. I'll try to figure some other factors in there .... if I have time. Obviously, this is not a priority right now ... more important things to sort out.

The Evasion Routines for AI Subs has been revamped quite extensively in SCX 1.3 already. It's Evasion Speed is no longer 'always' at full speed. There are some random elements ... but, at certain times the AI will evaluate the Torp Contact ... and if it determines that the Torp is Passive ... it will evade 'quieter' etc etc. However, if it determines that the Torp is Active, it may very well try to 'put the pedal to the metal'. It is at this point ... that I will look at factoring in some other issues e.g. the TA thingie ... however, ... survival is always paramount, and any Sub Commander will risk losing his Arrays, if it means the survival of his boat and crew. The AI will now also be able to determine what the Torp is doing, based on the Torp's closing speed. So, although it may be closing ... it may not necessarily be closing on the AI Sub directly (may have been spoofed by a CM etc ) ... therefore the Sub will go silent.

I may look at the speed issue based on Torp Range ... e.g. prevent Max Speed if the Torp is still at range, ... but, if CM deployment, and other evasive maneuvers have not been successful ... then it's full speed ahead .. and, 'damn the array'. Of course, the array will still be available to the AI, but, we can always fool him into believing that he 'may' lose it.


Cheers
Tom

_________________
He Who Will Not Risk Cannot Win



[ This Message was edited by: Thomasew on 2002-11-15 06:32 ]


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
XabbaRus


Joined: Feb 28, 2002
Posts: 2792
Posted: 2002-11-15 06:56   
Sounds good.

  View Profile of XabbaRus   Goto the website of XabbaRus   ICQ status       Edit/Delete This Post   Reply with quote
Sub Sailor


Joined: Oct 11, 2002
Posts: 53
Posted: 2002-11-19 10:36   
This question confuses me I thought that towed arrays could be used up to 32kts, with some degradation of signal and bow sonar became basically useless at 25 kts. I was suprised when I lost my towed array the first time, I was not sure about Seawolf, but SCX really fooled me. Isn't this a handicap on a boat?

SS


  View Profile of Sub Sailor      Edit/Delete This Post   Reply with quote
DS


Joined: Oct 27, 2002
Posts: 134
From: Canada
Posted: 2002-11-19 11:46   
[quote]
On 2002-11-15 06:18, Thomasew wrote:

The Evasion Routines for AI Subs has been revamped quite extensively in SCX 1.3 already. It's Evasion Speed is no longer 'always' at full speed. There are some random elements ... but, at certain times the AI will evaluate the Torp Contact ... and if it determines that the Torp is Passive ... it will evade 'quieter' etc etc. However, if it determines that the Torp is Active, it may very well try to 'put the pedal to the metal'. It is at this point ... that I will look at factoring in some other issues e.g. the TA thingie ... however, ... survival is always paramount, and any Sub Commander will risk losing his Arrays, if it means the survival of his boat and crew. The AI will now also be able to determine what the Torp is doing, based on the Torp's closing speed. So, although it may be closing ... it may not necessarily be closing on the AI Sub directly (may have been spoofed by a CM etc ) ... therefore the Sub will go silent.

I may look at the speed issue based on Torp Range ... e.g. prevent Max Speed if the Torp is still at range, ... but, if CM deployment, and other evasive maneuvers have not been successful ... then it's full speed ahead .. and, 'damn the array'. Of course, the array will still be available to the AI, but, we can always fool him into believing that he 'may' lose it.


Cheers
Tom


Hi Thomasew,

Has thought been given to writing into the doctrine that AI subs should turn 90 degrees away from an active torpedoes course and move fast enough to exit the detection cone prior to the torpedo going active? Is this possible? This is a standard tactic in the Blue Book, and one I use frequently, with considerable success. Currently, it seems that AI subs tend to just drop countermeasures and run directly away, which is not the best tactic, unless the shot came from a considerable distance and you have a chance of out lasting the torpedo.

Just a thought.

LR.

(Edited for poor spelling!)
_________________
http://www.deepsimulations.homestead.com

[ This Message was edited by: DS on 2002-11-19 13:52 ]


  View Profile of DS   Goto the website of DS      Edit/Delete This Post   Reply with quote
Gator


Joined: Mar 25, 2002
Posts: 65
Posted: 2002-11-19 13:30   
Here is my mod of SubAvoidWeap doctrine.

Mind you, the doctrines do not seem to give the desired behavior. SC does some unexpected things in response to the code. Such as snaking for no good reason or not giving the actual value of MinAlt.


BTW, for some reason DebugValueOut outputs zero values for variables that are definitely non-zero (checked with IF statements).

The intention of this doctrine is to make the sub make sprint legs at almost 100-115deg either way and change depth.
The downside is that the sub might reverse its direction and go back on an intercept course to torp - it works to subs advantage if the torp already almost passed the sub - then the sub goes behond the torp that cannot acquire it by snaking.
It's possible to make the sub escape only left or right from the same torp contact - the decision would only be made once.


At very close range the sub should try spiraling, but this does not work as intended (similar code used to work in FC).

The BeamSpeed is set to MaxSpd for now - possible to make random. The tests showed that it's better to have a max speed leg and then listen in (that happens if the torp is still far away).

Hmm, I tried to paste it in, but the lines' indents got "flattened". How can I attach a txt file to a message ??






[ This Message was edited by: Gator on 2002-11-19 14:04 ]


  View Profile of Gator      Edit/Delete This Post   Reply with quote
Gator


Joined: Mar 25, 2002
Posts: 65
Posted: 2002-11-19 13:56   
; SubAvoidWeap

var LegTimer
var RecognitionDelay
var Snapshot
var LegCourse
var EscapeAlt
var MinEscapeAlt
var MaxEscapeAlt
var SafeAlt
var BeamSpeed
var LocMinAlt
var AuxAlt
var AuxCrs
var AuxAngl
var CMTimer
var CloseRng
var TurnLock
var TurnDir
IF Init THEN {
RecognitionDelay = ( Time + 15 + rnd 15 )
LegTimer = -1
Snapshot = false
CMTimer = -1
AuxAngl = 45
EscapeAlt = -630
LocMinAlt = LAYER - 170
CloseRng = ( 300 + RND 150 )
TurnLock = -1
TurnDir = -1
; LocMinAlt = MinAlt
} ELSEIF LegTimer == -1 THEN {

IF Time > RecognitionDelay THEN {

IF Not Snapshot THEN {
DEBUGOUT "Firing Back!"
FireBest
Snapshot = true
} ENDIF

IF TgtSilos < 0 AND ( abs RelativeBearing TgtCrs ( ( TgtBrg + 180 ) mod 360 ) < 30 ) THEN {

IF TgtRng < 22000 THEN {
; Set Depth Opposite Layer, result of this IF is a value assigned to EscapeAlt var
; DEBUGOUT "TgtAlt"
; DebugValueOut "TgtAlt"
; DEBUGOUT "LAYER"
; DebugValueOut "LAYER"
DEBUGOUT "Init EscapeAlt"
DebugValueOut "EscapeAlt"
IF TgtAlt < LAYER THEN {
; SETALT ( -100 - RND 50 )
DEBUGOUT "Set Depth above layer, but remain submerged"
MinEscapeAlt = ( LAYER + 33 ) ; be at least 33ft (10m) above layer
IF MinEscapeAlt < 0 THEN {
IF MinEscapeAlt < PeriDepth THEN {
EscapeAlt = MinEscapeAlt + RND ( ABS ( MinEscapeAlt - PeriDepth ) )
} ELSE {
DEBUGOUT "Layer is too close to surface, set barely submerged depth"
EscapeAlt = ( PeriDepth - RND 10 )
IF EscapeAlt < ( TerrainAlt + 15 ) THEN {
EscapeAlt = ( TerrainAlt + 15 )
} ENDIF
} ENDIF
} ELSE {
DEBUGOUT "MinEscapeAlt >= 0, LAYER < 33ft !"
IF MinAlt < ( TerrainAlt + 15 ) THEN {
EscapeAlt = ( TerrainAlt + 15 + RND 15 )
} ELSE {
EscapeAlt = MinAlt
} ENDIF
} ENDIF

DEBUGOUT "MinEscapeAlt"
DebugValueOut MinEscapeAlt
DEBUGOUT "Init EscapeAlt"
DebugValueOut EscapeAlt
} ELSE {
; SETALT ( LAYER - 100 ) ;set depth to 100 ft below layer
DEBUGOUT "Set Depth below layer, but don't hit the bottom"
MaxEscapeAlt = ( LAYER - 33 )
IF LAYER < MinAlt THEN {
DEBUGOUT "LAYER < MinAlt"
} ELSE {
DEBUGOUT "LAYER >= MinAlt"
}
IF TerrainAlt < LocMinAlt THEN {
DEBUGOUT "TerrainAlt < MinAlt"
MinEscapeAlt = LocMinAlt
} ELSE {
DEBUGOUT "TerrainAlt >= MinAlt"
MinEscapeAlt = ( TerrainAlt + 15 + rnd 20 )
} ENDIF
IF MinEscapeAlt < MaxEscapeAlt THEN {
DEBUGOUT "MinEscapeAlt < MaxEscapeAlt"
COUNTERMEASURE "Decoy"
AuxAlt = MinEscapeAlt - MaxEscapeAlt
AuxAlt = ABS AuxAlt
IF AuxAlt > 0 THEN {
DEBUGOUT "AuxAlt > 0"
EscapeAlt = ( MinEscapeAlt + RND AuxAlt )
} ELSE {
DEBUGOUT "AuxAlt <= 0"
EscapeAlt = LAYER
} ENDIF
; EscapeAlt = LAYER
}
ELSE {
DEBUGOUT "MinEscapeAlt >= MaxEscapeAlt"
; there is not even 33ft between layer and bottom
AuxAlt = MinEscapeAlt - LAYER
AuxAlt = ABS AuxAlt
IF AuxAlt > 0 THEN {
DEBUGOUT "AuxAlt > 0"
EscapeAlt = ( MinEscapeAlt + RND AuxAlt )
} ELSE {
DEBUGOUT "AuxAlt <= 0"
EscapeAlt = ( LAYER - 150 )
} ENDIF
; EscapeAlt = LAYER - 150
} ENDIF
SafeAlt = TerrainAlt + 9
IF EscapeAlt < SafeAlt THEN {
DEBUGOUT "EscapeAlt < SafeAlt"
EscapeAlt = TerrainAlt + 9 + RND 15
} ENDIF
; DEBUGOUT "LocMinAlt"
; DebugValueOut LocMinAlt
; DEBUGOUT "MinEscapeAlt"
; DebugValueOut MinEscapeAlt
; DEBUGOUT "MaxEscapeAlt"
; DebugValueOut MaxEscapeAlt
DEBUGOUT "EscapeAlt"
DebugValueOut EscapeAlt
} ENDIF

; Throw CM?
IF RND 10 > 1 THEN {
; Decoy or Jammer?
IF TgtSource $= "Active Intercept" OR ( rnd 100 > 65 ) THEN {
DEBUGOUT "CM Decoy"
COUNTERMEASURE "Decoy"
} ELSE {
DEBUGOUT "CM Jammer"
COUNTERMEASURE "Jammer"
} ENDIF
} ELSE {
DEBUGOUT "Decoy failed random draw."
} ENDIF

} ENDIF
IF TgtRng < 8000 THEN {
DEBUGOUT "Sub Evading Torpedo!"
LegTimer = ( 180 + RND 180 )
SetPriority 254
SetSpd MaxSpd
BeamSpeed = MaxSpd
LegCourse = ( TgtBrg + 150 + rnd 60 mod 360 )
; SetCrs LegCourse
LegTimer += Time
} ELSEIF TgtRng < 22000 THEN {
DEBUGOUT "Sub Beaming Torpedo!"
DEBUGOUT "TgtRng"
DebugValueOut TgtRng
LegTimer = ( 300 + RND 60 )
BeamSpeed = MaxSpd
SetPriority 254
SetSpd BeamSpeed
IF TurnLock == -1 THEN {
TurnLock = 1
IF TgtAOB > 0 THEN {
TurnDir = 1
} ELSE {
TurnDir = -1
} ENDIF
} ENDIF
IF TurnDir > 0 THEN {
LegCourse = ( TgtBrg + 100 + rnd 15 mod 360 )
} ELSE {
LegCourse = ( TgtBrg + 260 - rnd 15 mod 360 )
} ENDIF
; SetCrs LegCourse
LegTimer += Time
} ENDIF
} ENDIF
} ENDIF

} ELSEIF Time > LegTimer THEN {
LegTimer = -1
} ELSE {
IF TgtRng < 400 THEN {
DEBUGOUT "Last ditch jink"
IF CMTimer == -1 THEN {
CMTimer = ( 60 + RND 60 )
CMTimer += Time
; LegTimer = CMTimer + 15
; Decoy or Jammer?
IF TgtSource $= "Active Intercept" OR ( rnd 100 > 65 ) THEN {
DEBUGOUT "CM Decoy"
COUNTERMEASURE "Decoy"
} ELSE {
DEBUGOUT "CM Jammer"
COUNTERMEASURE "Jammer"
} ENDIF
If TgtAOB > 0 THEN {
AuxAngl = 15
}
ELSE {
AuxAngl = 345
}

IF MinAlt < TerrainAlt THEN {
MinEscapeAlt = TerrainAlt + 33
} ELSE {
MinEscapeAlt = MinAlt
}
AuxAlt = MinEscapeAlt * 0.5
DEBUGOUT "Mid Alt"
DEBUGVALUEOUT "AuxAlt"
IF OwnAlt >= AuxAlt THEN {
SetPriority 254
EscapeAlt = MinEscapeAlt
; SetPitch -27
} ELSE {
SetPriority 254
EscapeAlt = PeriDepth
; SetPitch 27
} ENDIF
} ENDIF
} ELSEIF Time > CMTimer THEN {
CMTimer = -1
} ENDIF

AuxCrs = ( OwnCrs + AuxAngl ) mod 360
SetPriority 254
SetCrs AuxCrs
SetSpd BeamSpeed
SetAlt EscapeAlt
} ELSE {
SetPriority 254
SetCrs LegCourse
SetSpd BeamSpeed
; IF TerrainAlt < MinAlt THEN {
; SetAlt MinAlt
; } ELSE {
; EscapeAlt = TerrainAlt + 5 + rnd 20
; IF EscapeAlt < -14 THEN {
; SetAlt EscapeAlt
; } ENDIF
; } ENDIF
; make sure don't hit bottom while running on a leg
SafeAlt = TerrainAlt + 9
IF OwnAlt < SafeAlt THEN {
SafeAlt += RND 15
SetAlt SafeAlt
} ELSE {
SetAlt EscapeAlt
} ENDIF
} ENDIF
} ENDIF


  View Profile of Gator      Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-11-19 14:17   
Hi Larry

Quote:

Hi Thomasew,

Has thought been given to writing into the doctrine that AI subs should turn 90 degrees away from an active torpedoes course and move fast enough to exit the detection cone prior to the torpedo going active? Is this possible? This is a standard tactic in the Blue Book, and one I use frequently, with considerable success. Currently, it seems that AI subs tend to just drop countermeasures and run directly away, which is not the best tactic, unless the shot came from a considerable distance and you have a chance of out lasting the torpedo.

Just a thought.



The problem with standard tactics .... is that they are predictable.

What I have done with the new 'SubAvoidWeap' doctrine for SCX 1.3 ... is to make the AIs' response/reaction, to an incoming Torp, .. as random as possible. He may turn 90 deg either way, ... he may turn tail and head away from the Torp, .... or, he may fire a Snapshot down the incoming torp's bearing, ... and tuck in behind it ... and head straight for you. In fact, in most of the tests that I have done on it ... I don't think I have seen the AI do the same thing twice.

Also, the AI now fires more CMs, both, when he is in listening mode, ... and while he is running. Previously, the default doctrine deployed CMs at random, .. and only did it during the 'listening phase'. So, whilst he was running ... he didn't deploy CMs.

Now, he will fire CMs based on the ones he has loaded, and on reload times. SO, once he has fired off CMs, he will reload his CM tubes. Once reloaded he will fire them off. Once he determines whether the Torp is Passive or Active, he will then reload the appropriate CMs i.e. either 2 Passives, or 2 Actives. If the Torp is still 'unknown' .. he will load 1 off each.

I must say, that getting a hit on an AI Sub, is a helluva lot more difficult.

I think I discussed this new Doctrine in a similar thread just recently, ... with a bit more detail. Perhaps do a search ....

Life is gonna get a whole lot tougher ....


Cheers
Tom

_________________
He Who Will Not Risk Cannot Win



[ This Message was edited by: Thomasew on 2002-11-19 14:38 ]


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
Gator


Joined: Mar 25, 2002
Posts: 65
Posted: 2002-11-19 14:46   
There is a certain degree of predictability in any tactic. The AI should try to choose an optimal way to achieve its goal. If there are several ways that are close by their utility then that is the "space" for unpredictability.

It seems that running away from torp works only if the torp was noticed at a great distance. This is apparently the standard real life technique because most torps cannot go at maximum speed for a long time.

The best technique, if you know the torps trajectory, is to put it on a beam first and then go around and get behind it, so to speak, to get out of the sector it covers when snaking.

Running towards the torps seems to be very ineffective - it's an almost sure hit.

Changing depths below layer seems to work wonders at times - I saw torps going right above the sub when testing.




  View Profile of Gator      Edit/Delete This Post   Reply with quote
Thomasew


Joined: Feb 28, 2002
Posts: 1898
From: Bluewater Bay, South Africa
Posted: 2002-11-19 15:11   
Hi

Quote:

It seems that running away from torp works only if the torp was noticed at a great distance. This is apparently the standard real life technique because most torps cannot go at maximum speed for a long time.



The advantage to turning away, ... is that you are placing CMs directly in the PIM of the Torp .... which may decoy or jam the Torp.

Quote:

The best technique, if you know the torps trajectory, is to put it on a beam first and then go around and get behind it, so to speak, to get out of the sector it covers when snaking.



Sure ... if you are driving a Ferrari ... and if the Torp is far enough away. When the Torp Snakes, .. it's beam covers an area greater that 180 degrees. Gonna be tough staying out of the 'spotlight'. Once 'caught' in the spotlight ... the Torp is gonna plot an interception course ... and with you deploying CMs 'behind' you ... they will be largely ineffective. You would have to double back ... to put the CMs between yourself and the Torp. Risky business at best.

Quote:

Running towards the torps seems to be very ineffective - it's an almost sure hit.



Used this many times ... with great effect. Close the range ... before the Torp Enables. Sure, it's a gamble .... but, any tactic utilised in avoiding Torps is always gonna be a gamble.

Quote:

Changing depths below layer seems to work wonders at times - I saw torps going right above the sub when testing.



Given that the Torp can 'see' vertically from 0 to 3000 feet .... Depth Changes are for nought. The only thing that makes a difference is the Layer itself. Changing Depth above it, or below it ... would not really accomplish much ... as the Sub would never be out of the Torp's Cone of Acquistion. If you are on the other side of the layer, .. to the Torp ... then it may lose contact.

If Sonalysts ever implement proper vertical 'beams' for the Torp's Sonar ... then, Yes ... changing depth would aid in evading the Torp.

Cheers
Tom

_________________
He Who Will Not Risk Cannot Win



[ This Message was edited by: Thomasew on 2002-11-19 15:13 ]


  View Profile of Thomasew      Edit/Delete This Post   Reply with quote
Gator


Joined: Mar 25, 2002
Posts: 65
Posted: 2002-11-19 15:35   
I tested these techniqes with truth on - both myslef and by AI.

I can;t imagine how you could avoid a torp by running to it - 90% out of all times I tried it was a hit.

On the contrary, putting a torp on a beam gives 90% rate of successful evasion. It simply does not see you - by the time it gets to your area you are out of its sensor range - farther than 5000yards from the torp's axis of movement.


  View Profile of Gator      Edit/Delete This Post   Reply with quote
DS


Joined: Oct 27, 2002
Posts: 134
From: Canada
Posted: 2002-11-19 16:03   
Great information!

I'll have to try the "close the range tactic" to see if it works as well for me as ith worked for Ramiu in THFRO.

(My cyber crew will no doubt like that set of tests as much as they liked repeatedly ramming into the bottom at 31 knots in order to determine the odds of creating the "flooding in the torpedo room" casualty).

Cheers,

LR.
_________________
http://www.deepsimulations.homestead.com


  View Profile of DS   Goto the website of DS      Edit/Delete This Post   Reply with quote
Goto page ( 1 | 2 Next Page )
Lock this Topic Move this Topic Delete this Topic
Powered by phpBB Version 1.4.4
Copyright © 2000 - 2001 The phpBB Group

phpBB Created this page in 0.049226 seconds.