+ Reply to Thread
Page 1 of 9 1 2 3 4 ... LastLast
Results 1 to 15 of 127

Thread: [Tutorial] Making Custom Textures/VMT Hacks

  1. #1
    Dongle Hero Platinum Hero knileb's Avatar
    Join Date
    28th Jun 2006
    Location
    London, UK
    Posts
    2,228

    [Tutorial] Making Custom Textures/VMT Hacks

    I've heard this question a million times, and the only thing its getting linked back to is the thread asking how to do it (of which then, I posted in it :p), so I might aswell make a thread explaining how to do it.

    On with the show:

    Tools needed: (and linked)
    GCFScape
    If you dont have Photoshop, VTFEdit
    If you have Photoshop, VTF Plugin

    Filetypes you are going to be fiddling about with:
    *.vtf - Source Engines image format - open with Photoshop + VTF Plugin/VTFEdit
    *.vtm - Source Engines image property format - open with Notepad/Wordpad.

    Tutorial
    Download GCFScape from the link above, install and open it. Now press Options > Volatile Access so you can open GCF files without getting the File In Use error.

    Now press File > Open and locate your SteamApps directory, usually C:/Program files/Steam/Steamapps and open up counter-strike source shared.gcf. The screen should now look like this.

    Once there, click the + next to cstrike on the folder selection to the left, now click the + next to the materials folder. You should now see lots of folders, most of them mapnames and material names. Open up the directory you are asked to find, or just for this tutorial, de_dust. Now CTRL+Click door11.vtf and door11.vtm so both are selected. Right click on one of them and press extract. Extract it to an empty folder, for example desktop\dustglassdoortest or something.

    (VTM (Texture property) HACKING, SCROLL DOWN FURTHER IF YOU WANT THE VTF TUTORIAL)

    Go to whereever you extract the two files, and open door11.vtm file using Notepad. You should now see this in notepad:
    Code:
    "lightmappedGeneric"
    {
    	"$baseTexture" "de_dust/door011"
    	"$surfaceprop" "wood"
    //	"$bumpmap" "de_dust/door011_normal"
    //	"$envmap" "env_cubemap"
    	"%keywords" "cstrike" 
    }
    Now, theres alot of things you can do with this. First off, if you want the door fullbrightly lit, change "lightmappedGeneric" to "UnlitGeneric" at the top. If you want the door translucent, so you can see through it, add:
    Code:
    	"$translucent" "1"
    below "$surfaceprop" "wood" on a new line. So it should now look like this:
    Code:
    "unlitGeneric"
    {
    	"$baseTexture" "de_dust/door011"
    	"$surfaceprop" "wood"
    	"$translucent" "1"
    //	"$bumpmap" "de_dust/door011_normal"
    //	"$envmap" "env_cubemap"
    	"%keywords" "cstrike" 
    }
    Now, change the "wood" in the surfaceprop line to "glass" so it gives a glass effect.

    Theres lots of good commands you can do to change the properties of a texture. Open up a different vmt file in GCFScape for more.
    (credit goes to felikz/whoever created the glass door in dust)

    (VTF HACKING (Texture) HACKING, SEE ABOVE FOR VMT HACKING TUTORIAL)

    Now, if you have Photoshop, download the VTF Plugin at the top of this post.
    If you dont, download VTFEdit at the top of this post.

    (VTFEDIT Tutorial, Photoshop+Plugin users can skip)
    Open VTFEdit, Click File > Open then open up door11.vtf or a specific texture you are asked to edit (if you were linked to this tutorial). Now press File > Export, click the V button on the filetype line and select BMP to edit with paint, then press Save.

    Photoshop users, open the VTF file using the plugin + photoshop.

    Now you will see the texture. You can edit as you like, to 1 complete colour or make little touchups. Your artistic skills can be used here. You can edit any single vtf in the gcf to a different colour. Or you can edit an existing hack's texture, like GreyWalls and WhiteWalls by frontline.

    Installation of your hack
    In your cstrike folder (C:/Program files/Steam/Steamapps/*youraccountname*/counter-strike source/cstrike), make new folders of to which the files in the GCF were in. Like, if you had the door11 texture above, that was in cstrike\materials\de_dust, so you would make a new folder called materials in your cstrike folder if its not already there, then a new folder inside that called de_dust. So now you are in cstrike\materials\de_dust in your own CSS directory. Place the door11.vtf and door11.vtm here. OR if you made a different hack, place it in its corresponding folder in the cstrike folder.

    That concludes the tutorial, hope I helped.

    Q+A
    Q: Whaaaa? Whats the difference between VTM and VTF?
    A: Editing a VTM file means editing the textures properties, whilst editing a VTF file means editing the texture.
    Q: How do I know which directory to make in my cstrike folder?
    A: The one where you selected and extracted the file you edited in the gcf file.
    Q: How do I make coloured models?
    A: Check my post in the Working Hacks sticky thread. Its the third one down, it has a similar tutorial, though based on coloured models.
    Q: I have a question! Who do I ask?
    A: Reply here or send a pm. I'd be happy to help when I can.

    That concludes the tutorial.

    P.S, If moderators want to place this post in the working hacks sticky, feel free. And link to it!

    hf,
    -blnk.
    Last edited by knileb; 5th June 2008 at 16:39.

  2. #2
    FTP Team Member Platinum Hero therealD4RkSouL's Avatar
    Join Date
    21st Dec 2005
    Location
    #!usr/bin/pnasch0r.dll
    Posts
    2,139
    Nice tut, thansk alot!

    the Programs u do need are @ mpcd!
    Join Royalhack Today!

    Have u ever seen a Walkbot?

  3. #3
    o==|;:;:;:;:;:;:;:;:;:;:> Silent Killer emwu1988's Avatar
    Join Date
    7th Mar 2006
    Location
    127.0.0.1
    Posts
    417
    gj, now there's everything in place
    -----------------
    |eMWu materials|
    -----------------

  4. #4
    Nice Tutorial blnk.

  5. #5
    Wow nice belink.
    I think i will give this a go, brilliant!!

  6. #6
    Wutang Financial Assassin Dolein's Avatar
    Join Date
    29th Mar 2006
    Posts
    162
    Sticky this, people will love it.

    Nice tut.

  7. #7
    Quote Originally Posted by belink View Post

    And this will probably get me one more step closer to being a moderator...mwuhahahaa..
    Um.. No.

    Anyways.. Nice Tutorial covering the basics material hacks.

    (Kinda wished you didn't post the exact method but meh)

  8. #8
    Dongle Hero Platinum Hero knileb's Avatar
    Join Date
    28th Jun 2006
    Location
    London, UK
    Posts
    2,228
    Quote Originally Posted by silent_morpheus View Post
    (Kinda wished you didn't post the exact method but meh)
    So? Valve and the VAC Team know what we are doing. Its been posted many times before aswell.

  9. #9

    Great!

    Great tutorial! No doubt this should get you a + for moderation. Just 1 question: Im trying to do this for custom maps like de_cpl_fire, de_mill, de_strike and some others. I cant find them in the materials folder so I was wondering where I would be able to find them?

  10. #10
    Dongle Hero Platinum Hero knileb's Avatar
    Join Date
    28th Jun 2006
    Location
    London, UK
    Posts
    2,228
    Open the bsp file from the cstrike\maps folder using GCFScape. I am gonna update my fullbright maps + nohands/glass etc with it eventually.

  11. #11
    D3D Love! Dragon timon's Avatar
    Join Date
    10th Feb 2005
    Posts
    730
    Nice tut belink! Love ya lol.

  12. #12

    hmm

    Quote Originally Posted by belink View Post
    Open the bsp file from the cstrike\maps folder using GCFScape. I am gonna update my fullbright maps + nohands/glass etc with it eventually.
    When I try to open them it gives me a error invaild file version? The files signature does not match.

    How do I get around that?

  13. #13
    Dongle Hero Platinum Hero knileb's Avatar
    Join Date
    28th Jun 2006
    Location
    London, UK
    Posts
    2,228
    I can open all bsp files fine. Are you sure you are opening the right map? I'm in the middle of a fullbright mill now.

  14. #14
    *Flashy, flash, flash!* Silent Killer Flash™'s Avatar
    Join Date
    30th Aug 2005
    Posts
    435
    Quote Originally Posted by belink View Post
    And this will probably get me one more step closer to being a moderator...mwuhahahaa..
    How incredibly sad...
    Flash™ = Teh Pwnage.

  15. #15
    Dongle Hero Platinum Hero knileb's Avatar
    Join Date
    28th Jun 2006
    Location
    London, UK
    Posts
    2,228
    Quote Originally Posted by Flash™ View Post
    How incredibly sad...
    Yeah, though it was the first day of getting my internet back after 2 weeks. And i'm not feeling too well...*cough*

    It was only a joke. By reading this, you agree you cannot whine about it anymore.

+ Reply to Thread
Page 1 of 9 1 2 3 4 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts