Ability to override or define bonus for map in script
Posted: Fri Jul 26, 2013 10:15 am
Hi, I am looking at the possibility to play the skirmish mod I am working on with any combination of nations for player and AI. This requires some code script changes and predefined buyable units for each nation but it will allow the player to choose at the start of each map the nation to play with and vs which one.
The only limitation I have to achieve this, that I can think of now, are the Bonus. As those need to be defined for each side in the BAM file I don't think I can override it in the script. Now that I think of it, maybe also the SIDEID0 defined in the map file will be a problem.
If there was a way to override these definitions by scripting we could use the same maps for battles between different nations.
The only limitation I have to achieve this, that I can think of now, are the Bonus. As those need to be defined for each side in the BAM file I don't think I can override it in the script. Now that I think of it, maybe also the SIDEID0 defined in the map file will be a problem.
If there was a way to override these definitions by scripting we could use the same maps for battles between different nations.