Page 1 of 1
How to make my own campaign
Posted: Sun May 26, 2024 1:20 am
by CorporalHicks
Hey, I am just trying to create my own campaign. I worked on it for about 8 hours the other day, but when I opened my mod it would crash the game. I think the problem might lie with the text1 file. I have no idea what to do with this file, but I tried a few different things and had no success. Can I not just leave it blank?
Thanks in advance.
Re: How to make my own campaign
Posted: Mon May 27, 2024 4:44 pm
by SteveMcClaire
Hi CorporalHicks,
There is a modding guide the explains how to change the campaign files here:
https://www.matrixgames.com/forums/view ... 0&t=361382
The text#.txt files are the localized strings read in by the game and used (primarily) in the UI. Inside your battle/operation/campaign data files you will have references to strings inside text1.txt, and within text1.txt you'll place those strings with an identifier, followed by a comma, then your string in double quotes, then another comma after it.
As and example, open text1.txt and search for C_TUNISIA_TITLE. This is the string entry for the title displayed in the UI for the Tunisia campaign. If you go to Campaigns\Main\Data\Campaigns and open Tunisia.txt you'll see C_TUNISIA_TITLE is listed on the 'title' line of the campaign data file, refering to that entry in Text1.txt.
Re: How to make my own campaign
Posted: Mon May 27, 2024 5:05 pm
by PipFromSlitherine
Note that text files need to be in unicode 2 byte (Windows) format. The simplest way to ensure they are correct is to copy one of the text files from the game folder, then open it and delete the contents. Notepad++ (as an example) correctly handles these kinds of files.
Cheers
Pip
Re: How to make my own campaign
Posted: Tue May 28, 2024 11:54 pm
by CorporalHicks
Thanks, I appreciate your assistance!