keeperfx
keeperfx copied to clipboard
Individually translatable map names
Note that the map-specific strings in their own dat files cannot be used for this purpose, as they're loaded with the level, not before, resulting in this:
Map names therefore come from the campaign/map pack strings. This means that map names can only be translated as part of the campaign/pack, not as an individual level.
yes, because it has not loaded all the maps
yes, because it has not loaded all the maps
It's because the map strings are loaded with the level, not before.
would the .lof file be a good spot? instead of having NAME_ID have NAME_ENG NAME_FRE NAME_GER etc, or should we load the string file anyways
would the .lof file be a good spot? instead of having NAME_ID have NAME_ENG NAME_FRE NAME_GER etc, or should we load the string file anyways
I think so yes, but we would want something we could also later use the same way for say, creature names or trap names or whatever.
How is something like this? barbarian.zip map01228.zip
would the .lof file be a good spot? instead of having NAME_ID have NAME_ENG NAME_FRE NAME_GER etc, or should we load the string file anyways
That would require UTF-8, I'm afraid.