Hardcoded support for 6 AI sides, incomplete support for an arbitrary number
It would be good to support an arbitrary number of AI sides, but that would
require a larger refactor of SXC. The parts that are already complete are in the
"incomplete support for arbitrary numbers of sides", whereas the parts in the
"hardcoded support" commit have simply been updated to fit the number of sides
in the WIP maps with ai10 and possibly ai11.
This requires Wesnoth 1.14. It will seem to work on 1.12.6 until someone saves
and reloads. Saving and reloading on 1.12.6 will reset the team names, and all
team_name based events will stop working.
Use team names "Heroes" and "Enemies" instead of 1,2,3,4,5 and 6,7,8,9.
Hardcoded support for 6 AI sides, incomplete support for an arbitrary number
It would be good to support an arbitrary number of AI sides, but that would require a larger refactor of SXC. The parts that are already complete are in the "incomplete support for arbitrary numbers of sides", whereas the parts in the "hardcoded support" commit have simply been updated to fit the number of sides in the WIP maps with ai10 and possibly ai11.
This requires Wesnoth 1.14. It will seem to work on 1.12.6 until someone saves and reloads. Saving and reloading on 1.12.6 will reset the team names, and all team_name based events will stop working.
Use team names "Heroes" and "Enemies" instead of 1,2,3,4,5 and 6,7,8,9.