Game Development Community

Player.dts not updating

by John · in Torque Game Engine · 11/26/2008 (4:44 pm) · 2 replies

I downloaded someone's free soldier character here and put it in my Torque demo folder, and the guy looks great. The problem is I exported the orc and named it player.dts (the same) and put it in the same folder, and the soldier keeps coming up.
I saved a copy of my original "Player" folder, so I just deleted the other directory and restored it to its original state. BUT,.. the soldier STILL is there. Am I missing some compiling issue, or?
Sorry if its something simple, I'm new to this engine and searched everywhere for any information for the last 3hrs on this forum and nothing.
Any help appreciated.
Thanks

#1
11/26/2008 (5:12 pm)
Your player dts files need to be unique. You can place them in the same folder or create a new folder called Soldier and place them in there and point the player datablock to it.

Soldier - (soldier.dts)

Ork - (player.dts) or (ork.dts)



In starter.fps\server\scripts\player.cs look for this ;)

datablock PlayerData(PlayerBody)
{
renderFirstPerson = false;
emap = true;

className = Armor;
shapeFile = "~/data/shapes/player/player.dts"; // change this for the model you want to load
#2
11/26/2008 (6:33 pm)
Ah,.. thanks for that, I'll just edit that from now on...
I figured out what the problem was too,.. operator error as usual. My "GameOne" folder (from the starter .pdf was loading the soldier, and I was editing the main torque directory... ack..