[Modding] String Not Found

Can't display custom strings for variables

In the file ElementalDefs I have modified the settings for threat levels and the related names and colors.
I also added and modified some of the options for game settings, when you create a new game.
In several of these cases, the string "String Not Found" displays in-game instead of the string I entered.

Does anyone have any solution for this? Where is the related "string table tag"?

8,998 views 2 replies
Reply #1 Top

Without seeing exactly what you did all I can say is take a look at

elemental.str

Reply #2 Top

Here's what I modified in threat levels:

Code: xml
  1. 0:Weak:0,255,0
  2. 100:Weak:75,255,0
  3. 200:Weak:150,255,0
  4. 400:Average:255,255,0
  5. 800:Medium:255,225,0
  6. 1200:Strong:255,150,0
  7. 1800:Deadly:255,75,0
  8. 2700:Epic:255,0,0

Only threat level 0, 800, 1200, 1800 and 2700 display the correct strings in-game.
The game obviously tries to get the strings from a lookup-table, and it could be the elemental.str file you mentioned:
Code: xml
  1. [ThreatLevel_Weak] Weak
  2. [ThreatLevel_Average] Medium
  3. [ThreatLevel_Strong] Strong
  4. [ThreatLevel_Deadly] Deadly
  5. [ThreatLevel_Epic] Epic

I'm just not sure how exactly this works, and it takes a while to test this while playing - it seems to me that I have to start a new game in order to see any effect of changing the threat strings.