Game Development Community

FPS Environment Pack Issue/Question

by Gareth Fouche · in Torque Game Engine · 10/26/2006 (1:08 am) · 2 replies

I bought the FPS Enviroment pack, and have been working on my container interaction code (for chests and whatnot). To test I placed down a crate and a barrel from the pack as TSStatics, works fine.

But later, looking through the code, I decided I'd probably want containers to inherit from Shapebase so that they can animate. I made some StaticShape datablocks using those same shapes.

Now, when I put them in the mission, they are fine until LOD kicks in, it seems. At the point when they drop down to the next LOD level they become textureless grey shapes.

Its kinda odd, because I thought the actual rendering of the TSStatic and StaticShape would be pretty much the same, with respect to LOD. The TSStatics never lose their texture like that, irrespective of distance.

Does anyone know why this is happening? I'm fuzzy on the difference between the two types of objects? What are their intended purposes?

#1
10/26/2006 (3:08 am)
Gareth,

First, thanks very much for purchasing the pack.

I know exactly what you are dealing with, That problem is the same reason I did not end up enabling LOD for the animated things like the windmills. I tried to solve it, but was unable to.

The texture less thing you are seeing by the way, is probably the collision volume.

LightWave Dave may have an insight, it could be that I simply and setting up LOD wrong for an animated shape.

If a solution can be found, I will try to implement it and update the pack.
#2
10/26/2006 (3:18 am)
Thanks for the response Todd.

Yeah, the packs great, I look forward to creating settings with it. :)

Hopefully we can find out what the issue is, those models are ripe for animating. I especially want to get that stone tomb with the lid thats partially off animated, it would be so perfect for a crypt dungeon area.