15.10.2008, 23:47:31
(15.10.2008, 21:19:25)DCoder Wrote: Arise, old thread! Implemented.Idea: Support for NewArmorType=(float) to make verses default to that value instead of an armor type. Needed or not?Code:[ArmorTypes]
NewArmorType=armor_type_to_copy_default_verses_from ; not defining this, or using an unknown value makes it default to 100%
[object]
Armor= ;duh
[Warhead]
Versus.NewArmorType=float ;value
Note that this doesn't let you remove a declared armor type later on. Also, redefining it to have a different default will only take effect on warheads defined from that point on.
So basically you'd have:
Code:
[ArmorTypes]
NewArmorType=rock,wetpaper,cloth,protectiveherbs
[Warhead]
Versus.NewArmorType=20%,400%,200%,1000%
If so I'm all for that, it seems to be the easiest way.