A space in the map name without using an underscore?

Discussion in 'Mapping Questions & Discussion' started by toutfou, Sep 10, 2008.

  1. toutfou

    toutfou L3: Member

    Messages:
    136
    Positive Ratings:
    16
    Hi folks,

    Anyone know how to get a space in between your maps name without using an underscore? I.E. cp_gravelpit displays as Gravel Pit in game. I tried looking at the source of Gravel but couldn't find where this was set.

    Cheers
    toutfou
     
  2. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    143
    Underscores and standard prefixes (except arena) are automatically removed when you play your map. Just make one called cp_my_test, and it should show up on the loading screen as My Test
     
  3. toutfou

    toutfou L3: Member

    Messages:
    136
    Positive Ratings:
    16
    Thanks, I'm aware of that method. I was just wondering how cp_gravelpit remains cp_gravelpit, but displays as Gravel Pit in the HUD.
     
  4. Snipergen

    Snipergen L13: Stunning Member

    Messages:
    1,053
    Positive Ratings:
    150
    That's hardcoded in the server scripts.
    I didn't want to say engine because that's not really correct :p
     
  5. toutfou

    toutfou L3: Member

    Messages:
    136
    Positive Ratings:
    16
    Cheers, thought that may have been the case! ;)