Lower Vehicle Warfare Flag Cap requirements

Suggestions from our community members for PR:BF2. Read the stickies before posting.
Post Reply
axytho
Posts: 155
Joined: 2019-03-25 22:32

Lower Vehicle Warfare Flag Cap requirements

Post 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.
Last edited by axytho on 2021-08-20 19:24, edited 3 times in total.
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Lower Vehicle Warfare Flag Cap requirements

Post by AlonTavor »

Went with

Code: Select all

min(
            max(int(bf2.playerManager.getNumberOfPlayers( ) / 5), 1),
            realityserver.C('VEHICLES_MINNRTOTAKECONTROL')
        )
axytho
Posts: 155
Joined: 2019-03-25 22:32

Re: Lower Vehicle Warfare Flag Cap requirements

Post by axytho »

Perfect, thanks! :)
Post Reply

Return to “PR:BF2 Suggestions”