This repository was archived by the owner on Apr 14, 2020. It is now read-only.
Description Reviving issue #1177 , which I can consistently replicate on a fresh install with only CE 1.1 loaded.
Whenever I try to look at the infocard/information window of the Heavy Charge Blaster, I get the following repeating error on the log:
Trying to get stat MeleeDamageAverage from Gun_ChargeBlasterHeavy which has no support for Combat Extended.
However, I managed to fix it by changing the following in Patches\Core\ThingsDefs_Misc\Weapons_Guns.xml (lines 1151 and 1152) :
<Operation Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="Gun_ChargeBlasterHeavy"]</xpath>
to
<Operation Class="PatchOperationReplace"> <xpath>Defs/ThingDef[@Name="Gun_ChargeBlasterHeavyBase"]/tools</xpath>
I can now look at the information of the Heavy Charge Blaster without the error popping up and it displays the correct melee DPS, etc.
Reactions are currently unavailable
Reviving issue #1177 , which I can consistently replicate on a fresh install with only CE 1.1 loaded.
Whenever I try to look at the infocard/information window of the Heavy Charge Blaster, I get the following repeating error on the log:
Trying to get stat MeleeDamageAverage from Gun_ChargeBlasterHeavy which has no support for Combat Extended.However, I managed to fix it by changing the following in Patches\Core\ThingsDefs_Misc\Weapons_Guns.xml (lines 1151 and 1152) :
<Operation Class="PatchOperationAdd"> <xpath>Defs/ThingDef[defName="Gun_ChargeBlasterHeavy"]</xpath>to
<Operation Class="PatchOperationReplace"> <xpath>Defs/ThingDef[@Name="Gun_ChargeBlasterHeavyBase"]/tools</xpath>I can now look at the information of the Heavy Charge Blaster without the error popping up and it displays the correct melee DPS, etc.