need help making VTF!

Discussion in 'Mapping Questions & Discussion' started by Twist.vmf, Feb 19, 2017.

  1. Twist.vmf

    Twist.vmf L6: Sharp Member

    Messages:
    362
    Positive Ratings:
    133
    so i want to make an image into a .vtf so i can put it in my map, but i can't get it to work!
    i use VTFedit and when i make a .vtf it makes 2 files of the same name one is .vmf the other is .vtf
    but when i go into hammer not only is it not there but hammer crashes if i try to go to tf

    pleas help!
     
  2. Grubzer

    Grubzer L4: Comfortable Member

    Messages:
    178
    Positive Ratings:
    28
    Install .vtf exporter on your adobe ps, open your image in ps, export it, open in vtfedit, click "create vmt file" and bingo, you have your vtf and vmt, you just have to configure it. Place them in tf/materials/*yourfolder*
    And make sure you set right path to vtf in vmt
     
  3. Twist.vmf

    Twist.vmf L6: Sharp Member

    Messages:
    362
    Positive Ratings:
    133
    Sorry but I can't afford Adobe Photoshop
     
  4. Twist.vmf

    Twist.vmf L6: Sharp Member

    Messages:
    362
    Positive Ratings:
    133
    Besides my new problem is making stuff like posters to put on walls they don't show up in game and they look weird in hammer, like trying to overlay a normal texture
     
  5. Grubzer

    Grubzer L4: Comfortable Member

    Messages:
    178
    Positive Ratings:
    28
    you can find it somewhere else... if you know waht i mean ;)
    Is your 3d view in hammer set to 3D textured, not 3D shaded textured polygons?

    And what do you mean under "weird"
     
  6. Twist.vmf

    Twist.vmf L6: Sharp Member

    Messages:
    362
    Positive Ratings:
    133
    By weird I mean they flash with little vents of the bottom texture as if fighting for dominance
     
  7. frankvega

    frankvega L1: Registered

    Messages:
    21
    Positive Ratings:
    9
    Go to VTFEdit, create both the .vtf and .vmt file. Check the .vtf to see if thats the correct image (just in case), now go to "tf/materials" and make a folder called "twistmapper" or any other name , put the .vtf and .vmt file there and open .vmt, replace all the text in the vmt for this:

    "LightmappedGeneric"
    {
    "$basetexture" "twistmapper/filename"
    "$decal" 1
    "$decalsacle" 0.25
    "$traslucent" 1
    }


    That's the config if you are talking about making a poster like the ones used in HL2 for instance.You can play around the configs and you can edit the "basetexture" line with the folder you want the files to be on, just remember to replace "filename" for the name of your vtf and vmt, you don't need to write down the extension in the vmt.

    If everything is ok, you should be able to see the new texture in the texture tab. In order to place it as a decal you need to select the texture and use the "Apply overlays" tool and remember to have Texture Lock selected in order to change the size of the decal.

    I hope that helped, and I hope I understood what you tried to do.
     
    • Thanks Thanks x 1