Game Development Community

Adding objects in world editor

by Jeff Leigh · in Torque Game Engine · 09/23/2002 (6:06 pm) · 4 replies

How come I can't get new interior objects into a mission with the editor? If I add a new object (with World Editor) or I copy and paste and existing object (say bHouse) in Water World I get a plain black shape even though the one that was already in the mission has color and texture. I figured it should be embedded in the shape since the engine supposedly only loads one copy and just references the model from a manager. I've looked everywhere for a way to tell it the texture and/or lighting to make it look right.

Am having a mental block or am I missing something basic here?

#1
09/23/2002 (6:19 pm)
hehe, yup you are missing somthing, when you get you "black" build ingame goto edit and click on relight scene ,or i think you can do alt l,,,,you just basicly have to tell the engine to light up the new object.
#2
09/23/2002 (6:23 pm)
Did you try "relight scene" in menu under edit.
#3
09/23/2002 (6:28 pm)
Yeah, thanks, between posting this and your reply I found it. Before I kill myself looking is, there an easy way to add objects like this through scripting (like $obj.addPlayer()) or do I have to go the C++ route to do that?
#4
09/23/2002 (6:52 pm)
you can add anything by script or by the in game editors

i have some notes on some of the basics, click on the "PwrweaponsDM (in theTorque Game Engine)" link when you get to

www.planetquake.com/noescape/