Game Development Community

Where are the Rendered Mission Bounds Deffined?

by Greg_ESAL · in Torque Game Engine · 10/10/2006 (7:42 pm) · 1 replies

Does anyone have any idea where the "Red Mission Bounds" are being defined. This is the big red block that deffines the mission area. It is only visible in the Mission editor, and I want to figure out how I can modify its color/rendering.

I am currently working on modify the mission editor for my current project.

Thanks in advance.

#1
10/11/2006 (5:26 am)
The red mission area is setup in the Mission Editor. If you open any of your saved mission.mis files and scroll down for the object called MissionArea you'll see it instantiates a class also named MissionArea.

In the engine code look for the file "engine/game/missionArea.cc". That is the class MissionArea uses and contains the code for networking the mission area object. The actual rendering as far as the editor is concerned occurs in "missionAreaEditor.cc".