SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-10-10, 01:46 AM   #11
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 117
Uploads: 0
Default

You can keep the Observation Scope lowered with python scripting. DarkWraith did that with his UI mod.

As part of the def InitializeScript(): block in data\Scripts\Menu\Page Default Hud.py, add the line in green as shown (make sure it's indented like the lines above it) below. It would be line 2816 of the default script.

Code:
    SetDepthScaleType( DepthScaleTypes.Shallow )
    InitializeMapTools( True )
    Game.SubmarineCommands.ExecuteCommand( "Lower_whole_obs_periscope" )

def UnloadScript():
    Menu["DisplayPlayerGuidanceButtonByName"] = None
__________________

kylania is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 12:38 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.