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

Reply
 
Thread Tools Display Modes
Old 11-05-10, 05:51 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

anyone have any recommendations for new commands for the new tutorial feature? I've come across 3 while making a 'how to successfully torpedo attack merchants' tutorial:
- WaitMIVisible. This command will cause the tutorial to wait until the menu item specified is the specified visibility (0 = hidden, 1 = visible).
- SetMIVisibility. This command will set the associated menu item's visibility to the specified visibility (0 = hidden, 1 = visible)
- SetMICheckState. This command will set the associated menu item's check state (0 = not checked, 1 = checked)

These will be included in patch 1 for v4.9.0.

I'm also making Automation scripts able to call other automation scripts. Should be available in patch 1 for v4.9.0 also.

Any recommendations/suggestions/criticism/etc. is always welcomed
TheDarkWraith is offline   Reply With Quote
Old 11-05-10, 06:09 PM   #2
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by TheDarkWraith View Post
anyone have any recommendations for new commands for the new tutorial feature?
I am going to have a go at tutorials this weekend and will report

Quote:
I'm also making Automation scripts able to call other automation scripts
Can you explain this please? Does it mean there can be auto within auto?
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 11-05-10, 06:22 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Trevally. View Post
Can you explain this please? Does it mean there can be auto within auto?
I guess if you look at it this way then yes, that would be the case.

I'm thinking the command is going to be PlayAutomationScript and one of the parameters is going to be the name of the automation script to start (play).

I'm also looking into adding globals and some very crude conditional tests (>, >=, <, <=, ==, !=, and possibly a goto style command) so that some form of branching can be implemented in the automation scripts.

Looking forward to some tutorials from you Trevally If you need any help please don't hesitate to ask
TheDarkWraith is offline   Reply With Quote
Old 11-05-10, 06:41 PM   #4
jcalonso
Watch
 
Join Date: Jul 2005
Location: Venezuela
Posts: 28
Downloads: 497
Uploads: 0
Default


Hi again TDC!
After installing 490 i get this menu screen:

Clicking on the options (Clear, Apply,OK, Yes, No) has no effect whatsoever and if I try to continue or start a campaign, after a little time loading I get a CrashToDesktop (incompatibility between MODS perhaps?).
Here are the MODS I have activated:

Any ideas?
JC
jcalonso is offline   Reply With Quote
Old 11-05-10, 06:45 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

start game with admin rights (right click SH5 icon, select RunAs-->Administrator). Where did you install SH5 to? Program Files? What OS are you using? How did you install the new version? Did you overwrite the exisitng version or did you first delete the existing version then copy the new version's MODS folder to your \Silent Hunter 5 folder? Did you edit the options file?
TheDarkWraith is offline   Reply With Quote
Old 11-05-10, 10:31 PM   #6
stoppro
Weps
 
Join Date: Mar 2009
Location: vero beach fl
Posts: 372
Downloads: 497
Uploads: 0


Default

I got the same exact screen and i have sh5 running as admin and i removed 270 and installed this version. I did edit the options file.sh5 is installed C/ubisoft
__________________
win 10 64-msi-32gig cosair ddr4-ryzen9-5600evga gtx3060-corsair850watt-2-ssd 500 gig drives 1m2 1tig
stoppro is offline   Reply With Quote
Old 11-05-10, 10:55 PM   #7
catfan1026
Nub
 
Join Date: Aug 2010
Posts: 3
Downloads: 42
Uploads: 0
Default Where is 'OptionsMigrater' app?

I have downloaded 4.9.0, but do not get the Tutorial info at the SH5 opening screen. Where is this 'OptionsMigrater' app that we are asked to open so this mod upgrade can be operational? Appreciate all the work you have given to this mod. Any help would be appreciated.
catfan1026 is offline   Reply With Quote
Old 11-06-10, 01:16 AM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by stoppro View Post
I got the same exact screen and i have sh5 running as admin and i removed 270 and installed this version. I did edit the options file.sh5 is installed C/ubisoft
For those of you getting 'white boxes' or experiencing problems with the mod I need you to enable something so that any python errors will be displayed onscreen. Please edit your \Documents\SH5\data\cfg\main.cfg to look like below:

[DEVELOPING]
Modding=Yes
MenuEditor=Yes
DebugScripts=Yes

save the changes made and restart the game. When it asks you if you want to start the menu editor say no. Now if there's a problem the game will display a dialog box onscreen to you denoting what the problem is. I'll need to know the information in that dialog box.
TheDarkWraith is offline   Reply With Quote
Old 11-07-10, 01:14 PM   #9
smelikatt
Bilge Rat
 
Join Date: Apr 2005
Posts: 1
Downloads: 62
Uploads: 0
Default

Quote:
Originally Posted by jcalonso View Post

Hi again TDC!
After installing 490 i get this menu screen:

Clicking on the options (Clear, Apply,OK, Yes, No) has no effect whatsoever and if I try to continue or start a campaign, after a little time loading I get a CrashToDesktop (incompatibility between MODS perhaps?).
Here are the MODS I have activated:

Any ideas?
JC

I had the same thing happen after editing TheDarkWraithUserOptions.py file. The problem went away when I deleted and replaced that file.

After fixing the problem, I started making my options edits again one by one. The cause of the problem turned out to be bad formatting on my part when setting up a hotkey.

This is what I did wrong: [ True, MenuKeyManagerWrapper.Keys.0, False ] for the Number Zero key.

This is the correct way: [ True, MenuKeyManagerWrapper.Keys.Key0, False ]
Just like it says in the instructions at the top of the file.
smelikatt is offline   Reply With Quote
Old 11-05-10, 06:10 PM   #10
Olzeen
Mate
 
Olzeen's Avatar
 
Join Date: Feb 2008
Posts: 52
Downloads: 332
Uploads: 0
Default

tdw??...you make my day...(night)
Olzeen is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 04:27 AM.


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.