Please or Register to create posts and topics.

[Solved] Texture Location

Hi,

I'm searching the save location for textures to paste my custom textures in. I'm using Hammer included in the Portal 2 Authoring Tools.

I saw a lot of tutorials regarding custom textures, but none of these, not even one takes the time to show people where these textures are being saved.

Best Regards,
iSpectra

???????????????????????????????????????????????Modding beginner. But ready to learn.
????????????????????????????????????????????????????????Visit my Steam profile!

You have to copy new textures into your materials folder (steam/steamapps/common/portal 2/portal2/materials/). In there you can create your own folders or use existing ones.

Remember that, if you want to publish a map with custsm textures, you have to send them too. For that you can just copy the textures in a zip archive or you can pack it into the mapfile using packrat or fudgepacker.Both porgramms are be a great option if you plan to release your map in the workshop.

What file format should it be? And is there a preferred size (I'm currently using 512x512)?

???????????????????????????????????????????????Modding beginner. But ready to learn.
????????????????????????????????????????????????????????Visit my Steam profile!

This tutorial answers every question you've asked so far in this thread.
https://developer.valvesoftware.com/wik ... a_Material

The Source Engine uses a combination of two files to create a texture: *.vtf and *.vtm. Both files together create the material.
A VTF-File is the image itself. It's recommend to have a size that's a power of 2, like 64, 512 or 1024.
VTM-Files are textfiles which include information about the material. The engine reads this files and knows the behaviours of the texture. Like, if it's wooden or is it glass, or if the texture scrolls. There are endless parameters that can be included in this file to create nearly every effect and behaviour you can think of.

To get your image in the desired format, save it first as an targa-file (*.tga). Then import it into VTFEdit and simply save it there. VTFEdit can also create an basic VMT-File for you so you can use it in the game and Hammer, but it doesn't include any special information about the material. Only that much that it works in the game.

There are enough tutorials you can find through Google that show you which steps you need to do. You can find the fastest I've found here.

Thanks for the tips sir, i'm also having this big question lately...
So i will just follow the steps above...

___________________________________
I am proud of the fact that I the one who invented weapons like combat knife.

Thank you Sprowl for your concrete answer. I really appreciate it.

???????????????????????????????????????????????Modding beginner. But ready to learn.
????????????????????????????????????????????????????????Visit my Steam profile!