ef_dimlight
Moderator: InsideQC Admins
6 posts
• Page 1 of 1
ef_dimlight
I'm using ef_dimlight for various things, not least of all the torch, but also in highlighting 'usable' items. However dimlight is too bright for the effect I want. Is there a way thru' qc to reduce the brightness or create a new ef_***light to do the job? Its got to be not engine specific however...
Cheers.
Cheers.
-

ajay - Posts: 559
- Joined: Fri Oct 29, 2004 6:44 am
- Location: Swindon, UK
without using a custom engine, there isn't much options.
you could try looping and continuously setting EF_MUZZLEFLASH (as that effect only lasts 0.2 seconds), but it's about the same size as EF_DIMLIGHT (except it flickers less).
if you just want to highlight entities, you could try making a sprite with 4 frames, where each frame is an L shape pointed in a different direction. when you 'mouse over' the entity, you calculate it's bounds with .mins and .maxs and then spawn and position the 4 corner sprites to make like a hud/reticle effect.
http://www.activewin.com/reviews/softwa ... ace2_1.jpg (the ship in the center, the 4 L shaped red corners)
you could try looping and continuously setting EF_MUZZLEFLASH (as that effect only lasts 0.2 seconds), but it's about the same size as EF_DIMLIGHT (except it flickers less).
if you just want to highlight entities, you could try making a sprite with 4 frames, where each frame is an L shape pointed in a different direction. when you 'mouse over' the entity, you calculate it's bounds with .mins and .maxs and then spawn and position the 4 corner sprites to make like a hud/reticle effect.
http://www.activewin.com/reviews/softwa ... ace2_1.jpg (the ship in the center, the 4 L shaped red corners)
- necros
- Posts: 77
- Joined: Thu Dec 16, 2004 10:32 pm
Maybe you could place a light entity just above the item. Adjust it's light radius and lightstyle for the effect you are looking for... then trigger it off when the item is touched.
Good God! You shot my leg off!
-

Junrall - Posts: 191
- Joined: Mon Sep 21, 2009 12:27 am
- Location: North West Oregon, USA
Junrall wrote:Maybe you could place a light entity just above the item. Adjust it's light radius and lightstyle for the effect you are looking for... then trigger it off when the item is touched.
Yeah, that's what I'd do. It would also completely avoid dynamic lights shining through walls, which EF_DIMLIGHT (or any other EF_* for that matter) wouldn't.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
We knew the words, we knew the score, we knew what we were fighting for
-

mh - Posts: 2292
- Joined: Sat Jan 12, 2008 1:38 am
mh wrote:Junrall wrote:Maybe you could place a light entity just above the item. Adjust it's light radius and lightstyle for the effect you are looking for... then trigger it off when the item is touched.
Yeah, that's what I'd do. It would also completely avoid dynamic lights shining through walls, which EF_DIMLIGHT (or any other EF_* for that matter) wouldn't.
Yep thats a very nice solution, thanks. Still wish I reduce the torch though....... nevermind.
-

ajay - Posts: 559
- Joined: Fri Oct 29, 2004 6:44 am
- Location: Swindon, UK
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest