TSShapeConstructor Relations
by Aaron Murray · in Torque Game Engine · 01/26/2002 (10:09 am) · 0 replies
How exactly does Torque know what to do with the ShapeConstructor(PlayerDts) datablock found in data/shapes/player/player.cs file? PlayerDts is found nowhere else in the code or script, so how does it know what to do with this data?
Let's say I wanted to add a new player type, LightFemaleHumanArmor and I wanted it to have a different model, wouldn't I have to make another ShapeConstructor for it? If this is the case, why is the datablock given the name PlayerDts instead of, say, LightMaleHumanArmorDts?
Thanks for your help!
Let's say I wanted to add a new player type, LightFemaleHumanArmor and I wanted it to have a different model, wouldn't I have to make another ShapeConstructor for it? If this is the case, why is the datablock given the name PlayerDts instead of, say, LightMaleHumanArmorDts?
Thanks for your help!