![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
06-10-14, 04:19 AM
|
#24 | |
|
Captain
![]() Join Date: Feb 2014
Location: Italy
Posts: 546
Downloads: 82
Uploads: 2
|
Quote:
Out of curiosity, I downloaded the doctrine file from subguru to see for myself the difference with the relevant doctrine file of LWAMI. I have highlithed the parts missing from the Subguru doctrine file... HeloDipping.txt -- LWAMI Code:
...
; Assign Dipping Tactic
IF NEWTRACK THEN {
; Sub?
IF ( TgtClass $= "SUB" ) AND ( ( TgtSource $= "MAD" ) OR ( TgtSource $= "Visual" ) ) THEN {
SETTACTIC "MadDrop"
} ELSEIF ( TgtClass $= "SUB" ) AND NOT ( ORDER $= "TRANSIT" ) THEN {
DEBUGOUT "Assigning Dipping Tactic\n"
TACTICCENTER
SETTACTIC "DippingSonar"
Enable
SensorEnable "AI Dip Active" OFF
SensorEnable "AI Dip PassiveS" OFF
SensorEnable "AI Dip PassiveD" OFF
Pinging = 0
WaypointReached = 0
DipTimer = -1
TargetCount += 1
} ENDIF
...
Code:
...
; Assign Dipping Tactic
IF NEWTRACK THEN {
; Sub?
; IF ( TgtClass $= "SUB" AND ( ORDER $= "SEARCH" ) ) THEN {
IF ( TgtClass $= "SUB" AND NOT ( ORDER $= "TRANSIT" ) ) THEN {
DEBUGOUT "Assigning Dipping Tactic\n"
TACTICCENTER
SETTACTIC "DippingSonar"
Enable
; SensorEnable "Active Sonar" OFF
Pinging = 0
WaypointReached = 0
DipTimer = -1
TargetCount += 1
} ENDIF
...
It looks like that, for some reason, the Subguru version commented out the use of the "SetSensorEnable" fuction: Last edited by banryu79; 06-10-14 at 04:29 AM. |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
