Game Development Community

Can I use .eff particle files in TXB?

by Brandon · in Torque X 2D · 01/22/2009 (9:12 am) · 3 replies

I got a content pack and it has particle effects in .eff format. Can those be used in the TXB? When I drag it in there it acts like it imports it, but nothing shows up.

#1
01/22/2009 (10:05 am)
Currently no, without a lot of manual work. TGB effects are stored in a binary format, TXB effects are xml (but both have .eff extensions). You would have to open the eff in TGB, copy down all the values then open TXB and recreate them. You also have to make sure you copy over the graphics (materials) with the same name and break them up into the same cell count, etc if they are sprite sheets. It's not difficult, just time consuming.

I've been considering writing an importer utility for this purpose lately, maybe I'll look into it again...
#2
01/22/2009 (10:41 am)
Ahh dang I don't have TGB. Would be cool if you wrote an importer, though I'm not sure that there is a lot of demand for it.
#3
01/22/2009 (2:31 pm)
I wrote a converter from .eff to the XML based format of TX a while ago when I switched from TGB to TX. It is not very hard but if you really know how to create edit particles it should not be a problem to just create the effect again.