Alpha in render diffuse map to texture

Hi

I have been asked to automate/make easier the baking for the artist here and for the most part have succeeded,
I have a bunch of outputs from the Render to texture all working well, they opened and composted in PS with some layer
types (overlay add etc…) and some capacities BUT getting a diffuse bake out with an alpha channel eludes me.
If you do it manually and pick 32 bit on a tga when choosing the name and folder to save in the RTT window it saves with and alpha,
but this has to be done once by hand and then all scripted outputs use 32 bit, but thats a bit naf as some people
may not want always 24 bit or always 32 bit.

When supplying the RTT with a file name/path is it possible to set the depth of the tga?

cheers brainsplode

and the answer was Targa interfaces :smiley:

http://docs.autodesk.com/3DSMAX/15/ENU/MAXScript-Help/index.html?url=files/GUID-6BADF6A1-D670-48C2-9139-F8000E1AC537.htm,topicNumber=d30e556439