Armor.tbl theory
The general idea behind armor.tbl is the interaction of two attributes; the ability of the ship being damaged to resist that damage, and the ability of the weapon damaging the ship to deal damage.
This is done by grouping ship armor into different types, and weapon damage into different types. This is because some types of armor are more effective against certain types of damage.
As an example, say you have a ship made entirely out of glass. Against ballistic weapons, it doesn't stand a chance; the slightest hit will cause it to shatter. Against beams, however, the ship will actually fair pretty well; the cannons will poke holes in it, but the ship will still maintain its overall hull integrity.
You also have a ship made out of paper. This ship will fair well against ballistic weapons - they'll just slice through it - but beam cannons will light it on fire and it'll quickly burn up. (This assumes combat takes place in an oxygen-heavy nebula)
So, your armor.tbl would look something like this:
#Armor Type
$Name: Glass
$Damage Type: Beam cannon
+Calculation Type: Multiplicative ;;Beam cannons penetrate instantly, so half
+Value: 0.5 ;;the destructive energy is wasted going through the empty hole
$Damage Type: Ballistic
+Calculation Type: Multiplicative ;;Impact force cracks and will finally shatter glass
+Value: 5.0 ;;so do 5x the damage value of the weapon
#End
#Armor Type
$Name: Paper
$Damage Type: Ballistic
+Calculation Type: Multiplicative ;;Explosives don't even detonate
+Value: 0.25 ;;Just whiz through the ship
$Damage Type: Beam cannon
+Calculation Type: Multiplicative
+Value: 99999 ;;A single hit will make this ship catch fire and die
#End
Note that you can use other calculation types, and you can use more than one calculation type (modifiers are applied in sequence to the original damage value of the weapon). I didn't do that in this example to keep things simple. But it would look something like this:
$Damage Type: Beam cannon
+Calculation Type: Multiplicative
+Value: 99999 ;;A single hit will make this ship catch fire and die
+Calculation Type: Additive
+Value: 42 ;;Just to add insult to injury, do 42 more damage as well