Game Development Community

Hangs when tinkering with datablock.cs in managed folder

by Rick Kelley · in Torque Game Builder · 07/09/2007 (11:07 am) · 2 replies

Been playing around with this, and its pretty slick! However, I noticed that if I go to the managed folder of my project, and open the datablocks, and add something by copying an old datablock from the previous 1.1.3 gamebuilder and try to use it the images, it will freeze up the tgb. I have to physically reinstall before to fix this error. I hate to have to add the images one by one.

#1
07/11/2007 (9:49 am)
Are you changing the paths correctly? Paths are handled completely differently in 1.5 because it no longer assumes you're starting in the TGB folder. They need to be absolute paths. Is it "getModPath"? There's a function that fixes the path for the static sprite datablock.
#2
07/19/2007 (11:25 am)
Yes, the paths are correct. I even tried full paths for each resources, still no worky. I even tried a empty game, then adding only one image file to be used, and it will hang, (full path and yes the file was in the
proper folder). Not at my home computer, so I dont remember if I tried it in the Resource folder, or the
game folder.