Bob Dalton
Chieftain
- Joined
- Oct 30, 2016
- Messages
- 4
Being an experienced CIV modder I thought I would pass on what I have learned about changing starting units in Civ VI for what its worth.
When attempting to edit the ERAS.XML file in the Base\Assets\Gameplay\Data directory to change starting units the only acceptable parameters at this time are:
"Unit" TEXT NOT NULL,
"Era" TEXT NOT NULL,
"District" TEXT NOT NULL DEFAULT "DISTRICT_CITY_CENTER",
"Quantity" INTEGER NOT NULL DEFAULT 1,
"NotStartTile" BOOLEAN NOT NULL CHECK (NotStartTile IN (0,1)) DEFAULT 0,
"OnDistrictCreated" BOOLEAN NOT NULL CHECK (OnDistrictCreated IN (0,1)) DEFAULT 0,
"AiOnly" BOOLEAN NOT NULL CHECK (AiOnly IN (0,1)) DEFAULT 0,
"MinDifficulty" TEXT,
"DifficultyDelta" REAL NOT NULL DEFAULT 0,
This comes from the 01_GameplaySchema.sql file located in the Base\Assets\Gameplay\Data\Schema directory.
FYI the SQL schema basically builds a table called "MajorStartingUnits" which contains reference only information on starting units from information contained in the ERAS.XML file.
There is no provided parameter at present that I could find that will allow a unit to be assigned only to the human player. At present you have only two choices:
1. AI players get a unit but the human player doesn't
or
2. Everyone gets the same unit.
The game authors really need to consider altering the "AIOnly" parameter to allow assignment of a unit just to a human or create another parameter specifically just for that purpose.
Bob Dalton
When attempting to edit the ERAS.XML file in the Base\Assets\Gameplay\Data directory to change starting units the only acceptable parameters at this time are:
"Unit" TEXT NOT NULL,
"Era" TEXT NOT NULL,
"District" TEXT NOT NULL DEFAULT "DISTRICT_CITY_CENTER",
"Quantity" INTEGER NOT NULL DEFAULT 1,
"NotStartTile" BOOLEAN NOT NULL CHECK (NotStartTile IN (0,1)) DEFAULT 0,
"OnDistrictCreated" BOOLEAN NOT NULL CHECK (OnDistrictCreated IN (0,1)) DEFAULT 0,
"AiOnly" BOOLEAN NOT NULL CHECK (AiOnly IN (0,1)) DEFAULT 0,
"MinDifficulty" TEXT,
"DifficultyDelta" REAL NOT NULL DEFAULT 0,
This comes from the 01_GameplaySchema.sql file located in the Base\Assets\Gameplay\Data\Schema directory.
FYI the SQL schema basically builds a table called "MajorStartingUnits" which contains reference only information on starting units from information contained in the ERAS.XML file.
There is no provided parameter at present that I could find that will allow a unit to be assigned only to the human player. At present you have only two choices:
1. AI players get a unit but the human player doesn't
or
2. Everyone gets the same unit.
The game authors really need to consider altering the "AIOnly" parameter to allow assignment of a unit just to a human or create another parameter specifically just for that purpose.
Bob Dalton