Page 1 of 1

Lower Vehicle Warfare Flag Cap requirements

Posted: 2021-08-19 15:11
by axytho
Right now it takes:

1 person to cap if player count <= 10
6 people to cap if player count > 10

This makes it difficult to play VW when the player count is between 10 and 20 players, especially since there are often a lot of afk players when VW is run.

Suggestion:

ceil((totalPlayerCount - 2) / 20) + 1 players required to cap a flag.

Re: Lower Vehicle Warfare Flag Cap requirements

Posted: 2021-08-21 11:21
by AlonTavor
Went with

Code: Select all

min(
            max(int(bf2.playerManager.getNumberOfPlayers( ) / 5), 1),
            realityserver.C('VEHICLES_MINNRTOTAKECONTROL')
        )

Re: Lower Vehicle Warfare Flag Cap requirements

Posted: 2021-08-24 13:56
by axytho
Perfect, thanks! :)