User talk:N00bits
Alright so, I really have a poor idea of what I'm doing here, both in the Wiki and hammer, but my goal is to be able to 'draw' on things in a level via a trigger. So being able to have a trigger mimic the effect of using a spray in multiplayer. Sort of like shooting a paintball gun My problem seems to be that the env_sprite doesn't like the sprite I give it, despite the fact that currently I'm using the built in, premade sprites from HL2.--N00bits 09:06, 11 Feb 2008 (PST)
- Have you by-chance missed this (in the env_sprite article)? "When choosing a sprite from the sprite browser, the name it provides does not contain the required .spr/.vmt file extention. While the sprite preview can find the sprite, the extention needs to be typed in by hand for the engine to be able to find the sprite in-game." --Andreasen 17:24, 12 Feb 2008 (PST)
- Thanks, that worked. Now to figure out how to fix the orientation of the sprites. --N00bits 19:59, 12 Feb 2008 (PST)
- You can set this with the $spriteorientation shader parameter if you wish, but this requires you to make a mod and learn how to create vmt files. However, if you want to paint on things, you might want to try out decals instead of sprites. You might also want to check out how Valve did the paintcan props - try physgun-throwing a paintcan (for instance on a zombie in the beginning of Ravenholm) for hilarious results. --Andreasen 20:46, 12 Feb 2008 (PST)
- Thanks, that worked. Now to figure out how to fix the orientation of the sprites. --N00bits 19:59, 12 Feb 2008 (PST)