Light attributes: No_Entity_Light?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Stevo
Corporal
Posts: 38
Joined: Tue Dec 16, 2003 8:31 pm
Location: Florida, USA
Contact:

Light attributes: No_Entity_Light?

Post by Stevo »

When you select a light in Radiant, and pull up the entity window, the second check box for the light reads NO_ENTITIES, and the description box says "...if "NO_ENTITIES" is set, this light will only effect the world, not entities". There is also a key listed (but no corresponding value) as no_entity_light that supposedly does the same thing.

So far, I've not been able to get these things to work. I thought I would never have to use such silly options for lights, but I have a door with a spotlight shooting through it, and I don't want the spotlight to affect the door. The door, of course, is an entity. It's a func_door.

Does anyone know how to make a light NOT affect entities? Or if it is even possible in MOHAA?

Also, if the key no_entity_light is the way to go, what should its value be?

Thanks.
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

try the sunblobk texture
Image
Stevo
Corporal
Posts: 38
Joined: Tue Dec 16, 2003 8:31 pm
Location: Florida, USA
Contact:

Strike one!

Post by Stevo »

Well, I still want the light to affect everything behind the door. The light needs to either not affect the door or to not exist at all.
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

I don't know but is caulk shadow solid ? Maybe you can use it or make it part of the door .
Stevo
Corporal
Posts: 38
Joined: Tue Dec 16, 2003 8:31 pm
Location: Florida, USA
Contact:

Strike two...

Post by Stevo »

Whoa let's not get off topic here. I'm not trying to get some kind of non-solid sunblocker here. I already addresed that in a post about tree shadows. All I'm trying to do is figure out the no_entity_light stuff that is built into light entities.
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Re: Strike two...

Post by Axion »

Stevo wrote:Whoa let's not get off topic here. I'm not trying to get some kind of non-solid sunblocker here. I already addresed that in a post about tree shadows. All I'm trying to do is figure out the no_entity_light stuff that is built into light entities.
They're not getting off topic, they're musing about possible solutions.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
Stevo
Corporal
Posts: 38
Joined: Tue Dec 16, 2003 8:31 pm
Location: Florida, USA
Contact:

Post by Stevo »

I beg to differ! The topic is no_entity_light, and there are already posts about sunblock and caulk shadow.

...And blocking the light, as I said before, is not a possible solution.
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post by Axion »

You asked this-

"Does anyone know how to make a light NOT affect entities?"

Your door is an entity, and they were suggesting different textures that would stop the light from affecting your door. It may not be what you had in mind, but if you're going to act irritated when they don't give you exactly what you want, right away, then maybe you shouldn't ask at all.



:?
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
Stevo
Corporal
Posts: 38
Joined: Tue Dec 16, 2003 8:31 pm
Location: Florida, USA
Contact:

Post by Stevo »

Yes, what I asked was how to have a light not affect a door.

But, that is not all I asked.

I asked how to make a light not affect a door, but also affect everything behind the door (I should have made this more explicit). My topic was more specific than blocking light. Blocking the light from the door with sunblock (or caulk shadow) will, logically, block everything behind the door.

Oh, and also - I wasn't acting. I was truly, honestly irritated!

Does anybody know about no_entity_light?
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

So why not just check the checkbox then . If you do it will add spawnflags 2 or add 2 to the spawnflags if you have other checkboxes checked .
Stevo
Corporal
Posts: 38
Joined: Tue Dec 16, 2003 8:31 pm
Location: Florida, USA
Contact:

Post by Stevo »

Well, I tried doing that... It didn't work, so that's why I'm asking about it.
Thanks, though.
Post Reply