Game Development Community

Swapping Models

by Matt Louie · in Artist Corner · 11/06/2007 (3:34 pm) · 6 replies

Hey everyone, this might be a really newb question but I am wondering how I swap out some of the flight examples models that I've purchased with some models of my own. The models I have created are in .dts format but whenever I just straight up swap a .dts file the game crashes on me. Is there some .cs file that I need to change to import different models?

Any help with be greatly appreciated.

About the author

Recent Threads


#1
11/07/2007 (3:56 am)
Check your console.log and see what's causing the crash. Another thing you can do is to make sure all your textures are in the same folder as your dts model.
#2
11/07/2007 (6:28 am)
Also, make sure your model is setup correctly and that the datablock for it is setup correctly.
#3
11/07/2007 (10:17 pm)
Have you gotten this working?
Post back to let us know if more help is required :o)

RT
#4
11/08/2007 (3:42 am)
If its a player model (usually those are the most prone to crashing) you'd need to change the TSShapeConstructor (either at the top of player.cs in server/scripts or in player.cs in data/shapes/player) and you also need to change the player shapefile in the player datablock, not doing one or the other usually results in a nasty crash.
#5
11/10/2007 (1:46 pm)
Hi everyone, thanks for all the helpful replies.

However, after changing my .dts file to point somewhere else in the Datablock, it still is crashing itself. I also am not able to find the TSShapeConstructor.

Thanks,

I am unable to check the console log before the game crashes. It crashes as soon as I hit "Launch Mission"
#6
11/10/2007 (3:46 pm)
I finally am able to swap out models for my own. However these aren't player models, I am just able to swap out things like, bullet models, trees and other things. Is there some sort of special data that I need to configure to swap out a player model?

Thanks, any help is appreciated.