PDA

View Full Version : changing maps in mohaa from obj to tdm and vice versa


JasK1
03-04-2003, 09:39 PM
in the old pgj security config there was this option.

in the cfg file it said..

//Map Aliases to make it easier for you to switch between maps.
alias map_hunt "seta g_gametype 4; map obj/obj_team1"
alias map_v2 "seta g_gametype 4; map obj/obj_team2"
alias map_omaha "seta g_gametype 4; map obj/obj_team3"
alias map_bridge "seta g_gametype 4; map obj/obj_team4"
alias map_france "seta g_gametype 2; map dm/mohdm1"
alias map_dv "seta g_gametype 2; map dm/mohdm2"
alias map_ramagen "seta g_gametype 2; map dm/mohdm3"
alias map_crossroads "seta g_gametype 2; map dm/mohdm4"
alias map_snow "seta g_gametype 2; map dm/mohdm5"
alias map_stalin "seta g_gametype 2; map dm/mohdm6"
alias map_stalingrad "seta g_gametype 2; map dm/mohdm6"
alias map_algiers "seta g_gametype 2; map dm/mohdm7"
alias map_france_rb "seta g_gametype 3; map dm/mohdm1"
alias map_dv_rb "seta g_gametype 3; map dm/mohdm2"
alias map_ramagen_rb "seta g_gametype 3; map dm/mohdm3"
alias map_crossroads_rb "seta g_gametype 3; map dm/mohdm4"
alias map_snow_rb "seta g_gametype 3; map dm/mohdm5"
alias map_stalin_rb "seta g_gametype 3; map dm/mohdm6"
alias map_stalingrad_rb "seta g_gametype 3; map dm/mohdm6"
alias map_algiers_rb "seta g_gametype 3; map dm/mohdm7"

and then

//Command List alias to tell what commands the server can now do.
alias pjgcommandlist "echo serveradminval &lt;Text>;echo command_interval <integer > ;echo help_password &lt;text>;echo help_ip &lt;text>;echo security_forcemodel &lt;option>;echo security_forcehonesty &lt;option>;echo secuity_forceskin &lt;option>;echo skin_client &lt;clientid>;echo server_suicide &lt;clientid>;echo server_spectator &lt;clientid>;echo switch_axis &lt;clientid>; echo switch_allies &lt;clientid>;echo screenshot_all;echo client_screenshot &lt;clientid>; echo help_forward &lt;clientid>;echo forward_all; echo lock_server; echo open_server; echo ff_on;echo ff_off;echo axis2spec;echo allies2spec;echo axis2allies;echo allies2axis; echo screenshot_axis; echo screenshot_allies;echo map_&lt;mapname>"
alias pjgcmdlist "pjgcommandlist"
alias pjgcmdlst "pjgcommandlist"

sorry for the large post.. :oops:

the question is what do i need from that lot to enable me to use the "map" function again and where should i put it so that it runs. can i add it to MAMsecurity.cfg and if so where abouts in that file should i put it...

The reason for asking is we have an open TDM sever that we lock for Objective matches.

cheers,

JAS