Hi all, I wasn't sure where to post this, but I figured this would be the most appropriate spot. I've checked every tutorial in the book on adding a new nation, and for the life of me can not get it to work. When I add my nation (aeduian.ruleset) to the end of the list in nationlist.ruleset, the game loads fine, but my nation simply does not appear in the list. This also occurs if, say, I rename aedui.ruleset to like afghani.ruleset and replace the default Afghani nation. It doesn't read the nation at all and the nation count in the extended nationset drops to 554 instead of 555. However, if I place "*include "nations/aeduian.ruleset"" to the middle or top of the list in nationlist.ruleset, the game crashes when starting the server. I tried to debug by running the server manually with a .bat file and a "pause" command after running the server so I could see the output and it gave an "expected value" error. I am running Windows, which I have read may create a problem with file encoding with line endings, but I have been using Notepad++ for all of my editing purposes, as I understand it negates the problem. I am simply unsure what else to try. I apologize for the length of the post, but I wanted to be thorough.
Here are the contents of aeduian.ruleset:
Code: Select all
[nation_Aeduian]
name=_("Aeduian")
plural=_("?plural:Aedui")
groups="Ancient","European"
legend=_("The Aedui were a Gallic people of Gallia Lugdunensis,\
who inhabited the country between the Arar (Saone) and Liger (Loire),\
in today's France. Their territory thus included the greater part of\
the modern departments of Saone-et-Loire, Cote-d'Or and Nievre.")
leaders = {
"name", "sex"
"Dumnorix", "Male"
"Diviciacus", "Male"
"Cavarillos", "Male"
"Cotos", "Male"
"Divitiacos", "Male"
"Liscos", "Male"
"Litaviccos", "Male"
"Valetiacos", "Male"
"Viridomaros", "Male"
}
ruler_titles = {
"government", "male_title", "female_title"
"Despotism", _("Chieftain %s"), _("?female:Chieftain %s")
"Republic", _("Consul %s"), _("?female:Consul %s")
"Fundamentalism", _("Druid %s"), _("?female:Druid %s")
}
flag = "aedui"
flag_alt = "-"
city_style = "Celtic"
init_techs=""
init_buildings=""
init_units=""
conflicts_with = "Gallic"
civilwar_nations = "Gallic", "Helvetian", "Boian"
cities =
"Bibracte",
"Augustodunum",
"Cabillonum",
"Matisco"
I also have created all flag and shield files for the nation and placed them in data/flags. I have also added the flags and shields to their respective .spec files.