No config datablocks?
by Kevin James · in Torque Game Builder · 06/13/2007 (6:24 pm) · 4 replies
I haven't used TGB 1.5 yet, but I heard that there are no more config datablocks. Is this true!?
I pretty much use config datablocks whenever I can, and they really streamline some grunt work. Are they really missing in 1.5? If so, will it remain that way and why?
I pretty much use config datablocks whenever I can, and they really streamline some grunt work. Are they really missing in 1.5? If so, will it remain that way and why?
About the author
Hobbyist game developer -- free and open source games FTW.
#2
Simply put exec(expandFileName( "^game/gameScripts/yourconfigdatablocks.cs")); at the last line in TorqueGameBuilder/tgb/main.cs
They'll work in editor (though you'll have to reopen your map one time after tgb startup).
06/14/2007 (8:22 am)
I must've say that before knowing how to re-implement them in editor.Simply put exec(expandFileName( "^game/gameScripts/yourconfigdatablocks.cs")); at the last line in TorqueGameBuilder/tgb/main.cs
They'll work in editor (though you'll have to reopen your map one time after tgb startup).
#3
06/14/2007 (8:50 am)
Ah, I'm glad to hear it.
#4
06/15/2007 (7:27 am)
Support for automatically loading project config datablocks and making them available to the editor has been added for the next release.
Torque Owner Thomas Buscaglia