PDA

View Full Version : Trying to add "SEARCH PATTERNS" problem!


CaptainCox
07-24-07, 02:46 PM
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.

[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 :yep:

CaptainCox
07-24-07, 03:38 PM
Also added this to the "menu_1024_768.ini[G3F I421]
Name=&Pattern 4
Type=1032;Button
ItemID=0x3F240007
ParentID=0x3F240000 but keep getting the same thing unknown command , search pattern_4

Digital_Trucker
07-24-07, 04:51 PM
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:

CaptainCox
07-25-07, 02:13 AM
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.

ref
07-25-07, 07:08 AM
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

CaptainCox
07-25-07, 03:13 PM
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
07-25-07, 03:35 PM
Actually....ANVART! (shouting in a loud voice)i am sure you could find the code for this...or? ;)

Mush Martin
07-25-07, 06:17 PM
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