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.
[10:41 am]
v9bettel -- Nice
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
Please log in to shout.


Members Online: jun3hong, Roy