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-4-29. : 2:00 am]
l)ark_ssj9kevin -- hi jamal
[2026-4-29. : 12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: humberto025, Moose