Changing server name on change to specific map?

T

The Asylum

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 by a moderator:

MrAlBobo

L13: Stunning Member
Feb 20, 2008
1,059
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...
hostname "A LUElinks Checkpoint Experience.................ctf_checkpoint_rc1a"
Never tried this...but I assume that would work
 
T

The Asylum

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

cool, so where do i put these cfg files?
 

MrAlBobo

L13: Stunning Member
Feb 20, 2008
1,059
219
cool, so where do i put these cfg files?

Put the file in the cfg folder.

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