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-11-10, 04:41 PM   #1
piri_reis
Seasoned Skipper
 
Join Date: Aug 2005
Location: Istanbul, Turkiye
Posts: 715
Downloads: 115
Uploads: 0
Default

I was working on this the other day;

It was implemented with the search patterns function in SH3. 3 Search patterns are already defined in the game using Menu\Patterns\Pattern*.mis files which are single missions with only a sub w/ waypoints.

But a menu function doesn't exist in the game to order your Nav.Officer to plot these patterns:

Commands.cfg:

[Cmd254]
Name=Search_pattern_1
Contexts=1
MnID=0x3F240002
HasDelayedExecution=Yes

So I reversed the key combo definition from return to course.

[Cmd254]
Name=Search_pattern_1
Contexts=1
Key0=0x52,s,"Shift+R"
HasDelayedExecution=Yes
CommandClass=Course

MnID=0x3F240002
HasDelayedExecution=Yes

But can't get it to work. CTD if I have the CommandClass in there and no reaction if I delete that line. Maybe a menu/keyboard expert could lend a hand here?
__________________

Lt.z.S. Barbaros Hayreddin, U-35, 2nd Flot/Kiel, Type VIIB
Oct.29.1939, 2nd Patrol Eastern English Waters
Running SH5/TWOS
piri_reis is offline   Reply With Quote
Old 03-11-10, 05:38 PM   #2
Safe-Keeper
Ocean Warrior
 
Join Date: Dec 2005
Location: Norway
Posts: 3,234
Downloads: 11
Uploads: 0
Default

Yea, using the search pattern worked just fine in SHIII, except from the fact that you had to activate it at just the right position. Reimplementing that into SH5 should work just fine.
Safe-Keeper is offline   Reply With Quote
Old 03-11-10, 08:06 PM   #3
ATR-42
Commodore
 
Join Date: Mar 2007
Location: Jersey Shore
Posts: 606
Downloads: 20
Uploads: 6
Default

"Context" is the different positions to enable the given command, no?
what about adding Context numbers (the key is in the config file at the top) then trying the Search pattern command from within the game?

itd be really nice to have search patterns back
__________________

ATR-42 is offline   Reply With Quote
Reply

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 11:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.