Game Development Community

Works in Show tool but on ingame

by Anthony Rosenbaum · in Artist Corner · 06/04/2005 (6:10 am) · 2 replies

A student of mine is working on a new player model. The model renders with root animation in the regular show too but when I load it in game and or in TST the mesh dissapears. . .and ideas?

#1
06/04/2005 (7:06 am)
I would check all the basics; player.cc in the script folder of server, player.cc in the data/shapes/player folder, etc. If your just modding the existing player folder, then numerous problems can occur with conflicts between the things you've replaced and the things that are still there.

If your exporting from 3dsMax I would take some time to double check all the Official export documentation basics. I've fought the exporter as well, and did write a small tutorial describing some of the bare basics here. I wrote it because the official docs lacked some specific information relating to animating models. The official docs are great for static dts export though.

I can remember one of my models doing exactly what you described, but that was when I was still figuring the exporter out, and I can't remember how I fixed it now (I've slept since then). I would take a good look at some of the screen shots in the tutorial I wrote paying attention to the schematic view.

It would also help to know if your student is using a new folder, or is saving things to the shapes/player folder.

Also, I would try and issolate the problem by keeping the model simple. For example: If the model is textured, then make a test dts export with no textures to eliminate the possibility of the texture causing the problem, etc. If you have more that one dsq animation, I would stick with just one in the shapes/whatever_you_called_your_folder and also change your .cs file in the model folder to include just the root dsq sequence. Double check your sequence node helper settings in Max. I sometimes noticed strange errors when playing with the frame rate, etc. So to debug make sure the frame rate is standard 30fps in Max, and delete your existing sequence helper and create a new one leaving all the settings in their default positions, etc.

Hope that helps to get you started on the debugging process.

B--
#2
06/04/2005 (7:54 am)
Drtopped the bones and skin and exported fine. So it must be one of those things =S at least we needed to rebone the mesh anyway saw some distotions