Deceptive Pastry
Refugee
This would save me a lot of complication of having to enter in damage values for every weapon and factor in all modifiers. I notice in ui_display.xml, for displaying damage and such, it is able to pull these variables and display them.
<display_entry name="EntityDamage" title_key="statEntityDamage"/>
<display_entry name="BlockDamage" title_key="statBlockDamage"/>
This shows your current damage and block damage post-all perc_add calculations in the in-game character stat menu.
However there doesn't seem to be a way to pull these values to use in CVar calculations. I've tried adding @, #, and _ infront of EntityDamage and statEntityDamage (think latter is just for localization) and it doesn't seem to be possible. Trying to do something like this...
<display_entry name="EntityDamage" title_key="statEntityDamage"/>
<display_entry name="BlockDamage" title_key="statBlockDamage"/>
This shows your current damage and block damage post-all perc_add calculations in the in-game character stat menu.
However there doesn't seem to be a way to pull these values to use in CVar calculations. I've tried adding @, #, and _ infront of EntityDamage and statEntityDamage (think latter is just for localization) and it doesn't seem to be possible. Trying to do something like this...
Code:
<triggered_effect trigger="onSelfEquipStart" action="ModifyCVar" cvar="EntityDamageHeadshot" operation="set" value="1.5"/>
<triggered_effect trigger="onSelfEquipStart" action="ModifyCVar" cvar="EntityDamageHeadshot" operation="multiply" value="_EntityDamage"/>