Map Appears Purple....

Discussion in 'Mapping Questions & Discussion' started by Slygathor, Feb 3, 2010.

  1. Slygathor

    Slygathor L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Hello all, I just started last week creating a map using the swamp stuff. I compiled, and created everything following some of the tutorials on here and a few other sites, but when I load it onto my server everything in the map appears purple to everyone except me. Can anyone shed some light onto this for me? And just as an aside, I was creating a spin off of achievement_idle, only using a swamp theme.
     
  2. Dr. KillPatient

    Dr. KillPatient L3: Member

    Messages:
    115
    Positive Ratings:
    8
    The purple most likely means it doesn't have reflections to work with. Have you placed cubemaps to tell the engine where to reflect from? If not, place an entity called env_cubemap 72 or so units above the floor in each area that is a major change to how the map looks.
    Then go ingame, open your map, and input these commands:
    sv_cheats 1 --- allows cheats
    mat_specular 0 --- disables reflection
    buildcubemaps --- builds reflections. Images should flash across the screen at this point.
    mat_specular 1 --- enables reflection
    mat_reloadallmaterials --- reloads the materials in the map

    Not sure about the order of the last two but I think it might not matter. If it still shows purple after this, switch to a different map and then switch to your map again.
     
    Last edited: Feb 3, 2010
  3. fubarFX

    aa fubarFX The "raw" in "nodraw"

    Messages:
    1,597
    Positive Ratings:
    1,677
    hum EVERYTHING purple? for everyone except you?
    you did not include the custom materials in your map with pakrat.
    you see you have the swamp texture/models in your tf folder but others don't. that's why you're the only one who can see it properly.
    instead of asking people to install the swamp theme on their tf, we use pakrat to include every custom material inside the .bsp

    http://developer.valvesoftware.com/wiki/Pakrat
     
  4. Slygathor

    Slygathor L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Interesting. I'll have to try this when I get a chance. Thanks.