Changing server name on change to specific map?

Discussion in 'Server Discussion' started by The Asylum, Jun 14, 2010.

  1. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    Hey, is it possible to change a server's name to something when it changes to a specific map?

    ie:

    Name...................................................................Map
    A LUElinks Checkpoint Experience.................ctf_checkpoint_rc1a

    to

    A LUElinks Pipeball Classic Experience..........pipeball_classic_a1

    ETA: also, how do I create specific serve configs for certain maps (ie: Having only 10 minutes for one map, 20 for another, etc)
     
    Last edited: Jun 14, 2010
  2. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    since the second question party answers the first, ill answer that first

    You make a map specific config by creating a cfg which matches the name of the map
    so...for ctf_checkpoint_rc1a you make a file called ctf_checkpoint_rc1a.cfg and put whatever commands you want to execute as the map starts in it. Put the file in the cfg folder.

    I would assume that you could change the host name on a per map basis by putting a line in the mapname cfg thats something like...
    Never tried this...but I assume that would work
     
  3. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    cool, so where do i put these cfg files?
     
  4. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    cough cough

    in case thats not enough info...
    it depends how much your host lets you see, in the tf directory you have alot of folders, addons, maps, cfg, etc. Open the cfg folder and add them there.
    In other words it goes in the same location as your server.cfg
     
  5. MjRNuT

    MjRNuT L1: Registered

    Messages:
    21
    Positive Ratings:
    1
    MrAlBobo is exactly correct!!

    Yes you can do hostname change. Any cvar may be changed in a mapname.cfg file.