How to set a map's name?

Discussion in 'Mapping Questions & Discussion' started by Eight, Sep 23, 2009.

  1. Eight

    Eight L1: Registered

    Messages:
    11
    Positive Ratings:
    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
     
  2. Darth Cyrax

    Darth Cyrax L2: Junior Member

    Messages:
    94
    Positive Ratings:
    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.
     
  3. dirtyminuth

    dirtyminuth L5: Dapper Member

    Messages:
    221
    Positive Ratings:
    14
    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)
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,538
    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).
     
  5. Psy

    aa Psy The Imp Queen

    Messages:
    1,705
    Positive Ratings:
    1,480
    Bummer. Why must Valve keep hardcoding stuff? First it's map names and now it's the flagging of particle effects as weather!

    /angryface
     
  6. Eight

    Eight L1: Registered

    Messages:
    11
    Positive Ratings:
    0
    cheers guys =D just what I needed to know