Cross-Platform Civ3 Editor - Districts Edition

Cross-Platform Civ3 Editor - Districts Edition 1.6

This is a fork of the excellent Civ 3 Cross-Platform Editor by Quintillus, adapted to support the Districts feature of the popular C3X mod.

507442905-93ac9f3b-dc9c-49a7-8b08-5b0d77186193.gif


Output:
1762620403649.png


Installation

The installation requirements and steps are exactly the same as those described in the main Cross-Platform Civ3 Editor instructions.

Usage

This adaptation of the Editor changes only 2 things:
  1. Support for adding/removing/editing Districts on the MAP tab
  2. Support for loading & saving *.c3x.txt files to store your Districts and load from C3X/Civ
The Editor supports Standard Districts, as well as completed Wonder Districts and Natural Wonders.

Editing Districts on the Map
You can find the "Districts mode" D button in the top right. Selecting that will enable you to add districts to the map.
1762620553797.png


District Configurations and Images loaded in the Editor

Just like in C3X, the Editor will search for and parse
  1. default.districts_config.txt (under /C3X)
  2. custom.districts_config.txt (optional, under /C3X)
  3. scenario.districts_config.txt (optional, in the same folder as your scenario BIQ file)
If any config files are found, the values override entries from the previous one. The District art images, in turn, are loaded based on your config values (see the C3X District documentation for details).

Note that Editor expects to be in the Civ 3 root directory, and C3X Districts images must be under /Conquests/C3X/Art/Districts/1200/. If not in that location, Districts art will not be shown.

Saving and Loading Districts​

The editor introduces a very simple human-readable file format for saving Districts. From the above example:
1762620766990.png

The Editor will save the file with exactly the same name as your scenario, and this is what C3X expects as well. So if you save a scenario called my_scenario, you will see output files in the same folder for both the BIQ and <scenario>.c3x.txt files:
1762620816835.png

And that's basically it!

Why not save directly in the BIQ file? I tried a number of approaches with this, but the BIQ file really is set in stone and not amenable to new sections, at least in my testing (both Civ 3 and the Editor itself broke). On the flip-side, one major benefit of having a human-readable file for this though is how easy it is to interpret and update yourself!

Running with C3X

In the upcoming version 26 of C3X, Civ 3 will automatically read and add your Districts alongside your BIQ file, provided they have the same name and are in the same folder:
1762620898746.png

1762620917564.png


If you don't have a <scenario>.c3x.txt file, that's fine too and Districts will not be added. C3X will also notify you of any issues it has in parsing the file, skipping district entries with errors:
1762620961038.png


Source Code

Like Quintillus's main Cross Platform Civ3 Editor (without which this would not be possible!), the Districts-enabled fork of it is open-sourced and available in GitHub at https://github.com/instafluff0/Civ3_Editor_Fork_for_C3X_Districts.

Special Thanks

@Quintillus and @Flintlock
Author
instafluff
Downloads
17
Views
108
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from instafluff

Back
Top Bottom