Game Development Community

Loading problem

by Warit Achavanuntakul · in Technical Issues · 01/11/2007 (6:17 pm) · 0 replies

Two quick problems,

1. It seems like when I'm exec'ing too many datablock at once, torque crashes. Is there anyway to tell torque to load one object/datablock at a time, then continue loading next object once its done? I saw loading bar in the sample kit but I can't seem to figure out its code. All i saw was one "exec" after the other.

2. Possibly related to problem number 1, I can't reload my mission if I don't delete all .DSO file and exec them all over again.

Can anyone share any light on these?


here's the end of log file before it went black:


Mapping string: MissiOnStartPhase2 to index: 9
*** Phase 2: Download Ghost Objects
Mapping string: MissionStartPhase2Ack to index: 1
Ghost Always objects received.
Mapping string: MissiOnStartPhase3 to index: 10
Client Replication Startup has Happened!
fxFoliageReplicator - Client Foliage Replication Startup is complete.
*** Phase 3: Mission Lighting
Successfully loaded mission lighting file: 'control/data/mission/StageOne_beb9c24d.ml'
Mission lighting done
Mapping string: MissionStartPhase3Ack to index: 2
ReplacingFieldMonsterIcon #0
ReplacingFieldMonsterIcon #1
ReplacingFieldMonsterIcon #2
Activating DirectInput...