map photo does not display properly

Discussion in 'Mapping Questions & Discussion' started by Werewolf, Nov 29, 2014.

  1. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    788
    Positive Ratings:
    233
    I've just noticed that my menu photo is not displaying properly on other peoples screens. Its displaying like this (taken from my testing laptop):
    [​IMG]
    when it should look like this:
    [​IMG]

    For reference, this is the vmt file for it:
    Code:
    "UnlitGeneric"
    {
    	"$basetexture" "vgui\maps\menu_photos_dr_bank_v1"
    	"$translucent" "1"
    	"$ignorez" "1"
    }
    Is this correct, or have I done something wrong here? I followed THIS guide when making the files.
     
  2. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    949
    Positive Ratings:
    936
    You can see it correctly, meaning there can't be any problems with the files.
    (You forgot "$vertexcolor" 1 btw)

    I gues it got corrupted during packing. Load up the map without the files in the directories to test that theory.
     
  3. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    788
    Positive Ratings:
    233
    No I can see it fine in the bottom pic because that was taken on the PC I made the map on. I Packed everything and copied the map over to my testing laptop, and got the top picture as a result.
     
  4. Crash

    aa Crash func_nerd

    Messages:
    3,186
    Positive Ratings:
    4,899
    That's what Tumb means. It works fine on your end so it's poetically a packing issue. Have you tried repacking it to see if it does it again?
     
    • Thanks Thanks x 1
  5. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    788
    Positive Ratings:
    233
    No not yet. I packed it before with BspZip using this code:
    Code:
    materials/vgui/maps/menu_photos_dr_bank_v1.vmt
    C:\Users\Adam\Documents\Mapping\DR_Bank\To Pack\menu_photos_dr_bank_v1.vmt
    materials/vgui/maps/menu_photos_dr_bank_v1.vtf
    C:\Users\Adam\Documents\Mapping\DR_Bank\To Pack\menu_photos_dr_bank_v1.vtf
    And yes I checked that the vmt points to the vtf
     
  6. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    949
    Positive Ratings:
    936
    Use something-that-is-not-just-BspZip
    Examples: VIDE, BspZipGui
     
  7. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    788
    Positive Ratings:
    233
    Just tried a fresh compile and using vide instead of bspzip - same result.
     
  8. Izotope

    aa Izotope Never releases maps

    Messages:
    622
    Positive Ratings:
    586
    I had the same issue before, what fixed it for me was a fresh export of the files from VTFedit without using the previously used filename and without renaming it after the new export.

    This also fixed an issue where I updated a texture but saw the old one with the same name in the map.

    TL;DR
    Export your files again with a new unique name never used before.
     
  9. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    788
    Positive Ratings:
    233
    Right done this and got the same result again. However while building the cubemaps I noticed this in the console (in red)
    Code:
    CMaterial::PrecacheVars: error loading vmt file for vgui/maps/menu_photos_dr_bank_v2
     
  10. Izotope

    aa Izotope Never releases maps

    Messages:
    622
    Positive Ratings:
    586
    Welp I'm out of ideas
     
  11. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    788
    Positive Ratings:
    233
    I Googled this and the results aren't much help. I did notice however that the my vmt had backslashes in the path instead of forward ones, so tried swapping those around. Nothing.

    Just to rule it out, could it be my laptop? It's my old Acer Aspire 5810T which has a clean install of TF2 on it - no custom content what so ever, making it ideal for testing both if files have been backed properly and how well any map runs on the equivalent of a toaster.
    It runs TF2 with everything set to the lowest possible setting, with exception of the resolution, which I go one up from the base 640x480 to 800x600.
    Yes I have validated the files on it just to be sure. It might not be the problem but it might be worth checking anyway.

    Besides that, any other ideas anyone?