PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
39 stars 9 forks source link

No automatic map change possible in Tournament #33

Open kai-li-wop opened 3 years ago

kai-li-wop commented 3 years ago

Added from the old bug tracker and affects WoP 1.6. Please check if this is still relevant.

It would be great if there would be a possibility to create a map rotation. Whether by pointlimit or timelimit would not really matter, because 1. you can never make sure that everyone has played anyway (not with FFA and consorts either) and 2. it would definitely be an improvement to the current situation. ~Hectic

mgerhardy commented 3 years ago

I suppose I don't understand - isn't this was we are talking about here?

// Map rotation
set m1 "map wop_backyard; set next_map vstr m2"
set m2 "map wop_diner; set next_map vstr m3"
set m3 "map wop_cabin; set next_map vstr m4"
set m4 "map wop_trashmap; set next_map vstr m5"
set m5 "map wop_padgarden; set next_map vstr m6"
set m6 "map wop_padkitchen; set next_map vstr m7"
set m7 "map wop_padlibrary; set next_map vstr m8"
set m8 "map wop_padship; set next_map vstr m9"
set m9 "map wop_padattic; set next_map vstr m10"
set m10 "map wop_huette; set next_map vstr m11"
set m11 "map wop_bath; set next_map vstr m12"
set m12 "map wop_padgallery; set next_map vstr m13"
set m13 "map wop_padcastle; set next_map vstr m14"
set m14 "map wop_jail; set next_map vstr m1"

// Game type rotation
set g1 "pointlimit 20; g_gametype 0; set next_gametype vstr g2" // FFA
set g2 "pointlimit 3; g_gametype 4; set next_gametype vstr g3" // LPS
set g3 "pointlimit 30; g_gametype 5; set next_gametype vstr g1" // FFA Team

// Set initial values
set next_map "vstr m1"
set next_gametype "vstr g1"

// Modifying nextmap
set nextmap "vstr execnextmap"
set execnextmap "vstr next_gametype; vstr next_map; set nextmap vstr execnextmap"

// Load first map
vstr nextmap
kai-li-wop commented 3 years ago

I've asked Hectic to join us here on Github to provide a little more input on the bugs he reported years ago.