Well you might be able to increase it somewhat.kronenblatt wrote: ↑Tue Jul 29, 2025 7:25 amAha, I see. So can't really be altered by me in any way? (I'd ideally like twice that amount, e.g., 512, or at least something around 400.)rbodleyscott wrote: ↑Tue Jul 29, 2025 7:22 amNot exactly hardcoded, but the problem is that the game stores units prior to unit selection in the border of the map behind the player's table-edge. There simply aren't enough squares in the border to store unlimited number of units.kronenblatt wrote: ↑Tue Jul 29, 2025 6:35 am There also seems to be a cap (256) to the total number of units that are loaded/shown for unit selection. All the unit types and their maximum numbers show fine in the army selection stage (see first picture below), but when having created the battle, at unit selection stage (see second picture) the interface only shows 256 units in total, cutting off in the order set in armylist.txt. (Please note the Nubian Archers cutoff: Nubian Archers is the 13th unit type in an army list of 21 unit types (each with a max of 20 units), so cuts them off at 16 units to sum up to 256 units in total, 12*20 + 16 = 256.)
Can this be altered or is it hardcoded?
Try altering MAX_BATTLE_UNITS in Macros.bsf until it falls over. I think 512 would probably be doable.
The absolute maximum (I think) would be 896 and then only if the playable map width isn't less than 32.
					
					
