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 03-04-10, 11:22 PM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by UrPeaceKeeper View Post
Ohh whoops you were looking for the actual script file?! Oi... thought you meant the Message box location indicator Playing around with the values, .5 and -.5 sets the box dead center at the bottom of the screen, which makes no sense to me... Originally I thought it was a coordinate system (thats too easy isnt it...) but it isnt truely a coordinate system, or at least one that I understand...

EDIT: I believe what you are talking about a level indicator above the battery/CO2/COmpressed Air/Fuel indicator is the fuel indicator for the Walter Drive with the Hydrogen Peroxide fuel level. Wont matter for us as we dont have access to the Walter Drive in this game.

Interesting question though, if the file systems are this similiar I wonder if that means we can add other submarines to this game... And if that holds true that means Surface ships should also be easy to implement...
i love scripts! they make modding so much easier. Here was the problem with the message box dropping down to the bottom when you clicked the button to expand it:
Code:
def PageDefaultHud_Messages_ToggleModeButton_Clicked( sender ):
 c = PageDefaultHud_Messages
 # dragging the size handle changes the SnapFromAnchor
 #c.SetSnapParent( PageDefaultHud, MenuItemWrapper.LocationPresets.BottomRight, True, 0, False )
 c.SnapFromAnchor.OffsetX = -4 #the animation will position the control
 DurationInSeconds = 0.1
 if c.Height <= c.MinimumSize.Height + 1.0:
  #Menu.PlaySound( "Menu.HUD.Toggle_Open" )#it sounds like a fart
  c.StartAnimation( MenuItemWrapper.AnimationTypes.Height, c.MaximumSize.Height, DurationInSeconds )
 else:
  #Menu.PlaySound( "Menu.HUD.Toggle_Close" )#it sounds like a fart
  c.StartAnimation( MenuItemWrapper.AnimationTypes.Height, c.MinimumSize.Height, DurationInSeconds )
i had to comment out the line highlighted. Now I'm going to let the message box able to expand more than it does currently.....



much better.....now to expand it's size.....
TheDarkWraith is offline  
 

Thread Tools
Display Modes

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 03:06 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.