Game Development Community

Lights disappear

by John Rockefeller · in · 08/13/2005 (10:06 pm) · 4 replies

Hi there

I have a problem where the lights get set up nicely and work perfectly when I'm doing it the first time. Then when I go to load my level, they don't show up any more. If I edit the mission file with notepad I can see the code in there for the lights. But they don't show up :/

I've tried going through the whole project again with WinMerge, just to make sure I didn't miss anything, but everything's fine there.

I'm using the racing kit, so maybe it has something to do with that.

Any ideas?

UPDATE: As I drive the car underneath the spot where the lights technically are, the lights affect the car. But they just don't affect the DIF files I've placed. Maybe it's not including these lights when it lights the mission?

#1
08/14/2005 (8:30 am)
Hi John,

Take a look at the console log, are there any errors related to the light objects or datablocks?

My first impression is that the light and filter datablock paths are still set to 'starter.fps' (the paths are found in 'common/synapseGaming/contentPacks/lightingPack/sgDeployConfig.cs'). If you change mods often I recommend moving the datablocks to the common folder (example: 'common/lighting_assets/sgLights' and 'common/lighting_assets/sgFilters').

Let me know if this helps!

-John
#2
08/15/2005 (8:05 am)
Hi John,

I got your email:

Chances are the scene didn't relight after making the changes to the Lighting Pack datablock paths, so it may have appeared like the problem persisted (because the cached static lighting was from before the fix). Then after a relight occurred the problem would look like it suddenly went away, eventhough you already fixed it.

-John Kabus
Synapse Gaming
#3
08/15/2005 (9:19 am)
Okay, cool. Maybe after I edit the scene and save it, I should go into the missions folder and delete all of the .ML files?

Hey look, I can post!
#4
08/15/2005 (10:08 am)
Cool! :)

Deleting the ml files is a good idea, it will force a relight on all of your missions (that way all of your lighting is up to date).