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-13-10, 01:17 AM   #11
maerean_m
Captain
 
Join Date: Mar 2007
Location: Bucharest, Romania
Posts: 529
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith
First off, thanks for the help in getting the TDC dials working

Where can I find a list of all the game states? I pulled this line from Page Default Hud.py:

if Game.CurrentGameState == GameWrapper.GameStates.Bunker:

I'd like to know what all the game states are if that's possible. Specifically when you start a campaign. Right at the beginning when you're in your rack and they're telling you to go to the bridge. What game state is that?

also you responded about bringing back the notebook (http://www.subsim.com/radioroom/show...8&postcount=70). I tried most of the day to get this to work to no avail. Is there something that controls the notebook (some kind of trigger? Like I have to have a target locked or something?) I've tried reposition it on screen, in the menu order, I've tried just about everything I can think of to get this to show and can't.

TheDarkWraith
Learn to use the Script Manager. It's your friend . Open it and look for GameWrapper in the Class Definitions tab. You'll see that the GameWrapper.GameStates enum has 2 values: Bunker and Mission (Initial is for internal use only).

As for the notebook with the TDC solution, I don't remember right now, but maybe the C++ code hides it when the patrol starts. But that's not a problem, you know scripts now . Just set the PageUZO_Solution.Visible property to True in the Menu_PageActivated function.

Also, use the Script Manager to view the Globals of the PageUZO script. Look for PageUZO_Solution on the left, click on it to show its properties and just set Visible to True. It's only a runtime value (it won't save when you close the game) but you can have some live fun with the menu items

Mihai
__________________
Kilroy was here
maerean_m 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 05:30 PM.


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