How to make my own campaign

Post Reply
CorporalHicks
Posts: 11
Joined: Mon Jan 10, 2022 12:50 am

How to make my own campaign

Post 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.
User avatar
SteveMcClaire
Posts: 4339
Joined: Mon Nov 19, 2007 9:31 pm

Re: How to make my own campaign

Post 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.
User avatar
PipFromSlitherine
Posts: 1505
Joined: Wed Jun 23, 2010 7:11 pm

Re: How to make my own campaign

Post 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
follow me on Twitter here
CorporalHicks
Posts: 11
Joined: Mon Jan 10, 2022 12:50 am

Re: How to make my own campaign

Post by CorporalHicks »

Thanks, I appreciate your assistance!
Post Reply

Return to “Close Combat The Bloody First - Modding”