Does anybody know how I can make use of some of the SLIC builtin variables which don't appear in the Activision documentation, but do appear in the game's text files?
For example the info_str.txt file contains
"The [player.1.civ_name_plural] have been utterly defeated."
If I borrow this idea and put the following in one of my txt files:
PN_TEXT_Big_Ranking_All "WEIGHTED RANKING (Year [date.value]):\n[finalrank1.value]. [player.1.civ_name_plural], [score1.value]"
and use it as a parameter to an alert box then this appears:
WEIGHTED RANKING (Year [date.value]):
[finalrank1.value]. [player.1.civ_name_plural], [score1.value]
but if I change the definition to remove the variable [player.1.civ_name_plural] and replace it with some fixed text so that it is defined instead as:
PN_TEXT_Big_Ranking_All "WEIGHTED RANKING (Year [date.value]):\n[finalrank1.value]. This is annoying, [score1.value]"
then my alert box contains:
WEIGHTED RANKING (Year 0):
3. This is annoying, 1601
So including [player.1.civ_name_plural] stops all the other variables from being translated properly.
(BTW I do have DEBUGSLICS=YES)
For example the info_str.txt file contains
"The [player.1.civ_name_plural] have been utterly defeated."
If I borrow this idea and put the following in one of my txt files:
PN_TEXT_Big_Ranking_All "WEIGHTED RANKING (Year [date.value]):\n[finalrank1.value]. [player.1.civ_name_plural], [score1.value]"
and use it as a parameter to an alert box then this appears:
WEIGHTED RANKING (Year [date.value]):
[finalrank1.value]. [player.1.civ_name_plural], [score1.value]
but if I change the definition to remove the variable [player.1.civ_name_plural] and replace it with some fixed text so that it is defined instead as:
PN_TEXT_Big_Ranking_All "WEIGHTED RANKING (Year [date.value]):\n[finalrank1.value]. This is annoying, [score1.value]"
then my alert box contains:
WEIGHTED RANKING (Year 0):
3. This is annoying, 1601
So including [player.1.civ_name_plural] stops all the other variables from being translated properly.
(BTW I do have DEBUGSLICS=YES)
Comment