Possible to add grass sprites onto blend texture?

squ1rrel

L4: Comfortable Member
Apr 11, 2016
167
24
Ok for this to make sense, I have a blend texture but it doesn't have the grass sprites on it.

What I'm wondering is whether I can edit the .vmt (or anything) so that grass sprites appear on my blend texture when I use the alpha tool (eg nature/blendgroundtograss007).

Additionally, what does 'LST', '2DGLM' ect stand for?

Thanks in advance!
 

Idolon

they/them
aa
Feb 7, 2008
2,105
6,106
If I'm not mistaken, detail props don't appear in TF2 Hammer no matter what you do, and only appear in-game.

In addition, you'll need to go to Map Properties and choose the correct files from this list. If a texture tries to use a detail prop that isn't in the assigned .vbsp, nothing will show up. I'm not really sure why TF2 uses so many different .vbsp files (I believe HL2 only uses one file for the entire game, which contains more detail props than TF2 overall), but that's the way it goes.
 

squ1rrel

L4: Comfortable Member
Apr 11, 2016
167
24
Its kinda hard to explain but I didn't mean to ask why sprites aren't appearing in hammer. I'm trying to figure out whether I can modify a texture (which doesn't use sprites even when in-game and was not coded to use sprites) to then have sprites (basically the same texture but with the sprites)
eg: nature/blendgroundtograss_nodetail (no sprites) ---> nature/blendgroundtograss007 (sprites)

Picture: http://imgur.com/a/hEhZO
 

squ1rrel

L4: Comfortable Member
Apr 11, 2016
167
24
Ah thanks. (apologies I am a noob). I found "detail/detailsprites_battlefield" which was inside "detailsprites_battlefield.vmt". Do I paste "detail/detailsprites_battlefield" into the .vmt of the texture I want sprites to have?
 
May 25, 2015
390
307
No, in the vmt for the texture you will apply in your level, you have to add the "%detailtype" parameter, and the value for it should be a valid detail type. Valid detail types can be found in various .vbsp files found in the root tf directory. Remember that if you use a detail type, you must specify which detail file (.vbsp file) you are using in the map properties (same window as you set the skybox texture in). You might also need to change the detail type sprite sheet for your map if necessary (which in your case would be detail/detailsprites_battlefield.vtf).
You can read more about detail types here: https://developer.valvesoftware.com/wiki/Detail_Props