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


Default

Quote:
Originally Posted by Silent Steel View Post
I have a question about the obs scope -
Whenever I enter the obs scope it fully raises and stays there no matter what I do...

The obs scope doesn't react when I press the PgUp or PgDn
Even the scope depth meter in the upper left corner doesn't move.

The attack scope works just fine.
I don't know if my problem is related to the following but in the option.py file you find:
- options for both "entering"and "leaving" the attack scope but
- option only for "leaving" the obs scope. No for "entering" it.
Don't get it.

Can anyone please help me out of this?
Sounds like you have a corrupt file somewhere. Are you getting any error messages (dialog box pop ups)? Do you have modding and script debugging enabled? If not, please turn them on so that any error messages being 'thrown' can be caught and displayed to the screen.
To enable them you have to edit your \documents\SH5\data\cfg\main.cfg file.
Have you tried disabling ALL mods except the core UIs mod and seeing if you still have the problem(s)?
There is no option for entering the obs scope because it's animated. Ever noticed that when you click on the obs scope in game it goes through an animation sequence (turning and raising)? That would be why.
TheDarkWraith is offline   Reply With Quote
Old 01-09-11, 01:52 PM   #2
Silent Steel
Sea Lord
 
Join Date: Jun 2008
Location: Noch dabei
Posts: 1,732
Downloads: 618
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Sounds like you have a corrupt file somewhere. Are you getting any error messages (dialog box pop ups)? Do you have modding and script debugging enabled? If not, please turn them on so that any error messages being 'thrown' can be caught and displayed to the screen.
To enable them you have to edit your \documents\SH5\data\cfg\main.cfg file.
Have you tried disabling ALL mods except the core UIs mod and seeing if you still have the problem(s)?
There is no option for entering the obs scope because it's animated. Ever noticed that when you click on the obs scope in game it goes through an animation sequence (turning and raising)? That would be why.


I'll turn the debugging options on and see what I get.
Previously I actually tried disabling all mods but the 6.3.0 and it's patch. Everything seemed to be running fine.
Strikes me now - of course I've seen the animated sequence

Back as soon I've got the time to test the debugging.

Thanks again
Silent Steel is offline   Reply With Quote
Old 01-09-11, 03:50 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Added the periscope sighted/sub sighted to the radio messages. There is a new user option that specifies the maximum distance a ship can have any chance of sending a radio message saying they detected you. Default value is 8000m.

I have compiled over 100+ ship names from WWII that the mod can use as the ship name.

The mod 'rolls the dice' when you are within that range and if you are spotted a radio message goes out from ship. If you are not spotted a random amount of time is assigned before the ship can 'look' for you again. The chance that it can spot you surfaced is 70%. The chance that it can spot your periscope is 35%.

Now I took this one step further I also go through ALL the ship contacts in game and 'roll the dice' with them to see if they spotted a sub/periscope whereever they are. If so, they fire off a radio message The percent chance that one of these contacts will spot a submarine is 5%.

What I'm not sure of is what to put in the From line of the radio message. Currently I just have the ship's name that sent it:


Next is to add radio messages for sinking/destroyed ships
TheDarkWraith is offline   Reply With Quote
Old 01-09-11, 04:00 PM   #4
Jaeger
Chief
 
Join Date: Jul 2005
Posts: 316
Downloads: 28
Uploads: 0
Default

very nice, tdw. one question: can we trigger a sound to this action? there are some voice files like "i got a radio message from another ship" or something like that. can we hear this file when a radio message is caught?
__________________
Everything comes to him who waits
Jaeger is offline   Reply With Quote
Old 01-09-11, 04:19 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Jaeger View Post
very nice, tdw. one question: can we trigger a sound to this action? there are some voice files like "i got a radio message from another ship" or something like that. can we hear this file when a radio message is caught?
sure I can add sounds to the messages. Will cause some problems down the line though as I'll have to edit the Sh.sdl file to add them so they are registered with the game. Once I touch that file then any sound mod that modifies it also will be broken (or they break the sounds with this mod depending on how the mod order is in JSGME)
TheDarkWraith is offline   Reply With Quote
Old 01-09-11, 04:50 PM   #6
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
I'll have to edit the Sh.sdl file to add them
Would it be possible for you to add a merge app like you did for the options.py
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 01-09-11, 05:20 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

This poor soul didn't spot me fast enough. Sent out his radio report of periscope sighted and one second later his ship was toast


possible radio messages that a ship can give off when destroyed/sinking:

SOS....SOS.....SOS.....We're going down at (lat, long)
Abandoning ship at (lat, long)
Massive damage. Ship is taking on water. Abandoning ship at (lat, long)
Unable to control flooding. Abandoning ship at (lat, long)
TheDarkWraith is offline   Reply With Quote
Old 01-10-11, 07:25 PM   #8
Stormfly
Serial Port Protector
 
Stormfly's Avatar
 
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
sure I can add sounds to the messages. Will cause some problems down the line though as I'll have to edit the Sh.sdl file to add them so they are registered with the game. Once I touch that file then any sound mod that modifies it also will be broken (or they break the sounds with this mod depending on how the mod order is in JSGME)
ohh, i think merging sounds of different mods into the sdl file is allready a well known and easy practice for nearly everyone who is able to use S3D, just a bit more work then using JSGME but without loosing something
__________________
Stormy......

Stormfly is offline   Reply With Quote
Old 01-10-11, 09:38 PM   #9
7thSeal
Samurai Navy
 
Join Date: Mar 2010
Posts: 592
Downloads: 199
Uploads: 0
Default

TDW, on the radio message icon at the top right bar... I was curios if you could set a limit as to how long it flashes when showing that you have received a message? Unless you click on it and close out the message box every time then it never stops flashing.
7thSeal 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 05:43 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.