Acid81 Posted September 5, 2013 Share Posted September 5, 2013 Weapons(49), iType=79eItem_ChitinPlating My DGC is set this item to give a 4 HP bonus. The same value is set in XGTacticalGameCore. Its giving 0 ingame, can anyone explain why ? Link to comment Share on other sites More sharing options...
johnnylump Posted September 5, 2013 Share Posted September 5, 2013 Can you print the entire Weapons= line? Without seeing it, all I can guess is you have a syntax error in it. Link to comment Share on other sites More sharing options...
Acid81 Posted September 5, 2013 Author Share Posted September 5, 2013 (edited) From DefaultGameCore.iniWeapons=(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 September 5, 2013 by Acid81 Link to comment Share on other sites More sharing options...
johnnylump Posted September 5, 2013 Share Posted September 5, 2013 (edited) 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 September 5, 2013 by johnnylump Link to comment Share on other sites More sharing options...
Recommended Posts