docs/Modders/Making-a-new-Civilization.md
By the end of this tutorial, you should have a working, generally-available mod that adds a new Civilization to the game
Use this template button - Create a new repositoryCreate repository from template (keep setting on 'public'!)Each civ has some basic information - what the civ name is, the leader's name, colors and city names.
In addition, each civ has flavor text when declaring war, intoduction etc.
All of these need to be filled in in jsons/Nations.json file - see here for the base game file for more examples
Each civ has an icon, like the wreath for Rome, for instant identification.
All of these icons are white on a transparent background, and are 100x100 pixels - see icon considerations for details
You'll need to put your icon in the Images/NationIcons folder - you can navigate there and click Add file - Create a new file (top-right corner)
Congrats, your Civ is now fully playable!
!!! note
You currently won't see any images from this mod, since it has no texture atlas - see [here](Images-and-Audio.md#images-and-the-texture-atlas) for more details
If you're on Desktop, you can restart Unciv to generate this atlas and see the images
But this nation's abilities are exactly those of the base mod. To make it truly unique, we'll need to change some Uniques ;)
Units are defined in the jsons/Units.json - for the base game file, see here file, with an icon in the UnitIcons folder.
The icons must be 200x200 pixels, white on transparent background - see icon considerations for details - and go in the Images/UnitIcons folder
Remember that these are unique units, so search for an existing unique unit to see how they replace their regular counterparts!
Same as the units - info is in jsons/Buildings.json - for the base game file, see Buildings.json file and icons in the BuildingIcons folder, same rules for the icons apply (200x200 pixels, icon considerations)
Icons go in Images/BuildingIcons
Check out our list of uniques to see all the cool special effects you can add to your civilization!
To list your mod in the Unciv Mods screen:
Congrats, your mod will now be shown in the mods page!
The more stars your repo has, the higher towards the top it will appear, so start gaining fans :D
ALL icons must be legally acceptable, meaning they either come from from open sources or you act according to their licence (for Creative Commons, for instance, you have to specify the source and the creator).
Icons directly from the base game belong to Firaxis, so I'm not sure we're legally allowed to use them - please use other sources!
One source I use constantly is The Noun Project - everything there is Creative Commons or open, so they can all be used!
Credits for icons should go in a Credits.md page.
You have a working mod, now it's time to go wild!