Water console spam

Discussion in 'Mapping Questions & Discussion' started by Yrr, Dec 28, 2016.

  1. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,035
    Positive Ratings:
    2,035
    No such variable "$fogenable" for material "maps/koth_bagel_b3a/water/water_sawmill_0_-4352_28"
    No such variable "$fogend" for material "maps/koth_bagel_b3a/water/water_sawmill_0_-4352_28"
    No such variable "$fogcolor" for material "maps/koth_bagel_b3a/water/water_sawmill_0_-4352_28"
    No such variable "$fogstart" for material "maps/koth_bagel_b3a/water/water_sawmill_0_-4352_28"

    Anyone know what this spam means, what causes it or how to fix it?
     
  2. iiboharz

    aa iiboharz Meme Queen

    Messages:
    724
    Positive Ratings:
    1,054
    It's a VMT error. I believe removing the variables from the VMT would fix it. They're probably deprecated/unused variables that were left in the VMTs or something.
     
  3. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,035
    Positive Ratings:
    2,035
    VMT says they exist but the VMT is also only called "water_sawmill", not "water_sawmill_0_-4352_28"
     
  4. zahndah

    aa zahndah professional letter

    Messages:
    718
    Positive Ratings:
    627
    is that the origin of the water brush or something?

    have you tried just changing water_sawmill then reapplying the texture and seeing what the console says - worth a shot in my opinion
     
  5. Idolon

    aa Idolon the worst admin

    Messages:
    1,573
    Positive Ratings:
    4,675
    "maps/koth_bagel_b3a/water/water_sawmill_0_-4352_28" looks like a material that's been generated for reflectivity purposes. For example, here are all of the .vmt files in Byre's pakfile lump right after compile:

    [​IMG]

    Presumably this is how the engine tells which faces to associate with which cubemaps, by generating a new .vmt for each distinct material that associates with a different cubemap (to be generated by buildcubemaps). I guess somehow this .vmt that's being generated for your water doesn't retain the fog properties?

    If you can still see fog in your water, you can probably ignore the error. It might go away after building cubemaps but I don't really know.
     
  6. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,035
    Positive Ratings:
    2,035
    the water looks foggy as normal and the console spam exists after building cubemaps