PDA

View Full Version : simple rcon map guide -by worm


rudedog
02-25-2005, 11:36 PM
This guide you can modify your map.cfg file so you can have a simple way to remember map names and/or how to change the gametype via rcon

set sd_maps "set sv_mapRotation "map mp_brecourt map mp_carentan map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket"" set dm_maps "set sv_mapRotation "map mp_brecourt map mp_carentan map mp_chateau map mp_dawnville map mp_depot map mp_harbor map mp_hurtgen map mp_pavlov map mp_powcamp map mp_railyard map mp_rocket map mp_ship""

// Death Match Rotation
set d_brecourt "set g_gametype dm; map mp_brecourt; vstr dm_maps"
set d_carentan "set g_gametype dm; map mp_carentan; vstr dm_maps"
set d_chateau "set g_gametype dm; map mp_chateau; vstr dm_maps"
set d_dawn "set g_gametype dm; map mp_dawnville; vstr dm_maps"
set d_depot "set g_gametype dm; map mp_depot; vstr dm_maps"
set d_harbor "set g_gametype dm; map mp_harbor; vstr dm_maps"
set d_hurtgen "set g_gametype dm; map mp_hurtgen; vstr dm_maps"
set p_pavlov "set g_gametype dm; map mp_pavlov; vstr dm_maps"
set d_pow "set g_gametype dm; map mp_powcamp; vstr dm_maps"
set d_rail "set g_gametype dm; map mp_railyard; vstr dm_maps"
set d_rocket "set g_gametype dm; map mp_rocket; vstr dm_maps"
set d_ship "set g_gametype dm; map mp_ship; vstr dm_maps"

// Team Death Match Rotation
set t_brecourt "set g_gametype tdm; map mp_brecourt; vstr dm_maps"
set t_carentan "set g_gametype tdm; map mp_carentan; vstr dm_maps"
set t_chateau "set g_gametype tdm; map mp_chateau; vstr dm_maps"
set t_dawn "set g_gametype tdm; map mp_dawnville; vstr dm_maps"
set t_depot "set g_gametype tdm; map mp_depot; vstr dm_maps"
set t_harbor "set g_gametype tdm; map mp_harbor; vstr dm_maps"
set t_hurtgen "set g_gametype tdm; map mp_hurtgen; vstr dm_maps"
set t_pavlov "set g_gametype tdm; map mp_pavlov; vstr dm_maps"
set t_pow "set g_gametype tdm; map mp_powcamp; vstr dm_maps"
set t_rail "set g_gametype tdm; map mp_railyard; vstr dm_maps"
set t_rocket "set g_gametype tdm; map mp_rocket; vstr dm_maps"
set t_ship "set g_gametype tdm; map mp_ship; vstr dm_maps"

// Search and Destroy Rotation
set s_brecourt "set g_gametype sd; map mp_brecourt; vstr sd_maps"
set s_carentan "set g_gametype sd; map mp_carentan; vstr sd_maps"
set s_dawn "set g_gametype sd; map mp_dawnville; vstr sd_maps"
set s_depot "set g_gametype sd; map mp_depot; vstr sd_maps"
set s_harbor "set g_gametype sd; map mp_harbor; vstr sd_maps"
set s_hurtgen "set g_gametype sd; map mp_hurtgen; vstr sd_maps"
set s_pavlov "set g_gametype sd; map mp_pavlov; vstr sd_maps"
set s_pow "set g_gametype sd; map mp_powcamp; vstr sd_maps"
set s_rail "set g_gametype sd; map mp_railyard; vstr sd_maps"
set s_rocket "set g_gametype sd; map mp_rocket; vstr sd_maps"

// Retrieval Rotation
set r_brecourt "set g_gametype re; map mp_brecourt; vstr dm_maps"
set r_carentan "set g_gametype re; map mp_carentan; vstr dm_maps"
set r_chateau "set g_gametype re; map mp_chateau; vstr dm_maps"
set r_dawn "set g_gametype re; map mp_dawnville; vstr dm_maps"
set r_depot "set g_gametype re; map mp_depot; vstr dm_maps"
set r_harbor "set g_gametype re; map mp_harbor; vstr dm_maps"
set r_hurtgen "set g_gametype re; map mp_hurtgen; vstr dm_maps"
set r_pavlov "set g_gametype re; map mp_pavlov; vstr dm_maps"
set r_pow "set g_gametype re; map mp_powcamp; vstr dm_maps"
set r_rail "set g_gametype re; map mp_railyard; vstr dm_maps"
set r_rocket "set g_gametype re; map mp_rocket; vstr dm_maps"
set r_ship "set g_gametype re; map mp_ship; vstr dm_maps"

// Behind Enemy Lines Rotation
set b_brecourt "set g_gametype bel; map mp_brecourt; vstr dm_maps"
set b_carentan "set g_gametype bel; map mp_carentan; vstr dm_maps"
set b_chateau "set g_gametype bel; map mp_chateau; vstr dm_maps"
set b_dawn "set g_gametype bel; map mp_dawnville; vstr dm_maps"
set b_depot "set g_gametype bel; map mp_depot; vstr dm_maps"
set b_harbor "set g_gametype bel; map mp_harbor; vstr dm_maps"
set b_hurtgen "set g_gametype bel; map mp_hurtgen; vstr dm_maps"
set b_pavlov "set g_gametype bel; map mp_pavlov; vstr dm_maps"
set b_pow "set g_gametype bel; map mp_powcamp; vstr dm_maps"
set b_rail "set g_gametype bel; map mp_railyard; vstr dm_maps"
set b_rocket "set g_gametype bel; map mp_rocket; vstr dm_maps"
set b_ship "set g_gametype bel; map mp_ship; vstr dm_maps"

// Call first map on server start-up
vstr s_brecourt


// vstr map names and rotation
Now all they have to do to call a map is:

/rcon vstr

where is one of the following:
s_ (search and destroy)
r_ (retrieve)
t_ (team death match)
d_ (death match)
b_ (behind enemy lines)

and is one of the following:
brecourt
carentan
chateau (does nothing when attempted to be used with s_ prefix)
dawn (for dawnville)
depot
harbor
hurtgen
pavlov
pow (for powcamp)
rail (for railyard)
rocket
ship (does nothing when attempted to be used with s_ prefix)


Example:
/rcon vstr r_rocket
would call up the mp_rocket map with the retrieve game-type, as well make sure that ship and chateau were back in rotation.

Sorry if some of the explination is obvious after looking at the config, but sometimes more explination is better than less.


-worm

bullet-worm
03-16-2005, 06:29 PM
wow.... you dug this up from the old-timers archive! LOL

I actually made that before anyone understood the interaction of sv_maprotation and sv_maprotationcurrent.

Needs to be updated to automatically set sv_maprotationcurrent to "" and add all the new maps.

worm

Eightball28
07-02-2008, 11:20 AM
does this still work for COD4?? I am having a hell of a time trying to change my game mode from team deathmatch. Any Ideas?