One time I decided to cheat myself to level 50 from the beginning of a playthrough. For the early part of the game, the enemies were pushovers because of this.

But later on, it started taking the same amount of hits to destroy enemies as it took when I was "only" in my 20s in a earlier playthrough, despite massive damage numbers like "300" appearing over them.

At what point do enemies start scaling to your level? Is it something that's a separate script, or part of the enemies themselves?

What I'm asking here is, if I wanted to create a mod that includes a new area with enemies, how would I get the enemies to scale to whatever level the player currently is?

Maybe it was just Peragus and not Telos. Can't remember for sure, it's been a while since I did that. Because I leveled up at the beginning, I was still in that area, so that's why they didn't scale immediately?