Reflection Issues in TF2 Skys

Discussion in 'Mapping Questions & Discussion' started by Anda02, May 30, 2009.

  1. Anda02

    Anda02 L1: Registered

    Messages:
    29
    Positive Ratings:
    2
    I seem to have the problem that when I compile my map, only HL2 skies can work correctly in my map. I have placed cubemaps in the most appropriate places and compiled them with no avail. Only windows and water seem to have this reflective issue, nothing else. (Purple and Black Checkered Reflections)

    I have seen many custom maps with TF2 skies, is there anyway I can fix this?
     
  2. Acegikmo

    aa Acegikmo

    Messages:
    555
    Positive Ratings:
    493
    You might not build the cubes properly.
    Open your map and write this in the console to build them:

    Code:
    mat_specular 0;wait 100;buildcubemaps;wait 100;mat_specular 1
    Then open the console again and type this:

    Code:
    changelevel my_map
    Where my_map is your map name including the prefix.
    Then open the console again and do:

    Code:
    mat_reloadallmaterials
     
    • Thanks Thanks x 1
    Last edited: May 30, 2009
  3. kwagner

    kwagner L2: Junior Member

    Messages:
    92
    Positive Ratings:
    6
    Wild guess:

    When you start Source SDK, do you select "Team Fortress 2" as the current game type at the bottom of this window?

    [​IMG]

    I'm guessing that if you don't the only HL2 skies work right?
     
  4. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,535
    I believe the problem is valve didn't make the TF2 sky VTFs uniform and so you get that "cannot build default cubemap" error when using them. Whereas the HL2 skies successfully get a default cubemap.

    It's a moot point though because they should always be manually built anyway.
     
  5. Anda02

    Anda02 L1: Registered

    Messages:
    29
    Positive Ratings:
    2
    Thank you very much, Acegikmo's method worked, I guess it has just been awhile since I have had to compile cubemaps. :)