Staredit Network > Forums > SC1 UMS Theory and Ideas > Topic: Real-time Difficulty Scaling for Defense Maps
Real-time Difficulty Scaling for Defense Maps
Mar 28 2018, 6:20 pm
By: lifebot  

Mar 28 2018, 6:20 pm lifebot Post #1



When making a co-op defense map, one major challenge is to make sure the enemy waves are balanced for the number of players present in the game.

For example, if it's a full house game the enemy waves should have more HP than let say, 2 player present in the game.

I have came up with a set of numbers that accurately scales with the number of players present at any given time.

This implementation requires that you check for how many players are present before every round, and set the enemy wave hit points to the following:

PLAYERS IN GAME / ENEMY HP
1 - 45%
2 - 55%
3 - 66%
4 - 76%
5 - 85%
6 - 93%
7 - 100%

It took me a while to come up with these numbers, and I can confirm it works well after countless testing with Turret Defense Remastered.

If you would like to offer multiple difficulty options, simply use the above scale as HARD or NORMAL difficulty and for easier difficulty, reduce all HP by 5-10%.

Hope this helps if you are making defense maps or something like DBZ Saga where you have to fight enemies in a co-op setting.




Mar 29 2018, 12:58 am Pauper Post #2



Could you post a list for hard normap and easy modes?



Alias: Oo.Pauper.oO - Mp)Madness - Bitz - p00pyjoel

Mar 29 2018, 2:33 am lifebot Post #3



EASY MODE

PLAYERS IN GAME / ENEMY HP
1 - 35%
2 - 45%
3 - 56%
4 - 66%
5 - 75%
6 - 83%
7 - 90%


EASY MODE

PLAYERS IN GAME / ENEMY HP
1 - 40%
2 - 50%
3 - 61%
4 - 71%
5 - 80%
6 - 88%
7 - 95%


HARD MODE

PLAYERS IN GAME / ENEMY HP
1 - 45%
2 - 55%
3 - 66%
4 - 76%
5 - 85%
6 - 93%
7 - 100%




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2026-10-05. : 6:14 am]
NimoStar -- But even if she wasn't, the whole NSDAP stormtrooper wing was gay-led back then
[2026-10-05. : 6:13 am]
NimoStar -- rainbow mafia? That gal is like against gay rights (even if she is a lesbian) for example adoption
[2026-10-03. : 7:42 pm]
Symmetry -- Everybody needs somebody to hate, amirite?
[2026-10-03. : 6:57 pm]
Ultraviolet -- even the rainbow mafia is getting accused of being far right now :lol:
[2026-10-03. : 3:05 am]
Oh_Man -- wtf is happening in germany now... https://youtu.be/_oR2SgGvpzo
[2026-10-02. : 5:07 pm]
Symmetry -- no u
[2026-10-02. : 12:54 am]
lil-Inferno -- u
[2026-10-01. : 2:28 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider non-sequitur harder daddy
no shit sherlock. I wanted you explain what you mean with time capsule (hence the question mark!), because obviously what follows makes no sense. For someone so intelligent you can be quite daft at times...
[2026-10-01. : 4:00 am]
Oh_Man -- NudeRaider
NudeRaider shouted: time capsule? you don't talk to 90s kids outside of SEN?
non-sequitur harder daddy
[2026-10-01. : 2:56 am]
Symmetry -- Talk to people? Like in real life?
Please log in to shout.


Members Online: O)FaRTy1billion[MM], lifebot