Jump to content

XCOMModHelper


UberJumper

Recommended Posts

Could someone please give me a step by step, or direct me to one, that shows me how to reduce the to hit and crit percentages of the aliens?

 

1. Download XCOMModHelper.

 

2. Enable loading of loose ini files (ini files in Config folder):

  • If you want to mod XCOM Enemy Unknown (EU), run XCOMModHelper.exe -c EUConfig.xml
  • If you want to mod XCOM Enemy Within (EW), run XCOMModHelper.exe -c EWConfig.xml

You can alternatively edit resource cache of XComGame.exe or XComEW.exe, but editing text files is more comfortable.

 

3. Locate, backup and edit DefaultGameCore.ini:

  • <Steam Installation Path>\SteamApps\common\XCom-Enemy-Unknown\XComGame\Config\ for XCOM Enemy Unknown
  • <Steam Installation Path>\SteamApps\common\XCom-Enemy-Unknown\XEW\XComGame\Config\ for XCOM Enemy Within
// Thinman example

// BalanceMods_Easy = Easy difficulty
// BalanceMods_Normal = Normal difficulty
// BalanceMods_Hard = Classic difficulty
// BalanceMods_Classic = Impossible difficulty

// You are looking for iCritHit and iAim

BalanceMods_Easy=(eType=eChar_Thinman,iDamage=-2,iCritHit=0,iAim=0,iDefense=0,iHP=-1,iMobility=0,iWill=0)
BalanceMods_Normal=(eType=eChar_Thinman,iDamage=-2,iCritHit=0,iAim=0,iDefense=0,iHP=-1,iMobility=0,iWill=0)
BalanceMods_Hard=(eType=eChar_Thinman,iDamage=0,iCritHit=10,iAim=10,iDefense=0,iHP=0,iMobility=0,iWill=0)
BalanceMods_Classic=(eType=eChar_Thinman,iDamage=0,iCritHit=10,iAim=10,iDefense=0,iHP=2,iMobility=0,iWill=0)

You can check applied changes by giving the thinman some ridiculous health like iHP=10.

 

4. (Optional step) Disable phone home by editing Windows hosts file in case of editing Armors, Characters or Weapons for XCOM Enemy Unknown.

# Prevent Steam from Phoning Home
127.0.0.1 prod.xcom.firaxis.com
127.0.0.1 65.118.245.165

---

5. (Optional step) You can Verify Integrity of Game Cache (Right click on XCOM EU in Steam Library / Properties / Local Files) to retrieve all original unmodified game files.

Edited by Drakous79
Link to comment
Share on other sites

  • Replies 65
  • Created
  • Last Reply

Top Posters In This Topic

No need to suffer. It's nothing hard, dl the app, use it to make the game mod friendly, edit DGC.ini - put zeros (or desired value) to iCritHit and iAim of chosen aliens of chosen difficulty (BalanceMods), profit.

Edited by Drakous79
Link to comment
Share on other sites

4. (Optional step) Disable phone home by editing Windows hosts file in case of editing Armors, Characters or Weapons for XCOM Enemy Unknown.

# Prevent Steam from Phoning Home
127.0.0.1 prod.xcom.firaxis.com
127.0.0.1 65.118.245.165

Making step 4 optional is an interesting caveat I haven't seen before. How much evidence is there that only those items are affected by it (before I update the 'Steam and mods' article (well, probably the 'Basic Guide' article since it is specific to XCOM) and someone's game implodes because of it)?

 

And those instructions are much cleaner than any I've seen on the issue previously. (Not an issue I've personally pursued.) Worth making into a sub-topic in the DGC.INI article, given as this issue has been fairly common lately. I'll take care of that now.

 

-Dubious-

Edited by dubiousintent
Link to comment
Share on other sites

Dubious, if you look into ...Users\UserName\Documents\My Games\XCOM - Enemy Unknown\XComGame\Logs\EMS\ folder, you'll find XComGameCore.ini. It contains lines, that are responsible for clearing Armors, Characters and Weapons arrays. Arrays are filled with new entries afterwards.

[XComGame.XGTacticalGameCore]

!Armors=ClearArray
+Armors=(ABILITIES[0]=eAbility_NONE,ABILITIES[1]=eAbility_NONE,ABILITIES[2]=eAbility_NONE,ABILITIES[3]=eAbility_NONE,Properties[0]=eAP_None,Properties[1]=eAP_None,Properties[2]=eAP_None,Properties[3]=eAP_None,iType=eItem_ArmorKevlar,iHPBonus=1,iDefenseBonus=0,iFlightFuel=0,iWillBonus=0,iLargeItems=1,iSmallItems=1,iMobilityBonus=0)
... more entries follow

!Characters=ClearArray
+Characters=(iType=eChar_None,HP=1,Offense=0,Defense=0,Mobility=12,SightRadius=27,Will=0,Psionics=20,CritHitChance=0,CritWoundChance=0,FlightFuel=0,Reaction=0,ABILITIES[0]=eAbility_NONE,ABILITIES[1]=eAbility_NONE,ABILITIES[2]=eAbility_NONE,ABILITIES[3]=eAbility_NONE,ABILITIES[4]=eAbility_NONE,ABILITIES[5]=eAbility_NONE,ABILITIES[6]=eAbility_NONE,ABILITIES[7]=eAbility_NONE,Properties[0]=eCP_None,Properties[1]=eCP_None,Properties[2]=eCP_None,Properties[3]=eCP_None,Properties[4]=eCP_None,Properties[5]=eCP_None,bCanUse_eTraversal_Normal=False,bCanUse_eTraversal_ClimbOver=False,bCanUse_eTraversal_ClimbOnto=False,bCanUse_eTraversal_ClimbLadder=False,bCanUse_eTraversal_DropDown=False,bCanUse_eTraversal_Grapple=False,bCanUse_eTraversal_Landing=False,bCanUse_eTraversal_BreakWindow=False,bCanUse_eTraversal_KickDoor=False,bCanUse_eTraversal_JumpUp=False,bCanUse_eTraversal_WallClimb=False,bCanUse_eTraversal_BreakWall=False,eClass=eSC_None,bHasPsiGift=False)
... more entries follow

!Weapons=ClearArray
+Weapons=(iType=eItem_Pistol,ABILITIES[0]=eAbility_ShotStandard,ABILITIES[1]=eAbility_Overwatch,ABILITIES[2]=eAbility_NONE,ABILITIES[3]=eAbility_NONE,ABILITIES[4]=eAbility_NONE,ABILITIES[5]=eAbility_NONE,Properties[0]=eWP_Pistol,Properties[1]=eWP_UnlimitedAmmo,Properties[2]=eWP_None,Properties[3]=eWP_None,Properties[4]=eWP_None,Properties[5]=eWP_None,iDamage=1,iEnvironmentDamage=10,iRange=27,iReactionRange=-1,iReactionAngle=200,iRadius=0,iCritical=0,iOffenseBonus=0,iSuppression=0,iSize=eItemSize_Small,iHPBonus=0,iWillBonus=0)
... more entries follow

---

I compared new entries in XComGameCore.ini (changelist 398179; P6) with entries in DefaultGameCore.ini (changelist 346964, 356266, 398179; P2.1, P4-P5) and they perfectly match.

 

Also I have over one year of modding experience with enabled phone. I had to disable phone home for armors, characters or weapons changes to apply, while everything else worked fine with enabled phone home.

Edited by Drakous79
Link to comment
Share on other sites

  • 2 weeks later...

Hi guys!

I don't know what am I doing wrong... but when I'm traying to launch the game a window pops up and tells me that the app couldn't be launched and leaves this error code: 0xc0000142... Does anyone knows what could it be???

Thanks! :)

P.S. I have been trying (all day) to make Resource Hacker work with EW :(

Link to comment
Share on other sites

That's the problem then. Rumor has it a checksum of the executable is stored in steam_api.dll.

 

I'd recommend you to buy the game from Steam :)

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...