Author Topic: Armor table entry  (Read 1222 times)

0 Members and 1 Guest are viewing this topic.

Offline boewolf

  • 28
After trolling the wiki for a while I think I've found what I was looking for.  But I am unsure if I have it right.  What I was trying to do was make an armor type that was more resilient to beams, but takes a lot more damage from bombs.  So this was my armor table entry.

#Armor Type
$Name: Crystal
;;This armor is made crystal type substance,
;;that deflects half of the energy from laser weapons away from the hull.
;;Very weak against bombs,
;;and takes 3 times normal damage.

$Damage Type: Beams
   +Calculation: Multiplicative
   +Value: 0.50

$Damage Type: bombs
   +Calculation: Multiplicative
   +Value: 3.00
#End


To my understanding this looks right.  All I should need to do is save it as a armor.tbl file from notepad.

I think anyway?

 

Offline Fury

  • The Curmudgeon
  • 213
That's it for armor.tbl yes. But you also need to specify damage type for all weapons. See
http://www.hard-light.net/wiki/index.php/Weapons.tbl#.24Damage_Type:

 

Offline boewolf

  • 28
Sweet.  Many thanks.