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


Default

Quote:
Originally Posted by SkyBaron View Post
EDIT: I finally figured out how to do it. Never thought of looking at the .ini files, that was the problem. Now when I try to use Menu.PlaySound("sh.sdl sound name") I get this error:

If I use GetTDWSound().PlaySound everything works fine. Since I will probably make this compatible with the NewUI only, I'd rather use your sound library to avoid compatibility issues with some other mod's sh.sdl.
You'd have to send me your files so I can see what you did to get the error. Did you add the required entry(ies) in the Sh.sdl file?

Of course my library function will work! It doesn't depend on the game in any way! I play sounds through my own method that doesn't require them to be registered with Sh.sdl

The only problem with trying to make something compatible with my files is you'll have to update them everytime I change a file you used. A real PITA! It's best to create your own .py and .ini file and add the required entry(ies) to the main menu file and then hook into the game messages so you can play your sound when a message comes you are looking for
TheDarkWraith is offline   Reply With Quote
Old 05-04-13, 11:44 PM   #2
gustlik87
Nub
 
Join Date: Dec 2009
Posts: 2
Downloads: 145
Uploads: 0
Default

A little off-topic. I want to thank you TheDarkWraith for this mod. It is awesome...
gustlik87 is offline   Reply With Quote
Old 05-05-13, 08:57 AM   #3
SkyBaron
Lieutenant
 
Join Date: Mar 2010
Location: South Atlantic
Posts: 261
Downloads: 673
Uploads: 2
Default

Quote:
Originally Posted by TheDarkWraith View Post
You'd have to send me your files so I can see what you did to get the error. Did you add the required entry(ies) in the Sh.sdl file?
yes, I'm sure I included the sh.sdl entry. Here are the files I changed for testing:

http://www.mediafire.com/?137hu28niodjjec

In MyScript.py if you uncomment Menu.PlaySound and comment TDWSound() I get that error message.

By the way, on Menu.py I added lines 28-29 to import my script. Maybe it's not the ideal place for that.

Thanks for the help TDW!
__________________


SkyBaron is offline   Reply With Quote
Old 05-05-13, 02:21 PM   #4
Vaudevillian
Watch
 
Join Date: May 2013
Location: Coram, New York
Posts: 20
Downloads: 8
Uploads: 0
Default

I'm new to modding, so I apologize if this question is a bit too simplistic, but- how do I re-enable the ability to plot my course using the little circle icon on the map? I've seen the Nav options menu on the map, with all the checkboxes, but the ability to "activate waypoint tool when sub is clicked," along with a lot of other options, is grayed out. Is it something I configured, or..?
__________________
Verily, this vichyssoise of verbiage veers most verbose, so let me simply add that it's my very good honor to meet you and you may call me V.
Vaudevillian is offline   Reply With Quote
Old 05-05-13, 02:49 PM   #5
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,292
Downloads: 374
Uploads: 0


Default

Disable NewUIs Real Navigation mod..
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-05-13, 03:00 PM   #6
shamuboy1
Seaman
 
Join Date: Jan 2010
Posts: 36
Downloads: 84
Uploads: 0
Default

Okay so I installed the mod... but still has the SH5 style controls. I'm used to "[ and ]" turning 40 degrees to port. I don't really understand why it's not working. I must not be doing something right...
shamuboy1 is offline   Reply With Quote
Old 05-05-13, 05:43 PM   #7
Vaudevillian
Watch
 
Join Date: May 2013
Location: Coram, New York
Posts: 20
Downloads: 8
Uploads: 0
Default

Thank you, Volodya!
__________________
Verily, this vichyssoise of verbiage veers most verbose, so let me simply add that it's my very good honor to meet you and you may call me V.
Vaudevillian is offline   Reply With Quote
Old 05-05-13, 08:24 PM   #8
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by shamuboy1 View Post
Okay so I installed the mod... but still has the SH5 style controls. I'm used to "[ and ]" turning 40 degrees to port. I don't really understand why it's not working. I must not be doing something right...
For others SH dials (like SH4/3) you have to run the application called fileviewer inside NewUIs and change the UI style.
Changes has to be made mod deactivated.
Fifi 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 02: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.