Skip to content
kromster80 edited this page Nov 25, 2022 · 9 revisions

How to create a campaign that appears in the campaigns list

Basic steps

  • Browse to the folder "campaigns" under your Knights Province folder
  • Create a new folder with the name of your campaign, for example Knights Province\campaigns\My Cool Campaign
  • Run CampaignBuilder.exe from the main Knights Province folder
  • Set the chapter count (1 will do for start)
  • Fill in the 1st chapter background image ("somename.png"). The image should be placed in the campaign folder (Knights Province\campaigns\My Cool Campaign\somename.png). The image should be 1024*768 pixels (other sizes are okay, as long as proportions are 4x3)
  • Set the mission count
  • Select each mission marker and drag its node to the correct location on the campaign map
  • Set each missions folder name (e.g. MissionOne)
  • Click Save and save it as info.xml under your campaign folder, for example campaigns\My Cool Campaign\info.xml. This will also save images.rxx which contains the map background image
  • Create a file text.eng.libx under your campaign folder, for example campaigns\My Cool Campaign\text.eng.libx. Open it in a text editor and enter the required text (look at the original campaigns for the file format, 0 is the title, 10 and onwards is mission briefings)
  • For each mission of your campaign, create a folder under your campaigns\My Cool Campaign\ folder matching mission name listed in earlier (e.g. campaigns\My Cool Campaign\MissionOne)
  • In each mission folder put the .map and .dat files for your mission, for example campaigns\My Cool Campaign\MissionOne\MissionOne.map

If you are unsure look at the original campaigns and make sure you have the same folder structure.

Optional steps

Scripting

...

Translations

Run TranslationManager.exe from the main Knights Province folder and select your campaign text file, for example campaigns\My Cool Campaign\text.eng.libx. Enter translations for your campaign in the appropriate boxes and click save. Languages which do not have a translation will use English instead.

Audio

Place the mission briefing audio as MP3 files in each mission folder, for example campaigns\My Cool Campaign\MissionOne\MissionOne.eng.mp3. You can provide the audio in any language by using the appropriate language code instead of eng.