Alpha blending - grass sprites


l3eeron
03-31-2007, 09:31 AM
Hi everyone
(For Source SDK) I cant seem to get the grass sprites when I use alpha blending...
does it only work with certain alpha textures? Im trying to make a section of grass/grass sprites with a dirt path through the middle

[AoS]Albatros
03-31-2007, 09:44 AM
Yep, it doesn't work with all textures.

It must be specified in the .vmt, which you can open using Wordpad. :)

Cheers

Formologic23
03-31-2007, 10:09 AM
You can also change the density of the grass sprites if your FPS drop too low. The grass sprites seem to take a huge hit on FPS.

l3eeron
03-31-2007, 12:01 PM
Do I need to extraxt the vmt/vtf first? or can i just open the vmt (with notepad) through gcfscape and add the line and save it?

Dustin Diamond
04-01-2007, 03:50 PM
you will need to make a new custom vmt.

l3eeron
04-01-2007, 06:25 PM
SO, I made my new vmt, put it in the right directory, added the line:

"%detailtype" "grassland2"

saved it, recompiled the map and nothin...
I know the vmt is working cuz if I change other stuff it works
what am I missing?


cant seem to find a tut on it, just the one in the sdk docs

happyernst
04-01-2007, 09:15 PM
what u need is the "detail.vbsp" in the mod folder while compile
you can find it in the "day of defeat source.gcf"

Dustin Diamond
04-01-2007, 09:45 PM
grassland2 is not a valid dods detail setting. That is a HL2 grass if i'm not mistaken. Look for ones like argetan_grass_med or something like that. They're towards the bottom.

l3eeron
04-08-2007, 08:27 PM
Ahhhh haaaaa!!!

I got it! I used argentan's textures and it works...

omg this has been bugging me for a while, thank you!

Is there a list of blends and grasses you can use in DoDS?

happyernst
04-09-2007, 09:15 AM
look in the detail.vbsp and scroll down

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.