Rework: Antag distribution

A place to record your ideas for the game.
Post Reply
User avatar
Istoprocent1
Joined: Mon Nov 20, 2017 3:14 pm
Byond Username: istoprocent

Rework: Antag distribution

Post by Istoprocent1 » #617883

There is a policy discussion on maximizing antag and people asking for TC trades, because otherwise they would miss out on having a chance to make the round more interesting.

viewtopic.php?t=30161

This made me think of a code solution that could potentially improve the gameplay and/or fix the issue.

The improved system would work as follows:

a) Every player gets 12 points (the number of rounstart antags), which can be distributed on the character creation screen.
b) Each spent point would increase the player's chance to get the antag they spent it on(think of it as a raffle type thing, the more tickets you have the better your odds).

Example: There are 50 players, round spawns 2 heretics, 2 lings and 2 traitors.

Normally this would mean 6/50*100%=~12% chance of getting ANY antag, if everybody had all antags enabled. For this particular setup getting heretic with only heretic enabled would be 2/50*100%=~4%

For simplicity, lets assume:

* 48 of the players spent 1 point on each antag
* 1 player spent all 12 points on heretic (because they enjoy heretic the most and don't care about getting an antag they don't enjoy only to trade it for heretic)
* 1 player spent 6 points on ling, 3 points on traitor and 3 points on nuke ops

Now when the game would start assigning antags the following would take place:

Each antag would have a pool of "tickets" to draw from.

Heretic would have a pool of 48 (from all players that had 1 point) + 12 (from the heretic enthusiast) = 60 "tickets" for heretic draw. The probability and odds depend on how the game assigns antags. To keep it simple, lets assume Heretic is being assigned first. The odds would work as following for the heretic enthusiast - 12/60+12/59 (this indicates 2 rolls for heretic, there is a ~20% chance for the heretic enthusiast to get either of the rolls, thus ending up with ~40% chance), while the rest of the people would have 1/60+1/59 chance. Keep in mind that one player did not spend any points on heretic - essentially not participating in the heretic rolls as well as the heretic enthusiast missing out on all other rolls because they like heretic the best.

Heretic Enthusiast - (0.2+0.203)*100%=~40.3%
Average Antag Enjoyer with all antags enabled - (~0.016+~0.016)*100%=3.2%

Ling would have a pool of 48 + 6 (ling enjoyer) = 54

Ling Enjoyer - (6/54+6/53)*100%=(~0.111+~0.113)*100%=22.4%
Average Antag Enjoyer with all antags enabled - (1/54+1/53)*100%=(~0.018+~0.018)*100%=3.6%

Traitor would have a pool of 48+3 (traitor preferrer) = 51

Traitor Preferrer - (3/51+3/50)*100%=(~0.058+0.06)*100%=11.8%
Average Antag Enjoyer with all antags enabled - (1/51+1/50)*100%=(~0.019+0.02)*100%=3.9%

At the end of the day the average antag roller would end up with a 3.2%+3.6%+3.9%=10.7% chance to roll antag, while more specialized setups have a better chance of getting their preferred antag with the tradeoff of missing out on the antags they don't enjoy.

The math isn't 100% right and I probably messed up somewhere, but this system would make more sense than everybody drawing randomly and people getting super unlucky or missing out because they didn't enable antags.
Post Reply

Who is online

Users browsing this forum: No registered users