ET server side question


(pctimes) #1

How can I remove the 6 stock maps from being voted by players?

Thank you,

MacDaddy


(kamikazee) #2

You could disable map voting all together…


(pctimes) #3

No the thing is that I have an ETPro TJ server with over 50 maps to chose from. If I disable voting no one else but the referee will be able to change map. Some TJ maps have 0 time limit so it’s impossible. I need to remove the stock maps and keep only the TJ ones in the etmain folder.


(Ragnar_40k) #4

I made a little .pk3 which alters the .arena-files for the stock maps. It removes the gametypes “wolfmp” and “wolfsw” from the “type” setting in the arena files (leaving only “wolflms”). So the maps shouldn’t show up in the voting list for gametype 2.

http://mitglied.lycos.de/clanxrated/dl.htm -> remove_stock_maps.pk3


(SCDS_reyalP) #5

you could probably do this with the lua mod API as well: http://wolfwiki.anime.net/index.php/ETPro:Lua_Mod_API


(pctimes) #6

Thank you,

I’ll see what I can do.

Edit: After checking both solutions I decided to use both. The pk3 to hide the maps from the menu and lua to cancel the /callvote map stockmap from console.

Thanks again guys!