Jump to content

Chitin Plating error


Acid81

Recommended Posts

From DefaultGameCore.ini

Weapons=(iType=eItem_ChitinPlating,ABILITIES[0]=eAbility_NONE,ABILITIES[1]=eAbility_NONE,ABILITIES[2]=eAbility_NONE,

ABILITIES[3]=eAbility_NONE,ABILITIES[4]=eAbility_NONE,ABILITIES[5]=eAbility_NONE,Properties[0]=eWP_Backpack,

Properties[1]=eWP_PoisonImmunity,Properties[2]=eWP_None,Properties[3]=eWP_None,Properties[4]=eWP_None,

Properties[5]=eWP_None,iDamage=0,iEnvironmentDamage=0,iRange=0,iReactionRange=-1,iReactionAngle=200,

iRadius=0,iCritical=0,iOffenseBonus=0,iSuppression=0,iSize=eItemSize_Small,iHPBonus=4,iWillBonus=0)

From XGTacticalGameCore

Weapons(49)=(Properties=EWeaponProperty.eWP_Backpack,iType=79,iReactionRange=-1,iReactionAngle=200,iHPBonus=4)

Edited by Acid81
Link to comment
Share on other sites

I don't think the weapon property "eWP_PoisonImmunity" exists, and I suspect the weapons= line is being kicked out because of it. Try taking that out (replacing it with a zero would work).

 

Armors can get eAP_PoisonImmunity, but that's an armor property that can't be applied to a weapon. The Medikit's poison immunity is hardcoded in the upks.

 

Here are all the valid weapon properties, taken from XComGame.upk >> XGTacticalGameCoreData

 

enum EWeaponProperty

{
eWP_None,
eWP_Secondary,
eWP_Pistol,
eWP_AnyClass,
eWP_Support,
eWP_Rifle,
eWP_Assault,
eWP_Sniper,
eWP_Heavy,
eWP_Explosive,
eWP_UnlimitedAmmo,
eWP_Overheats,
eWP_Psionic,
eWP_Melee,
eWP_Integrated,
eWP_Encumber,
eWP_MoveLimited,
eWP_Backpack,
eWP_NoReload,
eWP_CantReact,
eWP_MAX
};

Edited by johnnylump
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...