Cubemap error???

Discussion in 'Mapping Questions & Discussion' started by PRG013, Jan 22, 2012.

  1. PRG013

    PRG013 L1: Registered

    Messages:
    19
    Positive Ratings:
    5
    When following the steps to do a cubemap, this is the error I get:

    ] mat_specular 0
    Requesting texture value from var "$basetexture" which is not a texture value (material: skybox/sky_hydro_01rt)
    Requesting texture value from var "$basetexture" which is not a texture value (material: skybox/sky_hydro_01bk)
    Requesting texture value from var "$basetexture" which is not a texture value (material: skybox/sky_hydro_01lf)
    Requesting texture value from var "$basetexture" which is not a texture value (material: skybox/sky_hydro_01ft)
    Redownloading all lightmaps
    ] buildcubemaps
    bounce: 1/1 sample: 1/2
    bounce: 1/1 sample: 2/2
    *** Error: Skybox vtf files for sky_hydro_01 weren't compiled with the same size texture and/or same flags!
    Can't load skybox file sky_hydro_01 to build the default cubemap!
    ] mat_specular 1
    *** Error unserializing VTF file... is the file empty?
    Error reading texture header "materials/maps/pmv_test_skybox/c1672_-1685_-112.vtf"

    Redownloading all lightmaps
    ] disconnect

    I am mainly concerned with the RED message. I do see an empty folder created on my PC.

    Any advice would be greatly appreciated.
     
  2. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
    Verify your game files, and if nothing is wrong, do it once or twice more. It's annoying and time consuming, but you've probably just got some file corruption. Steam doesn't always catch it during verification for some reason.
     
  3. PRG013

    PRG013 L1: Registered

    Messages:
    19
    Positive Ratings:
    5
    Funny. I changed the Skybox texture to sky_dustbowl_01 and the error is gone:

    ] mat_specular 0
    Requesting texture value from var "$basetexture" which is not a texture value (material: skybox/sky_dustbowl_01rt)
    Requesting texture value from var "$basetexture" which is not a texture value (material: skybox/sky_dustbowl_01bk)
    Requesting texture value from var "$basetexture" which is not a texture value (material: skybox/sky_dustbowl_01lf)
    Requesting texture value from var "$basetexture" which is not a texture value (material: skybox/sky_dustbowl_01ft)
    Redownloading all lightmaps
    ] buildcubemaps
    bounce: 1/1 sample: 1/2
    bounce: 1/1 sample: 2/2
    Can't load skybox file sky_dustbowl_01 to build the default cubemap!
    ] mat_specular 1
    Redownloading all lightmaps
    ] disconnect
     
  4. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,031
    Positive Ratings:
    3,975
    If you were using an HL2 sky, make sure you extract it and put it in the right spot in you tf/ folder.
     
  5. PRG013

    PRG013 L1: Registered

    Messages:
    19
    Positive Ratings:
    5
    I was using sky_hydro_01 when I got the error. That was a TF2 sky.