Inside3D!
     

darkplaces colored lights

 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
RooT



Joined: 07 Sep 2005
Posts: 40

PostPosted: Tue Oct 18, 2005 4:48 pm    Post subject: darkplaces colored lights Reply with quote

ok maybe im blind, retarted, i dont know, but i cant find info on making colored lights for dark places. someone help! Confused
thanks
_________________
My mod site!
Mod Status:
Turret Defense: 30%
UPS: 45%
Back to top
View user's profile Send private message AIM Address
Supa



Joined: 26 Oct 2004
Posts: 122

PostPosted: Wed Oct 19, 2005 5:07 pm    Post subject: Reply with quote

(Please excuse me if I'm rambling here, I've been sick for the past week and I'm just starting to come out of it..)

Look in dpextensions.qc, specifically take a look at DP_ENT_GLOW and TENEBRAE_GFX_DLIGHTS. DP_ENT_GLOW should work well enough for basic colored dynamic lights. If you want to manually set the light radius and apply a light style or cubemap you'll need to use TENEBRAE_GFX_DLIGHTS.

Of course, if you're talking about setting light colors in maps you'll need a light utility that features colored lights; off the top of my head tyrlite and hmap2 (Actually a full map compiler package) support colored lighting. (I recommend hmap2, but I might just be a little biased.. :P). Once you have a light utility that supports colored lights, you can generally assign the RGB value of a light with the key '"_color" "R G B"'
Back to top
View user's profile Send private message Send e-mail
RooT



Joined: 07 Sep 2005
Posts: 40

PostPosted: Thu Oct 20, 2005 4:40 am    Post subject: THANKS! Reply with quote

holy shit you should have seen the smile on my face lol, thanks man-
-Root
_________________
My mod site!
Mod Status:
Turret Defense: 30%
UPS: 45%
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group