For one I'd say this belongs in scripting.
While I have no clue how to do what you want, I figure that you perhaps have to make a seperate system that does what you want.
Torpedoes, as I understand it, only generates colores, flares and damage, and contain such systems as if it can penetrate shields, like the phased torpedoes.
Correct me if im wrong... wich I probably am.