![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
03-23-10, 10:50 AM
|
#1 | |
|
Seasoned Skipper
![]() Join Date: Jan 2002
Location: Oslo, Norway
Posts: 654
Downloads: 163
Uploads: 0
|
Quote:
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. |
|
|
|
03-23-10, 11:08 AM
|
#2 | |
|
Commodore
![]() |
Quote:
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 I enjoy drinking beer. MightyFine Crew Mod 1.2.1 - Updated 22 March MightyFine Less Annoying Footsteps Crew AI Scripting Information |
|
|
|
03-23-10, 11:18 AM
|
#3 |
|
Watch
![]() Join Date: Feb 2005
Location: Germany
Posts: 19
Downloads: 100
Uploads: 0
|
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. |
|
|
03-23-10, 11:35 AM
|
#4 |
|
Samurai Navy
![]() Join Date: Jul 2006
Location: The Netherlands
Posts: 556
Downloads: 115
Uploads: 1
|
Will this key detection conflict with other key mapping mods ?
|
|
|
03-23-10, 11:40 AM
|
#5 |
|
Watch
![]() Join Date: Feb 2005
Location: Germany
Posts: 19
Downloads: 100
Uploads: 0
|
As a matter of fact, if that finding proves to be valid, then a merge of mods appears to be necessary.
__________________
Perhaps it is better to be irresponsible and right than to be responsible and wrong - Sir Winston Churchill, 1950 |
|
|
03-23-10, 12:06 PM
|
#6 |
|
Commodore
![]() |
Set_depth always gets triggered after each of the depth commands. That's how my override worked. I had set_depth triggering the crash_dive scripts. If surfaced, you got the crash dive routine, otherwise just hydroplane orders.
So are you saying with the line CommandClass=Depth removed, the crash dive command triggers the crash_dive scripts? The dive and crash dive scripts are very similar. The differences are the Chief uses the tension voice sounds in crash dive and the normal voice in dive. The men coming down the ladder have a jarring animation in crash dive. That's where one of the guys falls down. Regular dive, they come down in less of a hurry.
__________________
- heretic I enjoy drinking beer. MightyFine Crew Mod 1.2.1 - Updated 22 March MightyFine Less Annoying Footsteps Crew AI Scripting Information |
|
|
03-23-10, 12:10 PM
|
#7 | |
|
Watch
![]() Join Date: Feb 2005
Location: Germany
Posts: 19
Downloads: 100
Uploads: 0
|
Quote:
Now that should provide for a more complete understanding of the inner mechanisms on how scripts are utilized. If this could only be firmly proved by you I should have a good nights rest...
__________________
Perhaps it is better to be irresponsible and right than to be responsible and wrong - Sir Winston Churchill, 1950 |
|
|
|
![]() |
| Tags |
| favorite |
| Thread Tools | |
| Display Modes | |
|
|
