I need help getting a texture to work.

Discussion in 'Mapping Questions & Discussion' started by Kazagin, Aug 12, 2009.

  1. Kazagin

    Kazagin L3: Member

    Messages:
    130
    Positive Ratings:
    9
    I'm nearly done with my map, I just need to decorate it with props and add Lava.
    I am obviously here for the latter of the two.
    I downloaded MangyCarface's texture "Lava!", but I cannot get it to work.
    It came in a folder "scrollinglava", and there were two files, a VMT and a VFT.
    I put the "scrollinglava" folder (with the two files) into "tf>materials", and loaded up Hammer.
    When I found it in the Texture Browser, it was a broken texture. (The pink/black checkerboard)
    If I made a brush with it, it was broken. If I compiled, it was broken. (Although it did make a squishy noise when I walked on it.)

    Is there ANYTHING I need to do besides put it in the "tf>materials" folder and apply it to a brush?
     
  2. Eternal

    Eternal L69: Deviant Member

    Messages:
    69
    Positive Ratings:
    10
    Did you make sure both the VTF and VMT files have the same name(besides of course the extension) Also try taking them out of the "scrollinglava" folder and placing them both directly into the materials folder, that might fix it.
     
  3. Open Blade

    Open Blade L7: Fancy Member

    Messages:
    439
    Positive Ratings:
    34
    Which ever folder you put them under, be sure to open the vmt file and make sure the path is set up correctly to match where you placed the file.
     
  4. Kazagin

    Kazagin L3: Member

    Messages:
    130
    Positive Ratings:
    9
    Both files have the same name "lava".
    How do I open the VMT file and how do I check to make sure that the path is set up correctly to match where I put the files?
     
  5. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    open it in notepad, and check the path it should say something like materials/scrollinglava
     
  6. Kazagin

    Kazagin L3: Member

    Messages:
    130
    Positive Ratings:
    9
    Copy-pasta'd straight from the VMT

    "LightmappedGeneric"
    {
    "$basetexture" "shmitz/signs/lava"
    "$surfaceprop" "slime"
    "Proxies"
    {
    "TextureScroll"
    {
    "texturescrollvar" "$baseTextureTransform"
    "texturescrollrate" .05
    "texturescrollangle" 270.00
    }
    }
    }

    I can't make heads or tails of it.
     
    Last edited: Aug 13, 2009
  7. Ravidge

    aa Ravidge Grand Vizier

    Messages:
    1,544
    Positive Ratings:
    2,495
    that says you should have files called lava.vtf and lava.vmt in the /tf/materials/shmitz/signs/ folder.
     
  8. Kazagin

    Kazagin L3: Member

    Messages:
    130
    Positive Ratings:
    9
    Seriously... I made a "shmitz" and a "signs" folder, I put the "shmitz" in my materials, the "signs" in my "shmitz" and the "lava.vtf and lava(both with the .vmt and without)" in my "signs" and it still doesn't work!
    What else could possible be going wrong?
     
  9. Open Blade

    Open Blade L7: Fancy Member

    Messages:
    439
    Positive Ratings:
    34
    It should work. But I would just create your own folder and change the path in the file. A lava texture really isn't a sign. Just make your own folder under materials and place both your vtf and vmt there and then make sure your vmt path is correct. Then close hammer (although you shouldn't have to) and open again and you should see your custom texture. The only other thing I could think of is if the texture itself (vtf) wasn't built right but I doubt shmitz would build a bad texture.

    Double check all the little thing, those are usually the reasons why it wouldn't work (spelling, spaces, etc...)

    You can double check the vtf file in vtfedit, just to make sure it's valid.

    again, make sure this is your full path where you place your files:
    Steam/steamapps/username/team fortress 2/tf/materials/your new folder

    then in your vmt file, you only need to start your path string with the parent folder, so in the case above, you would only have 1 folder before the file name (your new folder/filename)

    Exampe: I made a custom blue roof texture for a map and this is my vmt (which I placed under materials/Blades Textures).

    "LightmappedGeneric"
    {
    "$basetexture" "Blades Textures/roofbluemetal"
    "$surfaceprop" "metal"
    "%keywords" "tf"
    }



    .........and I'm not sure what you mean about placing a vmt file with and without the vmt??? all you need is 2 files, spelled the exact same way with different extensions (vmt, vtf). Don't put any other files in there.

    Looking at your vmt data, I'm not sure what that "proxies" is but that could be a problem. I'm by no means a texture expert but I've never had a custom texture with that in there.

    Another texture I made (a wall texture), again, no proxies.

    "LightmappedGeneric"
    {
    "$baseTexture" "Wood/wood_wall005a"
    "$surfaceprop" "wood"
    "%keywords" "tf"
    "$detail" "overlays/detail006"
    "$detailscale" "1"
    "$detailblendmode" "0"
    "$detailblendfactor" "1"
    }



    You might want to ask shmitz what that proxies is or if anything addition is needed to make that texture show up in Hammer.
     
    Last edited: Aug 13, 2009
  10. Dr. ROCKZO

    Dr. ROCKZO L8: Fancy Shmancy Member

    Messages:
    580
    Positive Ratings:
    159
    You don't still have it called Lava! do you? Anything ither than abc/123/_ won't work in a folder name..
     
  11. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    Do you have a link to the lava texture download I want to see if it works on my comp.
     
  12. Kazagin

    Kazagin L3: Member

    Messages:
    130
    Positive Ratings:
    9
  13. Vigilante212

    Vigilante212 L7: Fancy Member

    Messages:
    481
    Positive Ratings:
    33
    I put it in here

    team fortress 2\tf\materials\shmitz\signs

    worked fine for me. Try deleting the one you have and redownload it maybe something got messed up.
     
  14. Kazagin

    Kazagin L3: Member

    Messages:
    130
    Positive Ratings:
    9
    SWEET! It works! Thanks everyone! :D
    Now my volcano looks like a volcano and not a giant hole in a mountain filled with Dev Texture.
    Expect the first release next Weekend.