Game Development Community

Player question, again

by Ari J · in Torque Game Engine · 01/10/2005 (11:46 am) · 5 replies

Well, i've got the animated DTS shape.

I just really don't have a clue how to put inside my game, i have tried and tried for a week or two, so i was wandering if any of you could come up with ways to import my DTS into torque?

Thanks, Ari

#1
01/10/2005 (12:07 pm)
First, be sure it work, put the file in a folder in the shapes folder and attempt to view it with the show tool

Second, you need to decide what the dts file does, is it a player, item, or static object. After deciding make a corresponding datablock, and the use the editor or a specific function to load it into the game.
#2
01/10/2005 (12:19 pm)
Ari, a couple of weeks seems like a long time. Why don't you come on IRC (link to the right under the Dev Snapshot) when you next try it and I'm sure we'll be able to help you out.

Ian
#3
01/10/2005 (1:47 pm)
Well thanks, i will :)

Edit: Btw it works in the showtool, it just won't show up, i think it may be a wrongly scripted datablock.
#4
01/10/2005 (2:00 pm)
Easiest way to get character in the game with milkshape...
1) create character in milkshape
2) rig character with bones
3) animate character
4) export DTS to some folder
(ex: starter.fps/data/shapes/yourmodelfolder/yourplayer.dts)
5) edit the player.cs file:

comment out (put // in front of) exec("~/data/shapes/player/player.cs");

in datablock PlayerData(PlayerBody) change
shapeFile = "~/data/shapes/player/player.dts"; to whatever you had
(ex: shapeFile = "~/data/shapes/yourmodelfolder/yourplayer.dts";)

6) run the FPS demo and hit tab button to see in 3rd person

www.cellienstudios.com
www.terrathegame.com
#5
01/10/2005 (2:13 pm)
Thank you, i'll try that!