Grass sprite overlay majiggers

Grass sprite overlay majiggers

Re: Grass sprite overlay majiggers Posted by Myrk- on Mon Jan 24th 2005 at 2:01am
Myrk-
2299 posts
Posted 2005-01-24 2:01am
Myrk-
member
2299 posts 604 snarkmarks Registered: Feb 12th 2002 Occupation: CAD & Graphics Technician Location: Plymouth, UK
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 :biggrin:
Re: Grass sprite overlay majiggers Posted by Nickelplate on Mon Jan 24th 2005 at 2:14am
Nickelplate
2770 posts
Posted 2005-01-24 2:14am
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
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.
Re: Grass sprite overlay majiggers Posted by Myrk- on Mon Jan 24th 2005 at 2:46am
Myrk-
2299 posts
Posted 2005-01-24 2:46am
Myrk-
member
2299 posts 604 snarkmarks Registered: Feb 12th 2002 Occupation: CAD & Graphics Technician Location: Plymouth, UK
So doesn't it work for anything else? Can't I do a custom setup to use grass on the texture I've used?
Re: Grass sprite overlay majiggers Posted by Nickelplate on Mon Jan 24th 2005 at 4:25am
Nickelplate
2770 posts
Posted 2005-01-24 4:25am
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
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?
Re: Grass sprite overlay majiggers Posted by DrGlass on Mon Jan 24th 2005 at 6:15am
DrGlass
1825 posts
Posted 2005-01-24 6:15am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
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.
Re: Grass sprite overlay majiggers Posted by Leperous on Mon Jan 24th 2005 at 9:23am
Leperous
3382 posts
Posted 2005-01-24 9:23am
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
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 :/
Re: Grass sprite overlay majiggers Posted by RabidMonkey777 on Mon Jan 24th 2005 at 9:29am
RabidMonkey777
207 posts
Posted 2005-01-24 9:29am
207 posts 603 snarkmarks Registered: Jul 9th 2004 Location: Denver, Colorado, USA
//"%detailtype" "grassland1"'

That might be it, though it appears to be //commented?
Re: Grass sprite overlay majiggers Posted by Raventyr on Mon Jan 24th 2005 at 4:15pm
Raventyr
14 posts
Posted 2005-01-24 4:15pm
Raventyr
member
14 posts 1 snarkmarks Registered: Dec 20th 2004 Location: UK
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 :smile:
Re: Grass sprite overlay majiggers Posted by Myrk- on Wed Jan 26th 2005 at 1:22pm
Myrk-
2299 posts
Posted 2005-01-26 1:22pm
Myrk-
member
2299 posts 604 snarkmarks Registered: Feb 12th 2002 Occupation: CAD & Graphics Technician Location: Plymouth, UK
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...
Re: Grass sprite overlay majiggers Posted by Leperous on Wed Jan 26th 2005 at 3:18pm
Leperous
3382 posts
Posted 2005-01-26 3:18pm
Leperous
Creator of SnarkPit!
member
3382 posts 1635 snarkmarks Registered: Aug 21st 2001 Occupation: Lazy student Location: UK
Look at the link again, you haven't read that one as it tells you everything you need to know :rolleyes: