How does Valve make the map names show up differently?

Discussion in 'Mapping Questions & Discussion' started by luxatile, Aug 23, 2008.

  1. luxatile

    aa luxatile deer

    Messages:
    2,289
    Positive Ratings:
    1,349
    Sorry about the bad title, but it's hard to describe this question with few words. :p

    The file names for a few of Valve's maps include cp_gravelpit, pl_goldrush and pl_badwater.
    However, during the loading screen, under "you're on your way to..." the names show up as Gravel Pit, Gold Rush and Badwater Basin, instead of Gravelpit, Goldrush and Badwater as the file names would suggest.

    How do they do that? I'm curious because I'd rather have my map name show up as Smoke on people's screens rather than Smoke Stage1 A3 or something like that.
     
  2. VelvetFistIronGlove

    aa VelvetFistIronGlove

    Messages:
    567
    Positive Ratings:
    437
    That's hardcoded into client.dll, I'm afraid. Not something we can put in the map.
     
    • Thanks Thanks x 3
  3. luxatile

    aa luxatile deer

    Messages:
    2,289
    Positive Ratings:
    1,349
    Oh, I see. That's too bad.
     
  4. Nineaxis

    aa Nineaxis Quack Doctor

    Messages:
    1,767
    Positive Ratings:
    1,404
    :( sald facwe
     
  5. Shaar

    Shaar L3: Junior Member<BR>toboruin

    Messages:
    231
    Positive Ratings:
    103
    I thought, that if it uses the standard prefixes, it automatically does it. I'm not to sure though.
     
  6. Vander

    Vander L8: Fancy Shmancy Member

    Messages:
    507
    Positive Ratings:
    111
    I think you're right.
     
  7. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    The prefixes dissapear if you use a standard one (with the exception of arena) and _'s dissapear, but other than that there is no way to change what it displays :(
     
  8. cornontheCoD

    cornontheCoD L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    70
    at least a fairly new fix gets rid of the underscores.
     
  9. Vicenti

    Vicenti L2: Junior Member

    Messages:
    52
    Positive Ratings:
    1
    This is not something to hardcode. Silly Valve.
     
  10. luxatile

    aa luxatile deer

    Messages:
    2,289
    Positive Ratings:
    1,349
    On the subject of removing prefixes, I wonder why they haven't bothered to make it so that the arena_ prefix is removed. For example, arena_lumberyard shows up as Arena Lumberyard.
     
  11. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,745
    I think since they've made it such a big thing (changing the server to it and everything) they decided to make people sure they were joining arena.
    Also, for well granary and badlands it would have had to be "well(arena)", "badlands(arena)" and "granary(arena)" to avoid confusion between the other gametypes