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.
[03:18 am]
Symmetry -- Make maps for the memes :hurr:
[08:19 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
hah yeah in the past that might've been up my alley. haven't really been mapping lately, been too busy with everything else. and kinda lost interest too tbh. just not enough people left on SC to feel worth investing the time personally.
[08:03 pm]
lil-Inferno -- u
[2026-10-30. : 7:38 am]
NudeRaider -- damn, if that doesn't scream UV, I don't know what does. https://staredit.net/382067/
[2026-10-30. : 6:55 am]
UndeadStar -- :wob:
[2026-10-30. : 2:28 am]
Symmetry -- :wob:
[2026-10-29. : 9:17 pm]
RIVE -- :wob:
[2026-10-29. : 7:03 pm]
CoCo( -- OK, click here if any1 is interested in this $ making opportunity https://staredit.net/topic/18952/
[2026-10-29. : 4:39 pm]
NudeRaider -- sure, make a post in ums assistance
[2026-10-29. : 6:44 am]
CoCo( -- anyone willing to help fix a few triggers on a new "impossible" map? Please
Please log in to shout.


Members Online: Dem0n