Game Development Community

Tons of Gamebase entries in my missions

by Lee Latham · in Torque Game Engine · 06/02/2008 (11:35 pm) · 3 replies

Okay I've been wondering about this for like, two years, and I think the time has come to ask the question:

Why do I have 40,000 lines of Gamebase objects being inserted into my missions by the Mission Editor?

I'm sure I've screwed something up, but danged if I know what. They don't seem to cause a problem--except when I delete them manually out of my missions! They look like this:

new GameBase() {
         canSaveDynamicFields = "1";
         position = "0 0 0";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "tireEmitter";
      };
      new GameBase() {
         canSaveDynamicFields = "1";
         position = "0 0 0";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "tireEmitter";
      };
      new GameBase() {
         canSaveDynamicFields = "1";
         position = "0 0 0";
         rotation = "1 0 0 0";
         scale = "1 1 1";
         dataBlock = "tireEmitter";
      };

And yes, they are ALL of the tireEmitter datablock!

Any input would be greatly appreciated!

lee

Edit: I should mention they are in the ClientMissionCleanup Simgroup.

#1
06/03/2008 (3:54 pm)
What object in your game uses the tireEmitter object? It should be added to the "MissionCleanup" group to be deleted after the server is shut down (and thus not re-saved into the mission file). You could try deleting them and see if they re-appear in your mission, and that would let you know if it's just a bug that has been carried forward.
#2
06/03/2008 (5:23 pm)
Mark is on the money. on the mark.
#3
06/03/2008 (7:09 pm)
Orion: lol

Thanks for the responses. I did another search and it was indeed being used. Also, I managed to delete them and not affect the level--who knows why it messed up the first time I tried it.

I think you guys have pointed me in the right direction--thanks!