Game Development Community

Datablock not working

by Lukasz Smaga · in · 10/29/2006 (4:12 am) · 2 replies

Hi
I'm new to the TLK in TGE 1.5 and I have problem. When I want to make new light it doesn't work. I'm going to the light options and chose NEW and naming it whatever. Then I'm making some changes and next I'm going to Mission Objects -> Environment -> sgLightObject and... the list is empty :( Can somebody help me to get to work this ? I can't finde any doc/tutorial about how to make a simple light :(
Cheers, Lucas

#1
10/31/2006 (1:17 am)
Are you using the default mod or creating you own? If you're using a new mode make sure the server game.cs executes:

exec("common/server/lightingSystem.cs");

This script loads the light and filter datablocks.

Also check the console for errors after creating a new light datablock.
#2
10/31/2006 (3:12 am)
Thanks John :) now it works