PDA

View Full Version : How are box power-ups assigned/ determined?



rawmilk
12-20-2011, 05:30 PM
Seth,

How did you program what power-ups are assigned to boxes? and how did you program what power-ups are given when respawning?

Is it a random number generator? Shield is 1, Beagle is 2, and Health is 3 and then it is just a random number generator from 1 - 3 that determines what power-ups are in each box...?

or is it a more sophisticated algorithm based on rank?

I ask because it seems as my rank goes up I get fewer shields. Also, I notice that some games provide players numerous shields and I get zero. There have been games where all I received was beagles. In maps such as town, whoever can get shields can rule the map.

Thanks,

-Matt

Seth
12-20-2011, 08:17 PM
It's random, being generated by the server.

Should be exactly the same for everybody, I don't change it for different ranks, so just random luck what you get.

(Unless a special game mode is selected (like the one with all beagles).. but everybody gets the same rules.)