Game Development Community

SORT::

by Jeremiah Fulbright · in Artist Corner · 04/23/2002 (12:33 am) · 3 replies

I am curious what needs to be done to get SORT:: to work from Max..

I am getting error about BestCount...


Thanks

#1
04/23/2002 (2:12 am)
I litle more info on how you use it now would make it easier to spot the error, but......

How to use the SORT:: command;

Lets say you have successfully exported a model with transperency.
In this model the you have a part called fence64.
But fence64 is not looking right in the game.

Go back to max and renamed that part to SORT::fence64

Export again and everything works.

// Clocks out
#2
04/23/2002 (7:34 am)
Basically SORT:: is a name that is caught by the DTS exporter, which then tells the exporter to do some extra code so that an object will appear correctly (normal facing) when it is displayed in Torque. You usually want to do a SORT:: on small objects that have a transparency map.

There is a really good example of this in the first section of the DTS Exporter Documentation if you are curious.

Logan
#3
04/23/2002 (8:40 am)
Done that, Read that ;)

I have a flipdown/animated cockpit... It is transparent, so it was needing sort, originally.. but I think I worked it out with some textur moving