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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-13-09, 11:25 AM   #1
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
Default Can a search pattern be modded at runtime?

I know the GWX guys changed the stock search patterns to navigate the Kiel Canal.

But I want to know if there's any way to have n search patterns stored in a directory and while playing the game switch between them?

This would allow me to fulfill a dream I have of playing the game and actually being able to save multiple nav routes.
__________________
XLjedi is offline   Reply With Quote
Old 01-13-09, 02:53 PM   #2
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,739
Downloads: 825
Uploads: 4
Default

There was some stuff yonks ago on the UBI sh3 forums about adjusting the search pattern, which AFAIK was done, but not at runtime.

Have a search on UBI - the site seems down at the moment
vanjast is offline   Reply With Quote
Old 01-13-09, 03:59 PM   #3
Pisces
Silent Hunter
 
Join Date: Dec 2004
Location: AN9771
Posts: 4,904
Downloads: 304
Uploads: 0
Default

In Sh3 those manouvres were textfiles containing waypoints (but a bit more syntax than makes sense to me )in SilentHunterIII\data\Menu\Patterns. I'm pretty sure they are loaded before your boat get's put into the wet stuff, and not after (anymore). Isn't there anything similar in Sh4
Pisces is offline   Reply With Quote
Old 01-13-09, 04:25 PM   #4
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
Default

Quote:
Originally Posted by Pisces
In Sh3 those manuovres were textfiles of waypoints in SilentHunterIII\data\Menu\Patterns. I'm pretty sure they are loaded before your boat get's put into the wet stuff, and not after (anymore).
That's what I'm afraid of...

Would be a huge step forward if they could load those at runtime for the next version!

How hard could it be?
__________________
XLjedi is offline   Reply With Quote
Old 01-15-09, 03:23 PM   #5
Pisces
Silent Hunter
 
Join Date: Dec 2004
Location: AN9771
Posts: 4,904
Downloads: 304
Uploads: 0
Default

Quote:
Originally Posted by aaronblood
Quote:
Originally Posted by Pisces
In Sh3 those manuovres were textfiles of waypoints in SilentHunterIII\data\Menu\Patterns. I'm pretty sure they are loaded before your boat get's put into the wet stuff, and not after (anymore).
That's what I'm afraid of...

Would be a huge step forward if they could load those at runtime for the next version!

How hard could it be?
It depends on the need. I'm sure the devs were thinking if you're playing the game, your not likely to modify them in textfiles.

So, what did you have in mind for it if it was loaded at runtime?

For what it's worth since I only have Sh3 installed: The number of patterns one can use seems to be open/unlimmited. This is the content of Patterns.cfg (GWX 2.1):
Code:
[Patterns]
PatternsNb=3

[Pattern1]
Name=Pattern 1
Command=Search_pattern_1
File=Data/Menu/Patterns/Pattern1.mis

[Pattern2]
Name=Pattern 2
Command=Search_pattern_2
File=Data/Menu/Patterns/Pattern2.mis

[Pattern3]
Name=Pattern 3
Command=Search_pattern_3
File=Data/Menu/Patterns/Pattern3.mis
On the surface, it seems like you can add many more patterns to it. It would just be a question of modiying the GUI to allowing selecting one out of more-than-3. Unless that is were a hardcode-problem is hidden. But that is something better investigated in SH4, and not referencing sh3.
Pisces is offline   Reply With Quote
Old 01-15-09, 05:43 PM   #6
XLjedi
Ace of the Deep
 
Join Date: Jun 2005
Location: Palm Beach, Florida
Posts: 1,243
Downloads: 53
Uploads: 8
Default

If I could modify the text file at runtime (and the game would load at runtime) I could write code in MoBo to export attack course plots (or various saved nav routes) directly to one of the search pattern buttons in the game.

I could for instance use MoBo to plot a two-legged end-around with a submerged final approach. ...and then push a button in the game and it's on the NavMap. Or maybe solve for an intercept and click the button to lay in the course.

Just seems like if it's button activated, why couldn't it load at runtime (when the button is clicked in the game)?
Doesn't seem like it would be too difficult to do, but I dunno...
__________________
XLjedi 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 10:35 AM.


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.