lit models

lit models

Re: lit models Posted by kingtoke on Tue May 10th 2005 at 12:38pm
kingtoke
56 posts
Posted 2005-05-10 12:38pm
kingtoke
member
56 posts 26 snarkmarks Registered: Nov 25th 2004 Location: uk
hey guys, i have used the stop/go signal from props_trainyard in my map, i want to be able to light it grren or red. when the model is in hammer it has three lights, white red and amber. but when you run it in game all three lights are white. is it possible to make the signal light up (so that only the light part is lit up) rather then the model glowing?
Re: lit models Posted by fishy on Tue May 10th 2005 at 12:57pm
fishy
2623 posts
Posted 2005-05-10 12:57pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
i had a look at the model, hoping that i could tell you to use a different skin value, but the model doesn't seem to have any other skin values. so i don't really have any suggestions, other than to possibly decompile the model and add some self illuminated textures to the parts that you want lit up.
Re: lit models Posted by kingtoke on Tue May 10th 2005 at 1:01pm
kingtoke
56 posts
Posted 2005-05-10 1:01pm
kingtoke
member
56 posts 26 snarkmarks Registered: Nov 25th 2004 Location: uk
im nearly sure they did it in the hl2 single player :confused:
Re: lit models Posted by fishy on Tue May 10th 2005 at 1:13pm
fishy
2623 posts
Posted 2005-05-10 1:13pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
if so, i can only imagine that they did it by using some sort of sprite /glow entity.
Re: lit models Posted by DrGlass on Tue May 10th 2005 at 7:10pm
DrGlass
1825 posts
Posted 2005-05-10 7:10pm
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
Thats right, add a env_sprite. Give it a color and then make some kind of trigger to turn them on and off.

do you need help setting that up?
Re: lit models Posted by kingtoke on Wed May 11th 2005 at 12:39am
kingtoke
56 posts
Posted 2005-05-11 12:39am
kingtoke
member
56 posts 26 snarkmarks Registered: Nov 25th 2004 Location: uk
yeah this has kinda been on my mind all day to try this, just been busy working on other parts of my map.. i'll give it a bash and see how i get on. if not ill send you a pm for some help :razz:

hmmm.... i really should goto bed, but heres what im getting User posted image
Re: lit models Posted by Campaignjunkie on Wed May 11th 2005 at 1:26am
Campaignjunkie
1309 posts
Posted 2005-05-11 1:26am
1309 posts 329 snarkmarks Registered: Feb 12th 2002 Occupation: Student Location: West Coast, USA
Set the Render Mode on the sprite to "Additive" or "Glow"
Re: lit models Posted by DrGlass on Wed May 11th 2005 at 3:12am
DrGlass
1825 posts
Posted 2005-05-11 3:12am
DrGlass
member
1825 posts 632 snarkmarks Registered: Dec 12th 2004 Occupation: 2D/3D digital artist Location: USA
Set the Render Mode on the sprite to "Additive" or "Glow"
and change the number from 0-255 to make it more or less opaque (0 is translucent)