TeamSurvivalXtreme / SXCollection

SXC (SurvivalXtreme map Collection) add-on for Wesnoth
GNU General Public License v2.0
5 stars 2 forks source link

SXC Support more than 4 ai sides #46

Closed stevecotton closed 6 years ago

stevecotton commented 6 years ago

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.