Re: red dot
Posted by Haze on
Sat Mar 5th 2005 at 7:11pm
Haze
member
118 posts
42 snarkmarks
Registered:
Jan 24th 2005
Occupation: Game Designer
Location: Frozen Wolf Limited
Hi everyone,
I am looking to make a security camarer, I have everything done accept one thing, the model of my security camarer needs a little red dot to show that its on like in real life, I cant seem to find the right env_ entity and a normal light does not produce an actuall dot of light.
Anyone have any ideas or sulutions?
Re: red dot
Posted by fishy on
Sat Mar 5th 2005 at 7:56pm
fishy
member
2623 posts
1476 snarkmarks
Registered:
Sep 7th 2003
Location: glasgow
a self-illuminated texture sounds like the right answer.
the texture for the camera needs to have an alpha layer, which should be all black except for a light/white spot in the same place as the red spot is on the RGB layer. Compile the texture again, and add $selfillum to the .vmt file. you should now have a camera with a little red light on it, without using any extra ents. Though a little env_glow would probably look good on top of it.
Re: red dot
Posted by Haze on
Sun Mar 6th 2005 at 10:12am
Posted
2005-03-06 10:12am
Haze
member
118 posts
42 snarkmarks
Registered:
Jan 24th 2005
Occupation: Game Designer
Location: Frozen Wolf Limited
Sorry but im not that good at entitys, teh env_sprite just came out black with the white in the middle and im not sure how to make it transparent so its just the light.
also, the env_glow is no such entity and im not sure what you meen by the long solution, does it involve making a black texture? I cant make textures
Re: red dot
Posted by Andrei on
Sun Mar 6th 2005 at 1:20pm
Andrei
member
2455 posts
1248 snarkmarks
Registered:
Sep 15th 2003
Location: Bucharest, Romania
use an env_Sprite and set it like this:
rendercolor "255 0 0" (RED)
rendernt "200"
rendermode "glow" (or "additive").
scale "0.5" (or any size you want)
No need to play with the spritename since the default would do fine.
Now, if you want your sprite to move around with your camera, name the
camera "camera" and then set the sprite's parent to be "camera".
Re: red dot
Posted by Haze on
Mon Mar 7th 2005 at 11:30am
Posted
2005-03-07 11:30am
Haze
member
118 posts
42 snarkmarks
Registered:
Jan 24th 2005
Occupation: Game Designer
Location: Frozen Wolf Limited
Sorry, it did not work, I still see a black outline with a white center.
Re: red dot
Posted by Jasque on
Mon Mar 7th 2005 at 2:57pm
Jasque
member
11 posts
11 snarkmarks
Registered:
Feb 25th 2005
Location: USA
When you choose the name of your sprite, browse around and find
redglow1.vmt, I believe that is the only translucent red glow sprite.
Re: red dot
Posted by Haze on
Mon Mar 7th 2005 at 7:45pm
Haze
member
118 posts
42 snarkmarks
Registered:
Jan 24th 2005
Occupation: Game Designer
Location: Frozen Wolf Limited
I set it as And said and used the redglow texture, it worked fine, thanks everyone