Hi. I'm playing around in the "civs" folder of the game and trying to add a new faction. It was easy to create by copying an existing json file and renaming the faction "Code", "Culture" and "Name" to have the new playable faction in the game. However, I hit a snag when trying to change the "StartEntities" to my custom units. The game keeps looking for the removed "StartEntities" with the new civ prefix instead of loading the units I've entered. If I rename my custom units to one of the removed units it does however show up in the game with no problems. Is there a parent file to these files or what am I missing?
This is the edited code in my testciv.json file:
{
"Code": "testciv",
"Culture": "testciv",
"Name": "Testciv",
"Emblem": "session/portraits/emblems/emblem_chinese.png",
"History": "China is one of the world's oldest nations and remains one of the most powerful, dating back over 4,000 years to the present day. The origins of the empire derive from civilizations along the Yellow and Yagntze River valleys. Among the technological achievements of the Han Dynasty era that drive its reputation are the seismograph, medicinal innovations such as acupuncture and highly-disciplined educational institutions. However, perhaps the most memorable achievements of the ancient Chinese are architectural, notably the Terracotta Army and the Great Wall.",
"Music":[
{"File":"Omri Lahav - Red Dawn.ogg", "Type":"peace"},
{"File":"Omri Lahav - Hill of Sorrows.ogg", "Type":"peace"}
],
"Factions":
[
{
"Name": "Testciv",
"Description": "The Rebelling Chinese",
"Technologies":
[
...
"WallSets":
[
"other/wallset_palisade",
"structures/chin_wallset_stone"
],
"StartEntities":
[
{
"Template": "units/testciv_hero_king",
"Count": 4
},
{
"Template": "units/testciv_infantry_knight",
"Count": 2
}
],
...