DarkAlzara
Chieftain
- Joined
- Jul 1, 2020
- Messages
- 39
Hey I have a question regarding load order (though this may not be my issue: not entirely sure).
So in my mod, which uses the Anno Domini mod as a base, I have set one of my custom civilizations to have the Cree Okihtcitaw as a unique unit. Everything works fine and dandy and I have these wonderful guys running all over the map. The problem came when researching the tech that allowed the unit to be upgraded. My Okihtcitaws now seem unable to upgrade. I'm not entirely sure why. They are supposed to upgrade to a skirmisher just like the scout that they replace.
I also tried a little test, modifying the regular scout to upgrade to the archer instead of the skirmisher, which also didn't seem to work. This makes me think that something is interfering with my code.
I have set the "priority" of all of my files to 1000 and Anno Domini is listed as a required dependency mod, so logically everything from Anno Domini should update first. Does anybody know what I'm missing? My code is pasted below!
So in my mod, which uses the Anno Domini mod as a base, I have set one of my custom civilizations to have the Cree Okihtcitaw as a unique unit. Everything works fine and dandy and I have these wonderful guys running all over the map. The problem came when researching the tech that allowed the unit to be upgraded. My Okihtcitaws now seem unable to upgrade. I'm not entirely sure why. They are supposed to upgrade to a skirmisher just like the scout that they replace.
I also tried a little test, modifying the regular scout to upgrade to the archer instead of the skirmisher, which also didn't seem to work. This makes me think that something is interfering with my code.
I have set the "priority" of all of my files to 1000 and Anno Domini is listed as a required dependency mod, so logically everything from Anno Domini should update first. Does anybody know what I'm missing? My code is pasted below!
Code:
INSERT INTO CivilizationTraits
(CivilizationType, TraitType )
VALUES ('CIVILIZATION_NAERALITH_SCARTHIA', 'TRAIT_CIVILIZATION_UNIT_CREE_OKIHTCITAW' );
UPDATE UnitUpgrades
SET UpgradeUnit = 'UNIT_ARCHER'
WHERE Unit = 'UNIT_SCOUT';
DELETE FROM UnitUpgrades
WHERE Unit = 'UNIT_CREE_OKIHTCITAW';
INSERT INTO UnitUpgrades
(Unit, UpgradeUnit )
VALUES ('UNIT_CREE_OKIHTCITAW', 'UNIT_SKIRMISHER');