Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: boewolf on December 14, 2010, 11:34:57 pm

Title: Armor table entry
Post by: boewolf on December 14, 2010, 11:34:57 pm
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?
Title: Re: Armor table entry
Post by: Fury on December 14, 2010, 11:50:17 pm
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: (http://www.hard-light.net/wiki/index.php/Weapons.tbl#.24Damage_Type:)
Title: Re: Armor table entry
Post by: boewolf on December 15, 2010, 01:01:24 am
Sweet.  Many thanks.