OpenXcom Forum

Modding => Released Mods => XPiratez => Topic started by: minimen on January 12, 2025, 08:21:29 pm

Title: Inquiry About Default Damage Spread
Post by: minimen on January 12, 2025, 08:21:29 pm
Hello,

I noticed that some weapons have a damage spread indicated as "0-200%" or "50-150%." However, certain weapons, such as laser weapons, are missing the "calculation type" line in their descriptions. Could you clarify what the default damage spread  in this case?
Title: Re: Inquiry About Default Damage Spread
Post by: Delian on January 13, 2025, 12:34:18 am
Defaults:
Code: [Select]
DamageType RandomType
CHARM 5
PIERCING 8
BURN 4
CONCUSSIVE 9
LASER 8
PLASMA 8
DAZE 8
CUTTING 8
CHEM 8
CHOKE 5
OTHER 8

RandomType:
4 = fixed 5-10 damage
5 = 0-0%
8 = 0-200% spread
9 = 50-150% spread
Title: Re: Inquiry About Default Damage Spread
Post by: minimen on January 13, 2025, 12:50:15 pm
Thank you! :D I’m also curious about the thought process behind this design decision to omit the "calculation type" for certain weapons. Additionally, how does this apply to other weapon types, such as electric or bio weapons? Are they also intended to have a default damage spread, or do they follow different rules?
Title: Re: Inquiry About Default Damage Spread
Post by: Delian on January 13, 2025, 03:20:33 pm
Everything that's not manually defined (default value) is omitted. In the Analysis (AKA Stats for Nerds) there's button on the bottom with a name DEFAULTS. If you press it, you'll be able to scroll down and see what a particular value is.

Electric and Bio are not other "weapon types", but "damage types". They are in the OTHER category that I listed.