I know my map suXX really, but I've made it in objrctive of other people making similar map, which not happened.
Today I'm probably to much drunk, but I'll explain you some the primcipe I use, whith my drun k speaking!
so first of all, what made the map worst or good, the randomness. You have two kind of major randomness. Each depending of what you expect. The one : you expect a value which can evolute, and you first test true, and then evolve in test : later testing random one of two, and then three of one... The other random is result achieving all, and you invert, terminating by a sure, if the control event didn't check.
Generating random start location is already simple: you randomize (finishing by true if no building has been generated) to get a kingdom building (do not forget to afford your kingdoms in your .mi file before, avoiding the kingom not found error. then, ensure that few zone of security always link to your castle. But beware! the validation of linking is not as short as you expect.
Then build your random logovo (den of monster), generate some area for each of them, and if probablity said okay, spawn a logovo (tagged) in an area, if there aren't alrealready tooo much building in this area. So it means, like me, you ve got a lot of area for each type of logovo : I've got 8 possibly place for wolves dens, and I check if I could afford a wolf den by their quantity, vicinity of others dens ans randomize luck. Beware, if den are generated too early, they have only 10% life and could not generate monster.
then spawn your standard monster, so just activate the guardian b your set spawn prog reaction (but they have to be tagged, , and randomize delay : use if for limited delay or delay_days/while for event whixh could have a posssibly infinite duration. then delete your already existing tagged guardian before generating new ones (look at first waves), this will avoid you repetition of guardians. Do not forgot to generate also a wave of invader which attavk an area klarge area, defined as world, which means they would attack the nearest player unit. Do not forget to improve power of those spawn after delay, and remove guardians before generatings new ones.
Here we're going to "special waves", sometimes (randomized wait duration in more than one trigger), I said, generate a lair here (logovo_cave, using previous script). And one time lair is generated, randomly generated a content, which will spawn as a first wave and execute order, as attack or protect, and one time first wave is generated, lair is disintegrated, and allow other waves to spawn.
Well guys, niow you know my secrets, !