To confirm Ross' explanation... using a script that may have a line such as the following:
"hudimagefine=gamecore\text\pickedupammo.tga"
In the above, I have both a "pickedupammo.tga" amd "pickedupammo.dds" file.
I ran two tests-->
1)renamed the TGA image file with a .BAK extension and edited the script to point to the TGA file
2)renamed the DDS image file with a .BAK extension, renamed the TGA image file back to its original, and pointed the script to the DDS file.
When the script points to the .TGA and only the .DDS exists, it uses the .DDS file. When the script points to the .DDS and the .TGA exists only, then it will use the .TGA file.
It only involves .TGA and .DDS only.

Twitter: @NFoxMedia