No I�m sorry Vanbeke I don�t know of anyway to mod this. I understand what you are asking now (mount or no mount) but it can�t be done the way you are describing. The closest you could get would be to script a random event that inflicts damage to any ship with that weapon. Clearly that isn�t what you want. Didn�t someone else already suggest that or was that in another thread?
@ Lord_Shleepy: I don�t even play the game or any of the mods that have been released. I just tinker as I develop my TC!