In this small text tutorial we're going to be covering on how to setup your own map rotation on your server.
Assuming you already have your server setup with silent mod we're going to go into our etmain folder and create a file called objmaps.cfg
Now you're going to open it with your favorite text editor mine happens to be notepad++
Copy&Paste this into it.
Code:
set d1 "set g_gametype 2 ; map goldrush-ga ; set nextmap vstr d2"
set d2 "set g_gametype 2 ; map Frostbite ; set nextmap vstr d3"
set d3 "set g_gametype 2 ; map braundorf_final ; set nextmap vstr d4"
set d4 "set g_gametype 2 ; map bremen_final ; set nextmap vstr d5"
set d5 "set g_gametype 2 ; map caen2 ; set nextmap vstr d6"
set d6 "set g_gametype 2 ; map mp_base ; set nextmap vstr d7"
set d7 "set g_gametype 2 ; map UJE_sniper ; set g_sniperwar 1 ; set nextmap vstr d8"
set d8 "set g_gametype 2 ; map adlernest ; set g_sniperwar 0 ;set nextmap vstr d9"
set d9 "set g_gametype 2 ; map et_beach ; set nextmap vstr d10"
set d10 "set g_gametype 2 ; map venice_ne4 ; set nextmap vstr d11"
set d11 "set g_gametype 2 ; map oilraid ; set nextmap vstr d1"
vstr d1
Explanation:
set d1 < this is for the vstr ( if you dont understand it google )
set g_gametype 2 < this is the game type/mode you want.
map mapname < this is the name of the map ( MAKE SURE ITS THE BSP NAME )
set nextmap vstr d2 < this tells the file to go to d2 ( next map when previous map ends )
Also you can set other values in between these settings
Example: Enabling sniper war
set d7 "set g_gametype 2 ; map UJE_sniper ; set g_sniperwar 1 ; set nextmap vstr d8"
If you do this be sure to turn it off on the next map
set d8 "set g_gametype 2 ; map adlernest ; set g_sniperwar 0 ;set nextmap vstr d9"
Now this is just an example so i'm going to go ahead and assume you have the maps you want in your etmain. Modify the template above to fit to your map rotation.
After you're done setting it to your map rotation you are going to want to save it, and open up silent.cfg. This is located in your etmain as well.
Open it up with your text editor, and scroll down to the bottle you're going to want to put " exec objmaps.cfg " without quotes.
Restart your server and bam there you go map rotation. x)
Getting the BSP map name:
You're going to download your map, right click on it and rename the .pk3 extension to .rar.
Then you're going to double click it and open it up and you'll see this
Now go inside the folder called "maps" inside of there you see a file with a name and a .bsp extension.
That is the name you are going to use inside of your objmaps.cfg. Most maps have the same name and BSP name, but if for some reason one of your maps aren't working that's probably 9/10 the reason it's not working.