Mod author here. I'll help you a bit, since you're determined to make some sort of change, and I received important help on this forum when I was making my mods.
First, your post here is poorly written. You should explain precisely what you want. Be specific.
One of your assumptions is incorrect: DER only uses the current map's enemies to form its roster.
Anyhow, here's a quick way to change EnemyRoster to randomly select from a fixed group of monsters that would be the same for any map.
Replace the declaration line in DER with this:
- Code:
private const string[] EnemyRoster = { "HellKnight", "ShotgunGuy", "Archvile" };
Then the only other change to the DER code is replace the current roster creation block with this:
- Code:
if ( level.time == 2 ) { LastRosterIdx = EnemyRoster.size() - 1; }
I just picked a few vanilla monsters off the top of my head. You can expand the array to whatever you want.