Quote from bulletbutter: GoEach unit has an attribute (light, mechanical, biological, massive, etc) that helps dictate how much damage is dealt to it by various weapon types. Is there a way to add custom attribute types? Or at least a clever way to fake it?
It's possible but complicated. Probably the easiest route is to use a buff behavior with a combat damage response of 1 that reduces the damage fraction by X amount and a required effect or excluded effect array set to the possible effects. Of course, this isnt very handy if you have a ton of damage effects, but I guess you'd have to set the "attribute modifier" for the weapon damage anyway, so I guess the work involved is the same.
Ex:
"Super Light Armored Behavior"
Combat Damage Response
- Chance: 1
- Modify Fraction: 1.4
Required Effects: Weapon 1 Damage, Weapon 2 Damage, Weapon 3 Damage, etc etc etc
"Titanium Armor Behavior"
Combat Damage Response
- Chance: 1
- Modify Fraction: 0.3
Required Effects: Weapon 4 Damage, Weapon 5 Damage, Weapon 6 Damage, etc etc etc
bulletbutter AuthorEach unit has an attribute (light, mechanical, biological, massive, etc) that helps dictate how much damage is dealt to it by various weapon types. Is there a way to add custom attribute types? Or at least a clever way to fake it?
The Team - TnTProductions