Page 1 of 1

Questions to Text Files

Posted: Sat Aug 03, 2019 12:30 am
by Nekomessiah
I'm trying to create a Language Mod.
I was looking at the text file for that and had some questions.
In Text2.txt, line 72 looks like this:.

Code: Select all

IDS_MP_TOGGLECOOP,IDS_MP_TOGGLECOOP,"Cooperative Matches",
I think the following is correct.

Code: Select all

IDS_MP_TOGGLECOOP,"Cooperative Matches",
Lines 512 and 513 of Text48.txt are as follows:.

Code: Select all

IDS_DEC_MILITARY_REFORM_HC_TEXT, "With this decision, all Heavy Cavalry types available to your nation, if they have a possible upgrade, will be improved. You have two possible options, one which is slow but cheaper, one is immediate but costlier. The second option also costs a bit more experience for the upgraded units.", IDS_DEC_MILITARY_REFORM_HC_MSGTEXT, "Military Reform: Improve Heavy Cavalry units",
IDS_DEC_MILITARY_REFORM_HC_MSGTEXT, "Military Reform: Improve Heavy Cavalry units",
I think the following is correct.

Code: Select all

IDS_DEC_MILITARY_REFORM_HC_TEXT, "With this decision, all Heavy Cavalry types available to your nation, if they have a possible upgrade, will be improved. You have two possible options, one which is slow but cheaper, one is immediate but costlier. The second option also costs a bit more experience for the upgraded units.",
IDS_DEC_MILITARY_REFORM_HC_MSGTEXT, "Military Reform: Improve Heavy Cavalry units",
Are these my assumptions correct?
Thanks.

Re: Questions to Text Files

Posted: Sat Aug 03, 2019 4:04 pm
by AndrewGardner
Yes, those look like errors in the file.

Re: Questions to Text Files

Posted: Sun Aug 04, 2019 10:03 am
by Nekomessiah
Thank you for your reply.
I have another question.

Lines 87 and 88 of Text28.txt are as follows:

Code: Select all

IDS_EFFECT315,"Golden Age duration increased by %{0}u% turns.",
IDS_EFFECT320,"Golden Age duration decreased by %{0}u% turns.",
For this part, is "%{0}u" correct or is "%{0}%%" correct?

thanks.

Re: Questions to Text Files

Posted: Wed Aug 07, 2019 10:02 am
by Pocus
Thanks, errors fixed.

For effects, it should be

IDS_EFFECT315,"Golden Age duration increased by %{0}u turns.",
IDS_EFFECT320,"Golden Age duration decreased by %{0}u turns.",

%% is to use a percentage. Here that's just a number of extra turns.