Game Development Community

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?

Page«First 1 2 3 4 Next»
#61
10/31/2012 (11:27 am)
Was there not a resource a while ago that displayed an issue where the number of items to be added for a given mission was limited and there was an engine correction that would extend the number higher? It was somewhere where the unique number was created by the image where there was a bit wise change to extend this. Maybe enum limited? I remember something like this. As I believed its the same issue. If you have the code to infinitely create items you can break at the known item number and see if there is a unsigned vs signed issue with the variables or if the variable max is not signed correctly.
#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
Page«First 1 2 3 4 Next»