Grass sprite overlay majiggers
Post Reply
Quote
Re: Grass sprite overlay majiggers
Posted by Myrk- on Mon Jan 24th at 2:01am 2005


Ok I did browse the database and found this entry- http://www.snarkpit.com/forums.php?forum=6&topic=2604&highlight=grass&findpost=61069#post61069

Now I'm probably missing something here, but how do you know what textures support grass sprites or whatever? I'm using blenddirtgrass001a as my ground texture, so what should I write in my vbsp?

First person to give me an answer that works gets a cookie

[addsig]




Quote
Re: Grass sprite overlay majiggers
Posted by Nickelplate on Mon Jan 24th at 2:14am 2005


The grass-sprites are a texture-based feature. Make a brush with the blendsandgrass texture. Then they will appear ingame. Also you will need to make it a displacement so you can invert the alpha and make it into grass instead of the defualt sand. [addsig]



Quote
Re: Grass sprite overlay majiggers
Posted by Myrk- on Mon Jan 24th at 2:46am 2005


So doesn't it work for anything else? Can't I do a custom setup to use grass on the texture I've used? [addsig]



Quote
Re: Grass sprite overlay majiggers
Posted by Nickelplate on Mon Jan 24th at 4:25am 2005


I don't think there is a way. If you want to kep your current texture but have the grass sprites, you can copy-and-paste your current disp. surface, change the texture on the copy to one that has the grass, then make it 1 unit lower than the one you want to show. make sense? [addsig]



Quote
Re: Grass sprite overlay majiggers
Posted by DrGlass on Mon Jan 24th at 6:15am 2005


you could also copy the texture you want to use and make a custom text file for it that and set it up to show grass.
[addsig]




Quote
Re: Grass sprite overlay majiggers
Posted by Leperous on Mon Jan 24th at 9:23am 2005


blenddirtgrass001a.VMT contains:

"WorldVertexTransition"
{
"$basetexture" "nature/dirtfloor012a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/blenddirtgrass001a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0"
//"%detailtype" "grassland1"
"%keywords" "wasteland"
}

I don't see anything in there which defines it tbh, look elsewhere :/





Quote
Re: Grass sprite overlay majiggers
Posted by RabidMonkey777 on Mon Jan 24th at 9:29am 2005


//"%detailtype" "grassland1"'

That might be it, though it appears to be //commented?




Quote
Re: Grass sprite overlay majiggers
Posted by Raventyr on Mon Jan 24th at 4:15pm 2005


This looked pretty interesting, and seems to say that "detailtype" is defo what needs to be looked at. http://www.chatbear.com/board.plm?a=viewthread&t=153,1102226027,24572&id=743483&b=4989&v=flatold

From an older post of yours rabbid





Quote
Re: Grass sprite overlay majiggers
Posted by Myrk- on Wed Jan 26th at 1:22pm 2005


Already looked at that as I said in my first post... I just want some nice grass all over my level, looks a tad too barren... [addsig]



Quote
Re: Grass sprite overlay majiggers
Posted by Leperous on Wed Jan 26th at 3:18pm 2005


Look at the link again, you haven't read that one as it tells you everything you need to know






Post Reply