Troller0001
I've anxiously awaited your arrival!
Goody Hut upgrades are handled through the <GoodyHutUpgradeUnitClass> column in the <Units>-table.
Furthermore, unique units are "the same" as "normal units" as far as most of the game considers, with the exception being that they share the unitclass of another unit and are added as a Civilization_UnitClassOverrides. Long story short: they're also present in the <Units> table just like any non-unique unit
We can thus update the goody hut upgrade via the following SQL:
Note that the above SQL does not alter the normal gold-upgrade path of the pathfinder, as this his handled through the <Unit_ClassUpgrades>-table which we have not modified.
---
The game itself also features such alternative-path upgrades itself: The Warrior upgrades to the Spearman if upgrading via a Goody Hut, or to a Swordsman if upgrading via gold!
EDIT: Changed the invalid column name mentioned in the next two posts
Furthermore, unique units are "the same" as "normal units" as far as most of the game considers, with the exception being that they share the unitclass of another unit and are added as a Civilization_UnitClassOverrides. Long story short: they're also present in the <Units> table just like any non-unique unit
We can thus update the goody hut upgrade via the following SQL:
Code:
UPDATE Units
SET GoodyHutUpgradeUnitClass = 'UNITCLASS_SWORDSMAN'
WHERE Type = 'UNIT_SHOSHONE_PATHFINDER';
Note that the above SQL does not alter the normal gold-upgrade path of the pathfinder, as this his handled through the <Unit_ClassUpgrades>-table which we have not modified.
---
The game itself also features such alternative-path upgrades itself: The Warrior upgrades to the Spearman if upgrading via a Goody Hut, or to a Swordsman if upgrading via gold!
EDIT: Changed the invalid column name mentioned in the next two posts
Last edited: