Frictional Games Forum (read-only)

Full Version: Light entities - help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok... i've been playing around in the model editor to make entities and I've started making lamps... and... well I found a problem and i don't know how to fix it or whats wrong

in the model editor and level editor the light looks good and even looks perfect in the level editor... but for some reason in game when I load it, all the lights emitters are moved too 0,0,0 in the game world

the model is where I want them, but the light source is rogue...
here's an in game screen shot
[attachment=933]

I must of missed something but I haven't got the faintest clue as to whats wrong, doesn't surprise me since I'm still new with playing with entities
I think it may have something to do with the model itself. In the level editor do you see the pulse of a light in the area around the entity? Are all light sources (other than your custom ones) moved to those coordinates?
They show up working perfectly in the level editor and model editor

I must be missing a way to link the light to the model its self

I'm guessing its missing its local coordinates to the entity and resets too 0,0,0
well I've looked at the candle entity and stuff and have copied everything, created a body object and linked the mesh and light source to it, but still the light refuses to be in the global position and spawns at the global 0,0,0

at the moment, I gave up and the ceiling has candles all over it instead for the mean time Cool

Still hoping for a solution in the mean time, I've clearly over looked something but I cant find what would be causing it, or even what lil thing I'm missing in setting it up correctly, unfortunately there is not wiki that covers this stuff at the moment, if I can work it out, I'd be happy to write tutorials up... I'd do the wiki too cause this is a simple error that causes a lot of trouble for people making new content