Quote:
Originally Posted by UrPeaceKeeper
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.....