Game Development Community

Question for Experts

by Rajavidya Das Hargreaves · in Torque Game Engine · 06/14/2002 (5:01 pm) · 1 replies

Hi guys

could you run me through the steps of modifying the torque demo scripts so that i can load and display my own character models please.

Thanks in Advance

-Rajavidya Das Hargreaves

#1
06/14/2002 (7:13 pm)
I'm really guessing here, but as long as you have the correct paths and filenames in the following scripts:

fps/server/scripts/player.cs
fps/data/shapes/player.cs

and as long as you use the right datablock in fps/server/scripts/player.cs:

datablock PlayerData(futuristicClass)

and in fps/server/scripts/game.cs:

%player = new Player() {
      dataBlock = futuristicClass;
      client = %this;
   };

you should be ok. I'm pretty sure that's all I did.