Large RPG loading and rendering issues
by Howard Dortch · in Torque 3D Professional · 02/08/2012 (9:05 am) · 62 replies
As the title implies. I load a mission file with buildings, doors, switches etc. As each item loads the engine creates a unique ID for reference. Now I have dynamic items that get loaded as POI items. I have them listed in a database (sqlite) so at the end of the mission load I load the dynamic POI stuff.
Here is the problem: Before all the items from the mission file actually get rendered in the game, the dynamic item loader gets called and one or more items from the mission file will disappear.
So my assumption is that one of the dynamic items is overwriting the ID number from the mission file and it causes the disappering item issue.
Couple of questions:
When creating the mission file would it help to bundle things in Simgroups ?
When creating the dynamic items should I delay creation until I am sure all mission items have been created?
Any help on the proper way to do this?
Here is the problem: Before all the items from the mission file actually get rendered in the game, the dynamic item loader gets called and one or more items from the mission file will disappear.
So my assumption is that one of the dynamic items is overwriting the ID number from the mission file and it causes the disappering item issue.
Couple of questions:
When creating the mission file would it help to bundle things in Simgroups ?
When creating the dynamic items should I delay creation until I am sure all mission items have been created?
Any help on the proper way to do this?
#62
11/10/2012 (8:36 am)
I got most of the issues on missing objects fixed or patched so it will work. Things just load very slow. Now the engine just crashes randomly and the editor crashes all the time soon as I hit the F11 key. Very unstable engine IMHO
Torque Owner Kevin Mitchell
12 CatBlack Studios