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 03-23-10, 08:35 AM   #1
blechritter
Watch
 
Join Date: Feb 2005
Location: Germany
Posts: 19
Downloads: 100
Uploads: 0
Default

Sorry to hear that.

What I did for testing was

1. Quit the game
2. Navigated to ...\data\Cfg\commands.cfg
3. Deleted the capital 'C' from the crash_dive command
4. Double checked your mod active
5. Launched game and hit Shift+V from the CR
6. Heard the playbacks you selected for the chrash_dive script

Hope that I did not miss anything

Thanks again for your mod
__________________
Perhaps it is better to be irresponsible and right than to be responsible and wrong - Sir Winston Churchill, 1950
blechritter is offline   Reply With Quote
Old 03-23-10, 08:42 AM   #2
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

And you have the override mod disabled?
Heretic is offline   Reply With Quote
Old 03-23-10, 08:42 AM   #3
Ragtag
Seasoned Skipper
 
Join Date: Jan 2002
Location: Oslo, Norway
Posts: 654
Downloads: 163
Uploads: 0
Default

Quote:
Originally Posted by blechritter View Post
Sorry to hear that.

What I did for testing was

1. Quit the game
2. Navigated to ...\data\Cfg\commands.cfg
3. Deleted the capital 'C' from the crash_dive command
4. Double checked your mod active
5. Launched game and hit Shift+V from the CR
6. Heard the playbacks you selected for the chrash_dive script

Hope that I did not miss anything

Thanks again for your mod
Thats how i did it to
__________________
Intel I7-7800x CPU.
16Gb G.skill DDR4 3600MHz.
Asrock Taichi X299 mb
Palit RTX 2080Ti.
Fortron 1000W PSU.
BenQ XR3501R LCD.
Ragtag is offline   Reply With Quote
Old 03-23-10, 08:50 AM   #4
blechritter
Watch
 
Join Date: Feb 2005
Location: Germany
Posts: 19
Downloads: 100
Uploads: 0
Default

@Heretic

Yep, the override mod was disabled.
__________________
Perhaps it is better to be irresponsible and right than to be responsible and wrong - Sir Winston Churchill, 1950
blechritter is offline   Reply With Quote
Old 03-23-10, 08:54 AM   #5
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Well, hmmm...
Do me a favor and look in data\Submarine\NSS_UboatXX (the one that matches the boat you tested with), and pull up crew_commands.txt and tell me what the line beginning Set_depth says

*edit* and to clairify, this is what you did?
Quote:
[Cmd201]
Name=Crash_dive
Contexts=1
MnID=0x3F230002
StringID=1035
Key0=0x56,Cs,"V" <------- change to Key0=0x56,s,"V"
HasDelayedExecution=Yes
CommandClass=Depth
Sound_0=ELO_Helm,MC_CR_CHIEF_33
Sound_1=ELO_Helm,MC_QRF_WATCH_29

Last edited by Heretic; 03-23-10 at 09:05 AM. Reason: added stuff
Heretic is offline   Reply With Quote
Old 03-23-10, 09:04 AM   #6
blechritter
Watch
 
Join Date: Feb 2005
Location: Germany
Posts: 19
Downloads: 100
Uploads: 0
Default

@Heretic Ok, as soon as I am back home. Still in the office.

O, btw, I am living in Germany. UTC+1. So here it is 3 PM.
__________________
Perhaps it is better to be irresponsible and right than to be responsible and wrong - Sir Winston Churchill, 1950
blechritter is offline   Reply With Quote
Old 03-23-10, 09:06 AM   #7
blechritter
Watch
 
Join Date: Feb 2005
Location: Germany
Posts: 19
Downloads: 100
Uploads: 0
Default

Quote:
Originally Posted by Heretic View Post
Well, hmmm...
Do me a favor and look in data\Submarine\NSS_UboatXX (the one that matches the boat you tested with), and pull up crew_commands.txt and tell me what the line beginning Set_depth says

*edit* and to clairify, this is what you did?
Yes, exactly. I just reckoned that the 'C' would prevent the interpretation of separate script files.
__________________
Perhaps it is better to be irresponsible and right than to be responsible and wrong - Sir Winston Churchill, 1950
blechritter is offline   Reply With Quote
Old 03-23-10, 09:19 AM   #8
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

That's inconsistant with the other commands. The 'dive' command triggers its script and the command.cfg key entry for it is 'Key0=0x56,C,"V"'. I'll have to do more testing when I get home this evening.
Heretic is offline   Reply With Quote
Old 03-23-10, 10:50 AM   #9
Ragtag
Seasoned Skipper
 
Join Date: Jan 2002
Location: Oslo, Norway
Posts: 654
Downloads: 163
Uploads: 0
Default

Quote:
Originally Posted by Heretic View Post
Well, hmmm...
Do me a favor and look in data\Submarine\NSS_UboatXX (the one that matches the boat you tested with), and pull up crew_commands.txt and tell me what the line beginning Set_depth says

*edit* and to clairify, this is what you did?

I did the same change and it worked for my with VIIA
The set_depth command looks like this:

Set_depth 1 1 1 ( CR_CHIEF = setd_CHIEF )
__________________
Intel I7-7800x CPU.
16Gb G.skill DDR4 3600MHz.
Asrock Taichi X299 mb
Palit RTX 2080Ti.
Fortron 1000W PSU.
BenQ XR3501R LCD.
Ragtag is offline   Reply With Quote
Old 03-23-10, 11:08 AM   #10
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 240
Uploads: 2


Default

Quote:
Originally Posted by Ragtag View Post
I did the same change and it worked for my with VIIA
The set_depth command looks like this:

Set_depth 1 1 1 ( CR_CHIEF = setd_CHIEF )
Thanks. That's definitely not the override version. I thought I might have screwed up and included it in the main mod. I wonder if I made the edit to command.cfg incorrectly when I tested it?

I'd love to get rid of the override option. The problem with including a custom commands.cfg is it'd conflict with all the other mods that use it, the UI mods and command key mods.
Heretic is offline   Reply With Quote
Old 03-23-10, 11:18 AM   #11
blechritter
Watch
 
Join Date: Feb 2005
Location: Germany
Posts: 19
Downloads: 100
Uploads: 0
Default Trigger of crash_dive script

Apologies everybody! There was a lack of precision in my testing...

Now what I did next, and that finally appears to work (please verify)

1. Dive and crash_dive and a couple of other depth changing commands are configured to belong to the CommandClass=Depth

According to the documentation, those commands would then override each other, so only the last in sequence would actually be triggering any scripts. Thats why I kept hearing the sounds provided in set_depth.aix

2. So I removed the CommandClass=Depth line for the crash_dive command, which becomes Generic and will not be overwritten by set_depth. And here we go!

If you can verify that observation, then we would have some breakthru I believe.

In commands.cfg
...
[Cmd201]
Name=Crash_dive
Contexts=1
MnID=0x3F230002
StringID=1035
Key0=0x56,Cs,"V"
HasDelayedExecution=Yes
Sound_0=ELO_Helm,MC_CR_CHIEF_33
Sound_1=ELO_Helm,MC_QRF_WATCH_29
...
__________________
Perhaps it is better to be irresponsible and right than to be responsible and wrong - Sir Winston Churchill, 1950

Last edited by blechritter; 03-23-10 at 11:56 AM.
blechritter is offline   Reply With Quote
Reply

Tags
favorite

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 09:31 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.