Page 1 of 1

Light doesn't show in map

Posted: April 10th, 2011, 11:24 pm
by <LT>YosemiteSam[NL]
I have made a "neonsign" and added light to it but the scriptbrush model letters don't reflect the light...anyone know why ?
Here is a pic;
Trust me I've put enough light in there, maybe cause the letters are moving they don't reflect ? I don't think so but you'll never know :?

Re: Light doesn't show in map

Posted: April 10th, 2011, 11:35 pm
by Rezil
All the lights bouncing off of a brushmodel(or any moving entity for that matter, save for actors I think) get calculated only once. To have dynamic lights, you need to create an effect. A thing to note though, dynamic lights are only visible with DirectX9.

I'm assuming your text starts off hidden somewhere(no lights/only sunlight bouncing off) which is why there's no change in the lighting of the letters.

Re: Light doesn't show in map

Posted: April 10th, 2011, 11:41 pm
by IzNoGoD
Make it translucent (can that even be done?) and put some lights behind it.

Otherwise, you could use the texture used for objectives in SP, cause it has a nice moving glow around it (read this on modsonline some time ago xD). You seem to be able to customize the color of it too then :D

Re: Light doesn't show in map

Posted: April 11th, 2011, 12:03 am
by <LT>YosemiteSam[NL]
Rezil wrote:I'm assuming your text starts off hidden somewhere(no lights/only sunlight bouncing off) which is why there's no change in the lighting of the letters.
That is the case ..yeah.
Otherwise, you could use the texture used for objectives in SP, cause it has a nice moving glow around it (read this on modsonline some time ago xD). You seem to be able to customize the color of it too then
aha ok, I'll see if i can find it.
I also tried a script_model light which follows all letters but the timing with that is a pain in the ass :?
But I think the script model light does add light to the letters...have to check that to be sure.

Thx guys

Re: Light doesn't show in map

Posted: April 11th, 2011, 12:38 pm
by Drofder2004
Place the letters off map somewhere and place a few bright lights infront of them, then at runtime, move the letters. It wont be dynamic but the letters should be brighter.

Re: Light doesn't show in map

Posted: April 11th, 2011, 4:10 pm
by <LT>YosemiteSam[NL]
Drofder2004 wrote:Place the letters off map somewhere and place a few bright lights infront of them, then at runtime, move the letters. It wont be dynamic but the letters should be brighter.
I'll try that aswell, I'll see what is more to my liking.
I lso thought of building a big transparent brush around the letters...maybe that reflects light ? Have to try that when I get home tonight.

Re: Light doesn't show in map

Posted: April 11th, 2011, 7:31 pm
by Rezil
Nothing 'reflects' normal lights, light bounces are calculated only during compile time. That's why shadows look like shit in CoD2, it gives you a better performance at the cost of graphics. On the other hand, dynamic lights(ones made with the CoD2 FX Editor) are able to cast shadows and illuminate an area dynamically. They require more work and knowledge of scripting/effects, but they're not that difficult to set up.

Re: Light doesn't show in map

Posted: April 12th, 2011, 3:31 pm
by <LT>YosemiteSam[NL]
Rezil wrote:Nothing 'reflects' normal lights, light bounces are calculated only during compile time. That's why shadows look like shit in CoD2, it gives you a better performance at the cost of graphics. On the other hand, dynamic lights(ones made with the CoD2 FX Editor) are able to cast shadows and illuminate an area dynamically. They require more work and knowledge of scripting/effects, but they're not that difficult to set up.
Maybe I'm going to fool around with the efeect editor some more. I'm very eager to learn.