Jump to content
Ghost Recon.net Forums

For Kit box what does "find key!" mean?


Recommended Posts

"find key!" typically means problem in \Shell <strings.txt> file. Your <NameToken>WPN_M16</NameToken> in .gun file must match entry in strings.txt file. Game uses strings.txt file of mod you are playing (or Ubi's if no user-made mod activated). If your mod's strings.txt file is wrong/missing, and the weapon calls for unique files, the !find key error happens. Strings.txt has a number with a weapon i.d., e.g., 4 - "WPN_M16" (some spaces - actually usually 3 Tabs) "M16". This then is found as .gun file in \Equip folder of mod. Check that .gun files with !find key error have weapon token\name matching one in string.txt file. Part in e.g., "M16" is name you see in-game. I think it can be whatever you like, but first part, WPN_ M16 must be same as what is in the .gun file.

Link to post
Share on other sites

The strings.txt file is quite simple, each entry consists of a pair of strings enclosed in quotes.

The first string is the text found in the <NameToken> tag in the gun file. The entries in .gun and strings.txt must match exactly, including in case.

The second string is what should appear on screen.

So for example an M203 .gun file might contain:

<NameToken>COLT_M203</NameToken>

and in strings.txt we would have

"COLT_M203" "M203"

If you have a problem with a weapon name not appearing, then open up the .gun file and open up the strings.txt and check the entries match, almost certainly they won't.

Dealing with Janie42's comments, the system works with all strings.txt files in all active mods, searching them in order of precedence and using the first match found. The number of spaces or tabs between the two strings is not significant. It's unclear what he means by numbers in the strings.txt file.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...