Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

darkplaces colored lights

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
RooT Joined: 07 Sep 2005 Posts: 40 |

Posted: Tue Oct 18, 2005 4:48 pm Post subject: darkplaces colored lights |

ok maybe im blind, retarted, i dont know, but i cant find info on making colored lights for dark places. someone help! thanks _________________ My mod site! Mod Status:
Turret Defense: 30%
UPS: 45%

Back to top |

Supa Joined: 26 Oct 2004 Posts: 122 |

Posted: Wed Oct 19, 2005 5:07 pm Post subject: |

(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 |

RooT Joined: 07 Sep 2005 Posts: 40 |

Posted: Thu Oct 20, 2005 4:40 am Post subject: THANKS! |

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 |

Display posts from previous:

| 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