Map-specific Configs

DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
<div class="IPBDescription">How do you do this?</div> My goal is simple: I want different server rules for different maps e.g I want mp_combattime to be 15 on co_tfc_2morfort1_1 and 25 on co_daimos.

<b>How do I create map-specific server configs?</b> I recall doing this from my TFC days.

Comments

  • BryBry Join Date: 2003-01-23 Member: 12609Members
    firstly u need to be running amxmodx, amx doesnt do this afaik (least not without a separate plugin) adminmod does it too though iirc.

    in your amxmodx config folder create a new folder called maps. This is where you place all your map specific config files.

    All files need to be named mapname.cfg e.g. ns_eclipse.cfg.
    Then you simply put all the settings in tehre taht you want difference e.g. your file may look like

    mp_timelimit 20
    mp_limitteams 2

    etc.

    However, make sure you have mapchangecfgfile server.cfg. set in your server.cfg else after a custom map config is run it wont reset back to normal.
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    Ahhhhhhhh, I have this set up but thought it was for pausing certain plugins per map. Now that I have re-read that thread in the AMX Mod X Forums I understand it better.

    Thanks Bry! Off topic, why has your map download site been unavailable?
  • BryBry Join Date: 2003-01-23 Member: 12609Members
    <!--QuoteBegin-kwikloader+Feb 10 2005, 03:57 PM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (kwikloader @ Feb 10 2005, 03:57 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Ahhhhhhhh, I have this set up but thought it was for pausing certain plugins per map. Now that I have re-read that thread in the AMX Mod X Forums I understand it better.

    Thanks Bry! Off topic, why has your map download site been unavailable? <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
    nps mate

    it was download last weeka s was moving host.

    It should be working fine now, are you still having problems with it?
  • DepotDepot The ModFather Join Date: 2002-11-09 Member: 7956Members
    Haven't checked it in a few days, but I shall.
Sign In or Register to comment.