Game Development Community

Wierd thing with milkshape exporter

by Jeff Wellock · in Torque Game Engine · 10/20/2001 (4:51 am) · 7 replies

Well, i built my gun, assigned all the muzzle to it etc. assigned a texture to it, exported it. Go into game, nothing's there? It picks up when i walk over it, but i cannot see it and it fires out of the hands, not where the muzzle shout be. I'm on WinXP, can anyone help?

#1
10/20/2001 (6:26 am)
Can you see it in the show tool. always do this first thing after you export anything.

To get the show tool, make a shortcut to you torque_debug.exe, open the shortcuts propreties
and add -show after the destination path.

Mine look like this:

"F:\torque\ATW\After the wall.exe -show"

Start the show tool by clicking the shortcut.

If you cannot load and see your model here then the problem is in the exporting or the model file.

Did you assign a number to all the mesh parts?
And did that number match the detail dummies.

Look in the dir where you ecported the dts and look in the dump file, it will tell you how far the export got before any errors.

That's all I can think off right now.

// Clocks out.
#2
10/20/2001 (6:27 am)
yeah, i tried show. Do you number meshes in milkshape? and there is no dump file
#3
10/20/2001 (6:30 am)
Well im have never tried to Milkshape export since I use 3dsmax so I guess I'm out of league here.

But I would think that you need to number your mesh even in milkshape ;P

// Clocks out.
#4
10/20/2001 (8:00 am)
Yeah, i'd like to use 3d max, but it refuses to run on XP
#5
10/20/2001 (9:12 am)
Milkshape only supports one mesh, so no numbering. The only issue I ran into with MilkShape was making sure I had "bounding box" collision set on the export dialog, and that the output scale was correct. The scale factor really depends on how large you built your shape. For the test weapons in the 1.1 SDK, I used a scale factor of 0.1

The weapon does show up on the ground though? Correct size and everything? It could be the mount points are off, especially if it's firing from the hand. Can you see the weapon when your in third person mode?
#6
10/20/2001 (11:31 pm)
nope, it's all invisible, nothing there. Basically, what i did was load up your gun, and deleted your bits except the points, and just built a new model around them. It's invisble on the floor and in the hands, but it picks it up. the file sizes for the .dts are usually around 5k for the gun
#7
10/21/2001 (12:56 am)
Did you link the mesh to the start dummy?
Since I still have nu clue to the Milkshape exported Im guesssing.
But I think that you still need the mesh to be linked to something.
Go look at the weapon again but defore deleting it check if its linked to something and then do the same with you model.

// Clocks out.