This PR removes the hardcoded connection of Tiberiums to Overlays, making any inter-game differences configurable, and allowing for the use of new Tiberiums in the future if any engine extensions support that.
Vanilla overlay IDs are still hardcoded (the same between both games) as fallbacks if none are set in Tiberiums.ini
Also fixes a bug where Tiberiums were duplicated if the [Tiberiums] section was redefined in "RulesFS" and any of the Tiberiums had sections. Simultaneously also makes Tiberium properties be loaded from the map.
Also fixes a bug where the two methods of counting credits on the map overcaulculated the actual number of credits (in the same way as FA2 without FA2 SP), that is, by an extra number of tiles with Triberium * Tiberium value.
The YR config should have the following modification:
This PR removes the hardcoded connection of Tiberiums to Overlays, making any inter-game differences configurable, and allowing for the use of new Tiberiums in the future if any engine extensions support that.
Vanilla overlay IDs are still hardcoded (the same between both games) as fallbacks if none are set in Tiberiums.ini
Also fixes a bug where Tiberiums were duplicated if the [Tiberiums] section was redefined in "RulesFS" and any of the Tiberiums had sections. Simultaneously also makes Tiberium properties be loaded from the map.
Also fixes a bug where the two methods of counting credits on the map overcaulculated the actual number of credits (in the same way as FA2 without FA2 SP), that is, by an extra number of tiles with Triberium * Tiberium value.
The YR config should have the following modification: