Sprite/Texture combination Created 15 years ago2008-11-29 18:13:07 UTC by raver raver

Created 15 years ago2008-11-29 18:13:07 UTC by raver raver

Posted 15 years ago2008-11-29 18:13:07 UTC Post #259216
Hello, its maby sound weird but I have made some maps where randomly sprites where spawned each round on a certain texture. Its possible in source I know, but I had this is several maps. And the sprite (grass) will only attach to 1 certain texture.

I always ignored it and I tought it was my own fould. But now some mapper friend asked me howto make a texture where sprites are spawned on. And then I tought back on this .. and I really dont know how this could happen.

You can download kz_creek in my map vault for a example BUT ... its completely random. And sometimes there will be only like 1 or 2 sprites be spawned in the whole map. So you need to do some searching before you even get to see it.

I hope some people know this ... it would be great
Posted 15 years ago2008-11-29 19:23:07 UTC Post #259218
Some materials have vegetation sprites built in. The reason they are not in the same exact locations each time you load your map is that the engine generates their random placement on the material, rather than the locations of the grass sprites being manually placed in Hammer written in the bsp.

This also means that two players playing a map on a server together will have differently placed vegetation sprites.
Posted 15 years ago2008-11-29 19:24:40 UTC Post #259219
But how does it work? And for the note: its in goldsource ..
Posted 15 years ago2008-11-29 19:29:40 UTC Post #259220
Oh, I was describing source. I can't help with this in goldsource, sorry dude.
Posted 15 years ago2008-11-30 11:30:54 UTC Post #259237
anyone?
Posted 15 years ago2008-11-30 12:24:51 UTC Post #259239
You will have to manually place the sprites there yourself, and there is no way for them to be scattered randomly.
Rimrook RimrookSince 2003
Posted 15 years ago2008-11-30 12:53:13 UTC Post #259240
Maybe the sprites were randomly activated each round?
EDIT: Oh, you made the maps... Uh... Can't help you there then... maybe something built into the compiler you used?
Notewell NotewellGIASFELFEBREHBER
Posted 15 years ago2008-11-30 13:55:05 UTC Post #259241
Aren't you mapping for a mod ? It should be listed in its features...
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2008-11-30 16:48:29 UTC Post #259245
@rimrook, I didnt placed any sprites. And the sprites that are on the ground are not even in the rar folder. So ye, it those sprites are spawned randomly. And Ive found more mappers that have this but they just ignore it. Just like I did, but until now ..
Posted 15 years ago2008-11-30 17:05:13 UTC Post #259246
decompile your own map if you dont have the old .map file and check it out that way xD
Skals SkalsLevel Designer
Posted 15 years ago2008-11-30 17:10:00 UTC Post #259247
@skals ... what is there to check?
Posted 15 years ago2008-11-30 17:17:57 UTC Post #259248
to check what you did or what you had in your map that created this effect
Skals SkalsLevel Designer
Posted 15 years ago2008-11-30 17:25:12 UTC Post #259249
Don't listen to Skals...

I guess its simply something that the developers coded in. You could check the CS GCF's and see if the sprite is in there. You can then create your own sprite without any visible pixels and have that one replace the sprite inside the GCF, by placing your sprite in the sprites folder. That should overwrite the one in the GCF.

This will also replace the ingame sprites in other maps that use the same ground texture.

Im not sure if thats a solution though. Its your choice really. :)
Posted 15 years ago2008-11-30 17:36:46 UTC Post #259250
Its not something what I want to remove, its a thing what I want to control. And not just popsup in a map without knowing how its done.
Posted 15 years ago2008-12-01 10:17:24 UTC Post #259270
Like i said, its done in the code. There's no way to access that code as the source for CS has never been released.
Posted 15 years ago2008-12-01 12:06:37 UTC Post #259272
@muzzleflash, the textures where custom ...
Posted 15 years ago2008-12-01 12:45:02 UTC Post #259273
I tried your map, but i didn't see any sprites...
You must be logged in to post a response.