Game Development Community

Having some problems using the editor

by Bryce Kaminsky · in · 08/25/2004 (2:26 pm) · 3 replies

I've got the code working but the GUI doesnt really work. I press 12 it comes up i click NEW then i modify the light. I click spot light and mess around with some of the other settings. I click SAVE. then i go to the editor and add a sgUniversalLight to my map. The light shows up but they all look the same and they are not spotlights just regular lights with the same raduis.

Bugs:
Everytime i click to expand all on a light object crashes.

*********************
About the editor
*********************
It would be nice if it worked. The area to the left of the colour selection should have a box that shows the colour.

-=Ice Out=-

#1
08/27/2004 (1:58 am)
How did you get the editor working ? The code works right but not the editor!? It doesn't work in the starter.fps example too... is there a key binding which I have to add ??
#2
08/28/2004 (12:39 am)
You need to edit your config.cs in starter.fps/client/ that information is in the documentation

you also need to drop in the editor.gui and the other editor file into you starter.fps/client/ui/
#3
08/28/2004 (7:50 am)
Hi Bryce,

Spotlights only work as static lights (select the 'Static' check box in the Light Editor). For more details checkout the Modelers Guide.

Can you post your console log? Torque should be dropping related information in the log. If the log is large just post a link or email it to me and I'll check it out.


Alexander,

Check out the 1.1.5 Upgrade Guide, the 'Required Script Changes' section shows how to setup the Light Editor. You only need to copy over the Lighting Pack script files if you're using 'starter.fps' (the changes were applied by the patch file), otherwise you'll need to apply the changes as well.

-John