Models not loading
by Devon Ly · in Torque Game Engine · 01/16/2003 (6:41 pm) · 3 replies
I seem to be having trouble making the models visible with the new head release.
I previously was able to successfully load the models using 1.1.2 release and also the head release's version of the show tool. The models do load but they are not visible. Is there a new procedure with head release that requires the scripter to manually set the visibility to true or something?
Below is the data block i am using
------------------------------------------------
datablock ItemData(green_gem)
{
category = "Gems";
shapefile = "~/data/shapes/gem_hunter/green.dts";
};
function green_gem::onCollision(%this,%obj,%col,%pos)
{
%obj.delete();
}
-------------------------------------------------
am i doing something incorrectly.
And before you ask the shapefile path and model name is correct.
any input would be much appreciated
thanks ;)
I previously was able to successfully load the models using 1.1.2 release and also the head release's version of the show tool. The models do load but they are not visible. Is there a new procedure with head release that requires the scripter to manually set the visibility to true or something?
Below is the data block i am using
------------------------------------------------
datablock ItemData(green_gem)
{
category = "Gems";
shapefile = "~/data/shapes/gem_hunter/green.dts";
};
function green_gem::onCollision(%this,%obj,%col,%pos)
{
%obj.delete();
}
-------------------------------------------------
am i doing something incorrectly.
And before you ask the shapefile path and model name is correct.
any input would be much appreciated
thanks ;)
#2
could not locate texture: special/cloakTexture
what's cloaktexture
and is that what's causing the problem?
01/18/2003 (5:30 pm)
ok when i try and place the shape into the world it comes up with this errorcould not locate texture: special/cloakTexture
what's cloaktexture
and is that what's causing the problem?
#3
01/19/2003 (8:10 am)
The base shape object class supports a cloaking mode, that's the texture that is used as part of the cloaking render. That texture is not used as long as you don't have cloaking on, and looking at the code, the fact that it's not loading shouldn't cause a problem. If you can you zip up the .dts file and any associated textures and email them to me, I'll take a quick look (timg@garagegames.com)
Torque Owner Tim Gift