![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
10-06-13, 05:54 PM
|
#1 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
|
|
|
10-06-13, 05:58 PM
|
#2 |
|
Ocean Warrior
![]() |
IIRC there is only the compass (SH5 Enhanced)..
__________________
. Where does human stupidity end? . ![]() ![]() El sueño de la razón produce monstruos © - and for some people awakening will be cruel |
|
|
10-06-13, 06:02 PM
|
#3 |
|
Swabbie
![]() Join Date: May 2012
Posts: 7
Downloads: 34
Uploads: 0
|
Dunno if they pop up or something, being a confused nub i need them permanently
|
|
|
10-06-13, 06:14 PM
|
#4 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Maybe you are right, but I am sure that there is a key combinaion to convert it into rudder
![]() Quote:
|
|
|
|
10-06-13, 06:25 PM
|
#5 | |
|
Swabbie
![]() Join Date: May 2012
Posts: 7
Downloads: 34
Uploads: 0
|
Quote:
|
|
|
|
10-07-13, 04:40 AM
|
#6 |
|
Captain
![]() Join Date: Sep 2013
Posts: 542
Downloads: 70
Uploads: 0
|
Shift + C will show the compass and hide it again. Right clicking it changes the looks to a secondary mode. Shift + C will hide again.
|
|
|
10-07-13, 07:27 AM
|
#7 |
|
Navy Seal
![]() |
Post a picture and all will become clear
|
|
|
10-07-13, 09:24 AM
|
#8 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
|
|
|
10-07-13, 04:11 PM
|
#9 |
|
Watch
![]() Join Date: Dec 2011
Posts: 26
Downloads: 17
Uploads: 0
|
I was trying to tell the sonarman to follow a contact. I went to the hydrophone station, moved the needle towards a reasonable close contact, but that deaf guy kept telling me, there is no near contact to follow.
I think, due to a small bug in TDC_NewUI (I use 7.1.0, but it's still present in 7.5.0 test version), the sonarman looks for the contact at bearing "sub heading plus hydrophone needle bearing" instead of just "hydrophone needle bearing". So it only works, if my sub's heading happens to be zero degrees. After I changed the function HydrophoneFollowNearestContact in /data/Scripts/Stations/Hydrophone.py as follows, my follow contact orders are no longer ignored. Code:
def getHydroBearing ( contact, sub ):
contactbearing = sub.HeadingDEGToContact(contact) - sub.HeadingDEG
while contactbearing > 360.0:
contactbearing -= 360.0
while contactbearing < 0.0:
contactbearing += 360.0
return contactbearing
# Modified by TheDarkWraith
def HydrophoneFollowNearestContact():
if GetHydroFollowContact() != None:
return
hydroangle = Menu.GuiDials.GetValue( GuiDialsWrapper.DialTypes.HYDROPHONE )
sweeprange = GetHydroFollowNearestContactSweepRange()
maxrange = GetHydroFollowNearestContactMaxRange()
try:
from PageDefaultHud import PageDefaultHud_MapGroup_Mapcontrol
sub = PageDefaultHud_MapGroup_Mapcontrol.SubmarineContact
contacts = PageDefaultHud_MapGroup_Mapcontrol.AllContacts
hydrocontact = None
for contact in contacts:
if getHydroBearing( contact, sub ) >= ( hydroangle - sweeprange ) and getHydroBearing( contact, sub ) <= ( hydroangle + sweeprange ) and sub.RangeToContact( contact ) <= maxrange:
if hydrocontact == None:
hydrocontact = contact
else:
if getHydroBearing( contact, sub ) <= getHydroBearing( hydrocontact, sub ) and sub.RangeToContact( contact ) < sub.RangeToContact( hydrocontact ):
hydrocontact = contact
if hydrocontact == None:
from PageDefaultHud import Game_NewPlayerLogMessageOutside
Game_NewPlayerLogMessageOutside( [ Menu.GetLocalizedText( IDSTR_HydroFollowTargetNoNearContact ), False ] )
return
SetHydroFollowContact( hydrocontact )
from Pageinterior import Pageinterior_Blocnotes_FollowTarget
Pageinterior_Blocnotes_FollowTarget.SetCheck( True, False )
from PageDefaultHud import Game_NewPlayerLogMessageOutside
Game_NewPlayerLogMessageOutside( [ Menu.GetLocalizedText( IDSTR_HydroFollowTargetNearest ), False ] )
except:
pass
|
|
|
![]() |
| Tags |
| dbrn, favorite, new ui |
| Thread Tools | |
| Display Modes | |
|
|
