Problem with Creating Lighting Object
by game4Rest · in Torque Game Engine · 07/29/2006 (2:51 am) · 2 replies
Hi folks,
I followed document to create new lighting object in my mission. But I can't see any result.
Would someone let me know if I made any mistake from below?
1. Open up light editor by hitting F11 -> F12
2. make datablock by File->clone->enter 'testLight' into datablock name, then hit 'create'
(it doesn't ask me what datablock to clone. ????)
3. check 'enabled', enter '10' for radius
4. save by File->save
5. hit F4
6. click sgUniversalStaticLight from Environment tree
7. enter object name and trying to select datablock but no datablock appears
I don't know why I can not see any datablock to select from my procedure 7.
I can see testLight.cs in the sgLights folder, but it is empty.
So, am I missing something creating lighting object?
Any help will be highly appreciated.
Thank you.
Hongjin
I followed document to create new lighting object in my mission. But I can't see any result.
Would someone let me know if I made any mistake from below?
1. Open up light editor by hitting F11 -> F12
2. make datablock by File->clone->enter 'testLight' into datablock name, then hit 'create'
(it doesn't ask me what datablock to clone. ????)
3. check 'enabled', enter '10' for radius
4. save by File->save
5. hit F4
6. click sgUniversalStaticLight from Environment tree
7. enter object name and trying to select datablock but no datablock appears
I don't know why I can not see any datablock to select from my procedure 7.
I can see testLight.cs in the sgLights folder, but it is empty.
So, am I missing something creating lighting object?
Any help will be highly appreciated.
Thank you.
Hongjin
About the author
Recent Threads
#2
Thanks for your quick reply.
Yes that solved my problem.
I doubt if I didn't try 'File->new' in vain. I think I had to try many times, not once or twice. :)
Thanks again. Thanks for TLK too. I believe it will make my game more qualified.
Hongjin
07/29/2006 (8:34 am)
Hi John,Thanks for your quick reply.
Yes that solved my problem.
I doubt if I didn't try 'File->new' in vain. I think I had to try many times, not once or twice. :)
Thanks again. Thanks for TLK too. I believe it will make my game more qualified.
Hongjin
Torque Owner John Kabus (BobTheCBuilder)
Try using 'File->New'. 'Clone' copies the currently selected datablock (listed in the light editor's datablock drop down). If no datablocks are listed in the drop down cloning probably won't work (nothing to clone).