• custom textures
    11 replies, posted
this would be very helpfull could some one show or tell me the easyest way to make custom textures i got some images but just need to know how to get them into hammer ive tried other tutorails but i cant do code and also most of them programs i cant use what is the easyest way i can do this and what program if possoble?
If you have photoshop: Save the file your working on as a .tga and open it in "Vtfedit" [url]http://nemesis.thewavelength.net/files/files/vtfedit118.exe[/url] (File>Import) then save it as a .vtf (File>Save) in your [username]/half - life 2/hl2/materials folder, for the sake of testing call it Work.vtf then make a txt file and name it Work.vmt (W/O .txt extention) then open it with notepad and write (or copy paste) the following code: "LightmappedGeneric" { "$basetexture" "Work" } If you only have ms-paint: your screwed get photoshop :) seriously you WILL need photoshop or at least some program capable of saving to .tga format. Note this tutorial is based souly on how I make textures.
thanks for the help
Ummm this is a nice little tutorial and all but the VTFedit.exe download you put up is currupted. Can I just use VTFtool.exe?
i can use it but dont know how oh well if some one can give me a detailed tutorail that would realy help
I can help you with the photoshop way which you can get a trial of anyways. I do it this way because those programs never work for me. If you dont have it go here for a free trial of it. [url]http://www.adobe.com/support/downloads/product.jsp?product=39&platform=Windows[/url] You'll have to make an account but it is free. Heres how you do it once you have photoshop. 1. Make a file with your texture and make sure the dimensions are powers of 2 i.e.2 4 8 16 32 64 128 256 512 1024 etc. 2. Save the file as a .tga (targa) 3. Go to valve\steam\steamapps\youraccountname\sourcesdk_content\hl2\materialsrc and make a folder there called customtextures. 4. Move the .tga to that folder. 5. Make a folder in valve\steam\steamapps\youraccountname\half-life 2\hl2\materials\ and call it customtextures. 6. Drag the .tga onto vtex.exe in valve\steam\steamapps\youraccountname\sourcesdk\bin 7. Now you will have the .vtf and an empty text document in valve\steam\steamapps\youraccountname\half-life 2\hl2\materials\customtextures 8. Finally, open up the text document and paste this in it: "LightmappedGeneric" { "$basetexture" "customtextures/insert texture name here" } 9. Save it as insert custom texture name here.vmt. 10. Now open hammer and search customtextures/insertcustomtexturenamehere and you should have it there. If you have any problems post them because ill keep an eye on the thread. Don't forget to thank me if I helped you.
Look, if you want a pretty basic texture, just import it as a spray. Just change the vmt, and you're set. You should probably move it to the materials folder from the materials/VGUI/logo folder, or whatever. I haven't check this very much, though.
bump [highlight](User was banned for this post ("Ridiculous bump" - PLing))[/highlight]
Why? By the way - does anyone know a good textures pack for apartaments or something like that?
Actually, all that .vtf conversion is totally unneeded. There is a very nice Photoshop plugin that allows you to save as a .vtf. You can set various compression/alpha options before saving too. I only use VTFEdit to write .vtm files, just to make sure I don't fuck something up.
[QUOTE=Loures;19506972]bump[/QUOTE] What the fuck? Why did you bump this? The tutorials shows the basics. If you want more info, google for it or make a threads. [highlight](User was banned for this post ("Bump to complain about bump" - Terrenteller))[/highlight]
[QUOTE=polishman45;19507356]Why? By the way - does anyone know a good textures pack for apartaments or something like that?[/QUOTE] See the mappers encyclopaedia thread.. It has texture packs listed in there. [editline]07:59PM[/editline] [url]http://www.facepunch.com/showthread.php?t=519418[/url]
Sorry, you need to Log In to post a reply to this thread.