VTFedit import problem - Image gets corrupted

Discussion in 'Mapping Questions & Discussion' started by Simulacron, Dec 17, 2017.

  1. Simulacron

    Simulacron L6: Sharp Member

    Messages:
    305
    Positive Ratings:
    174
    I'm trying to import a texture into hammer, that I want to use as an overlay.
    Note that the picture has no texture for the background, as it is intended as a logo to put at a wall. I also created a .tga file of this image to avoid any lose of quality.The texture itself is 512 by 512 pixels, so there shouldn't be any problems with the size.
    However, when I open up my tga file (and also the png) in Vtfedit with the "Import" option I get the following texture displayed:
    error1.jpg
    It seems like the texture got corruted or some sort of setting occured.
    Here are my Import settings:
    setting1.jpg setting2.jpg setting3.jpg
    What am I doing wrong? Are my input settings wrong?
     
    Last edited: Dec 17, 2017
  2. Izotope

    aa Izotope Never releases maps

    Messages:
    618
    Positive Ratings:
    582
    Should be fine in hammer/game, VTFEdit shows stuff weirdly for me too sometimes, but they're okay when used in the editor.
     
    • Thanks Thanks x 1
  3. Simulacron

    Simulacron L6: Sharp Member

    Messages:
    305
    Positive Ratings:
    174
    Sadly it isn't. here are the pictures of the hammer and in-game view (I'm mapping for CS:GO btw)
    hammer.jpg game.jpg
    And if someone knows, what command to use in the vmf to make the background transparent I would highly appreciate that!

    Edit: Ok, this is a little bit awkward. I found out how to fix it being not transparent and it fixes all problems. The overlay is now shown correct in-game and in hammer. Thanks for your help Izotope!
     
    Last edited: Dec 17, 2017