How to set a map's name?

Eight

L1: Registered
Sep 5, 2009
11
0
Hi again

I have an almost complete map now and am just sorting out the finer points such as the map's name. What I have is a map I want to call 'Courtyard Conflict' well I suppose actually 'cp_Courtyard Conflict' , so I save my map as 'Courtyard Conflict' , compile it and then ingame it cannot find the map so I have to rename the .bsp to CourtyardConflict which then is the map's name in the game.

Is there a property I can change somewhere to make the map cp_Courtyard Conflict?

Thanks

8
 

Darth Cyrax

L2: Junior Member
Nov 29, 2008
94
8
umm... your map should have the same name as what you compiled it as. Have you checked your compile log for errors? Usually not being able to find a map is caused by a fatal error during compiling.
 

dirtyminuth

L5: Dapper Member
Nov 5, 2007
221
15
Though I've been away from mapping a while, wouldn't you simply name your map cp_courtyard_conflict? (Note the use of the second underscore)
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,670
You can't. Badwater Basin is something hardcoded into the game. You'll have to settle with cp_courtyard_conflict.bsp (or just cp_conflict.bsp). You should never use capital letters in map filenames because Linux servers don't work well with them. It also doesn't really matter because the font the game displays the name with is all caps anyway.

Further, you can't have a space in the name. That will cause even worse problems (like not even compiling).
 

Psy

The Imp Queen
aa
Apr 9, 2008
1,706
1,491
Bummer. Why must Valve keep hardcoding stuff? First it's map names and now it's the flagging of particle effects as weather!

/angryface