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 07-24-07, 02:46 PM   #1
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Trying to add "SEARCH PATTERNS" problem!

I managed to find a very easy way to do "search/evasive patterns" (had a lot of help from MushMartin)
So i got the patterns the graphics and basically all done, but I keep getting "unknown command , search pattern_4" (as I added a 4th search pattern to the "pattern.cfg"
Stock has 3 patterns.

Quote:
[Patterns]
PatternsNb=4
[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
[Pattern4]
Name=Pattern 4
Command=Search_pattern_4
File=Data/Menu/Patterns/Pattern4.mis
Any ideas guys
__________________
CaptainCox is offline   Reply With Quote
Old 07-24-07, 03:38 PM   #2
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Also added this to the "menu_1024_768.ini
Quote:
[G3F I421]
Name=&Pattern 4
Type=1032;Button
ItemID=0x3F240007
ParentID=0x3F240000
but keep getting the same thing
Quote:
unknown command , search pattern_4
__________________
CaptainCox is offline   Reply With Quote
Old 07-24-07, 04:51 PM   #3
Digital_Trucker
Silent Hunter
 
Join Date: Jul 2007
Location: The Peach State
Posts: 4,171
Downloads: 141
Uploads: 10
Default

I had the same problem when I tried to add search patterns and I gave up. I'm guessing that, for whatever reason makes sense in the world of "new-fangled" computers, we can't add commands to the existing ones. We can change all sorts of things, but I'm thinking this is a case where the basics are hard-coded.

But then, the last time I did any heavy programming was in 1992 on an IBM midrange, so I'm no expert :rotfl:
Digital_Trucker is offline   Reply With Quote
Old 07-25-07, 02:13 AM   #4
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Yea, had a go at this also when the game came out and gave up...Anyho, got some free time coming my way the next weeks, so I will give it another go.
__________________
CaptainCox is offline   Reply With Quote
Old 07-25-07, 07:08 AM   #5
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

I haven't looked up on sh4, but in sh3 there are only three hard codded commands for the search patterns

CMD_Search_pattern_1
CMD_Search_pattern_2
CMD_Search_pattern_3

I guess that's the same case with sh4.

Ref
__________________
ref is offline   Reply With Quote
Old 07-25-07, 03:13 PM   #6
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Yep the same in SH4. The more I dig the more it looks like its hard coded. Have not looked in any .dat's yet. Could be a straw to grasp, but a very thin one.
__________________
CaptainCox is offline   Reply With Quote
Old 07-25-07, 03:35 PM   #7
CaptainCox
Sea Lord
 
Join Date: Feb 2007
Location: A Swede in Frankfurt am Main
Posts: 1,897
Downloads: 4
Uploads: 0
Default

Actually....ANVART! (shouting in a loud voice)i am sure you could find the code for this...or?
__________________
CaptainCox is offline   Reply With Quote
Old 07-25-07, 06:17 PM   #8
Mush Martin
Eternal Patrol
 
Join Date: Dec 2006
Posts: 4,398
Downloads: 4
Uploads: 0
Default

CC maybe the fourth pattern is the template of the builder its numbered
pattern # 4 in the original aem mod try deleting the template
and see if that clears
MM
__________________
RIP Mush



Tutorial
Mush Martin 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 02:07 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.