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 09-10-10, 09:10 AM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by RdJ View Post
I'm trying to add a script file to the game, but it doesn't show up in the script manager...

How should I configure .ini-file(s) and where should my script be placed?
what exactly are you trying to do? Are you trying to create a new page? What is this script for? Are you trying to load it from another script?
TheDarkWraith is offline   Reply With Quote
Old 09-10-10, 09:17 AM   #2
RdJ
Watch
 
Join Date: Sep 2010
Posts: 18
Downloads: 2
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
what exactly are you trying to do? Are you trying to create a new page? What is this script for? Are you trying to load it from another script?
What exactly is a page?

And it's for speech recognition. (I know there is a mod for that already, but that one doesn't work for me )
RdJ is offline   Reply With Quote
Old 09-10-10, 09:34 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by RdJ View Post
What exactly is a page?

And it's for speech recognition. (I know there is a mod for that already, but that one doesn't work for me )
In order to get a .py file to show in the Script editor it has to have a page (a .ini file) with the same name as the script. The page would be located in \data\Menu\Pages. If you open up the menu editor you can create the new page. It can be blank, just click on the root in menu editor and select add new page. Give it the correct name.
TheDarkWraith is offline   Reply With Quote
Old 09-10-10, 09:39 AM   #4
RdJ
Watch
 
Join Date: Sep 2010
Posts: 18
Downloads: 2
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
In order to get a .py file to show in the Script editor it has to have a page (a .ini file) with the same name as the script. The page would be located in \data\Menu\Pages. If you open up the menu editor you can create the new page. It can be blank, just click on the root in menu editor and select add new page. Give it the correct name.
And I have to put the script in \data\Scripts\Menu ?
RdJ is offline   Reply With Quote
Old 09-10-10, 09:41 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by RdJ View Post
And I have to put the script in \data\Scripts\Menu ?
correct
TheDarkWraith is offline   Reply With Quote
Old 09-10-10, 09:43 AM   #6
RdJ
Watch
 
Join Date: Sep 2010
Posts: 18
Downloads: 2
Uploads: 0
Default

And page ID?
RdJ is offline   Reply With Quote
Old 09-10-10, 09:52 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by RdJ View Post
And page ID?
Give it some number in the 50's. Any number in the 10s will cause the game to crash. Open up menu_1024_768.ini (\data\Menu\Pages) and search for all the 5x numbers. Pick a 5x number that isn't used.
TheDarkWraith is offline   Reply With Quote
Reply


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 10:00 AM.


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.