![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
04-29-13, 02:26 PM
|
#1 | |||||
|
Black Magic
![]() |
Quote:
No changes in OptionsEditorFileViewer so far. Quote:
- you didn't enable the user options for it - you didn't patch all the files needed for this with my Generic Patcher - mod conflict Quote:
Quote:
Quote:
I can access NavMap with no problems. Sounds like a mod conflict somewhere. |
|||||
|
|
04-29-13, 03:36 PM
|
#2 | |
|
Ocean Warrior
![]() |
Quote:
Thanks in advance I see.. please, let me know if the new versions will be changed.. Thank you
__________________
. Where does human stupidity end? . ![]() ![]() El sueño de la razón produce monstruos © - and for some people awakening will be cruel |
|
|
|
04-29-13, 03:57 PM
|
#3 | |
|
Lieutenant
![]() Join Date: Mar 2010
Location: South Atlantic
Posts: 261
Downloads: 673
Uploads: 2
|
Quote:
I'm trying to make a mod to play a sound based on text from the messagebox. I was able to do it by inserting a couple of lines on Page Default Hud.py inside Game_NewLogMessage with this code: Code:
if entrytext.StartsWith( Menu.GetLocalizedText( MENU_MESSAGE ) ):
GetTDWSound().PlaySound( GetSH5InstallPath() + "\\data\\Sound\\MY_SOUND.wav", 0.8 )
Thanks for any tips! |
|
|
|
04-29-13, 05:14 PM
|
#4 |
|
Swabbie
![]() Join Date: May 2005
Posts: 5
Downloads: 225
Uploads: 0
|
This probably should be in the patcher thread but, will reply to above quote. On my system rendering patch 12, "Disable rendering of torpedo line" causes CTD when entering the Nav Map. All other rendering patches work fine.
|
|
|
05-04-13, 05:19 PM
|
#5 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
05-04-13, 07:55 PM
|
#6 | |
|
Lieutenant
![]() Join Date: Mar 2010
Location: South Atlantic
Posts: 261
Downloads: 673
Uploads: 2
|
Quote:
I hope someday you'll have time to do a small "Hello World" tutorial on SH5 scripting(I don't mean just Python, but how scripting/menu/etc fit together) it would help a lot of people, well at least me! ![]() 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. Last edited by SkyBaron; 05-04-13 at 09:53 PM. |
|
|
|
05-04-13, 11:10 PM
|
#7 | |
|
Black Magic
![]() |
Quote:
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
|
|
|
|
05-04-13, 11:44 PM
|
#8 |
|
Nub
![]() Join Date: Dec 2009
Posts: 2
Downloads: 145
Uploads: 0
|
A little off-topic. I want to thank you TheDarkWraith for this mod. It is awesome...
|
|
|
05-07-13, 11:04 AM
|
#9 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
05-07-13, 12:36 PM
|
#10 |
|
Torpedoman
![]() Join Date: Feb 2011
Location: Ubooting
Posts: 118
Downloads: 246
Uploads: 0
|
hi , congratulations for the mod , the less i check is really good , but i have some installation troubles maybe , at starting a game , some permanent winwos stay and , are unclosable , map , unsusable , any input is ignored , so ? any help ? i place the mod following the sobers megamod , no way of making it run properly , any help welcome
|
|
|
04-29-13, 06:42 PM
|
#11 | ||
|
Grey Wolf
![]() Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
|
References:
http://www.subsim.com/radioroom/show...postcount=9868 http://www.subsim.com/radioroom/show...postcount=9888 Quote:
Quote:
|
||
|
|
04-29-13, 08:16 PM
|
#12 | |
|
Samurai Navy
![]() Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
|
Quote:
|
|
|
|
05-03-13, 05:00 PM
|
#13 |
|
Sparky
![]() Join Date: Aug 2012
Posts: 157
Downloads: 344
Uploads: 3
|
Hello,
I have a problem but I don' know if it's working as intented or not. ![]() Is it possible to identify ship from the New ui SOAN instead of the vanilla one ? Because I can send the height of the mast from the new ui SOAN, but It's useless as you need to identify the ship before in the vanilla Xo box to use stadimeters or If you identify it from the vanilla SOAN, height of the mast will be reset to the vanilla ship selected everytime. What I Am doing wrong, I look in the TheDarkWraithUserOptions but I don't find something to do that. Last edited by Choum; 05-03-13 at 05:34 PM. |
|
|
05-03-13, 05:11 PM
|
#14 |
|
Navy Seal
![]() |
^^^^You make me realise i don't have the stock manual anymore!
![]() At least it does'nt appears because i don't clic the boat name, and it might be because i use the weapon officer for identification, and it automaticaly opens the NewUIs manual each time at the right page (i setted this option in the file viewer)...
__________________
|
|
|
05-04-13, 04:00 AM
|
#15 |
|
Sparky
![]() Join Date: Aug 2012
Posts: 157
Downloads: 344
Uploads: 3
|
Thanks fifi.
So there's no button to validate a ship directly from the TDW manual identification. |
|
|
![]() |
| Tags |
| dbrn, favorite, new ui |
| Thread Tools | |
| Display Modes | |
|
|
