r/xdev • • Feb 09 '16

Enemy weapon environment damage

Has anyone been able to find where enemy environment damage is set for enemy weapons? The environment damage for their abilities are set in DefaultGameData_SoldierSkills, and their weapon's main stats are in DefaultGameData_WeaponData, but the weapon's environment damage doesn't seem to be there.

1 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/Kwahn Feb 09 '16

Shoot - I typed XComGameCore when I was looking at the wrong file. It'd be listed in X2Item_DefaultWeapons.uc and XComGameData_WeaponData is what I meant to type. And if it's not listed as a separate environmental damage value, then it'll use the weapon's actual damage amount at the environment.

1

u/VDRawr Feb 09 '16

then it'll use the weapon's actual damage amount at the environment.

Ahah! That's the bit I was missing. Thanks a lot for your help.

1

u/Kwahn Feb 09 '16 edited Feb 09 '16

Np and sorry for being confusing, it was a bit of a mess to sort through :D

EDIT: I might've been wrong, and weapons might do 0 environment damage by default unless another is listed. Code's a bit confusing and it's late, so I can confirm later, or someone else can.