View previous topic :: View next topic |
Author |
Message |
Krawa There is a limit
Joined: 23 Nov 2008 Location: #SDA
|
Posted: Fri Nov 13, 2009 5:23 pm Post subject: sv_randmaps |
|
|
Hi ZDaemon team!
Is it possible to improve sv_randmaps?
Problem: It can happen, that sv_randmaps picks the same map in a row. (e.g. you finish map05 and sv_randmaps picks map05 again).
So is it possible that sv_randmaps creats a random list and if all maps are played it picks again a new list? Or at least that last map(s) are not picked? Or both |
|
Back to top |
|
|
Kilgore Air Cavalry
Joined: 17 Jun 2003 Location: Up the river
|
Posted: Mon Nov 16, 2009 5:57 pm Post subject: |
|
|
You're describing a hypergeometric distribution which is not really random. I can go up to modifying the current (uniform) method so that it doesn't select any of the last 2 maps. But up to there. |
|
Back to top |
|
|
Krawa There is a limit
Joined: 23 Nov 2008 Location: #SDA
|
Posted: Mon Nov 16, 2009 9:37 pm Post subject: |
|
|
Yeah, that will be cool. Thanks a lot! |
|
Back to top |
|
|
|