Ship Def files

I've been thinking of modding the weapons and defenses techs and ship components in the game. What I wonder is whether or not I will have to change any of the ship files or other files for the AI to be able to still make fighting ships or if the game will recognize it as a beam, missile, or MD weapon like normal.