Game Development Community

How to create a light in the mission editor

by Mike Fosker · in Artist Corner · 01/04/2006 (8:37 am) · 1 replies

I am sure that I am doing something fundamentally stupid, I can't figure out how to add a light using the mission editor.
What do I need to do to add a light to my mission?

Thanks

#1
02/08/2006 (11:11 pm)
I'd like to know as well, however I've done a bit of research. I think you need to add fxLightDB or fxLight files to your source code in TGE1.3, recompile and then load the game, press F11, press F4 for world creator then go to MissionObjects->Environment->fxLight, you get a dialog to name the light and select the script that defines it, then you get a light in your scene.

I tried this in the demo of 1.4 without having to stuff around adding the fxlight code to the engine and it worked fine.