Jump to content

Developer shell - New Game and modding backpack questions


EightDeer

Recommended Posts

1. I used XCOM ToolBoks to enable the developer shell, now whenever I try to start a new game I get a whole bunch of unexplained options. Does anyone know what they do?

 

 

2. I tried to mod the game to get 2 item slots, but it's not working. Here's what I did:

 

Opened XComGame.exe with Resource Hacker.

Went to the DefaultCoreGame text, then copied it into a text file.

Opened up the text file, and changed all armors from iSmallItems=1 to iSmallItems=2.

Went back to Resource Hacker, and overwrote the original text with the modded version.

Pressed Compile Script, then Save.

Loaded game.

When that didn't work, I tried replacing the text of XComGame\Config\DefaultCoreGame.ini with my modded version, but that didn't work either.

 

I'm using the following mods:

 

XCOM ToolBoks options - Enable Developer Shell, Disable Disappearing Corpses, Disable Panicked Friendly Fire, Abductions in Nations with Satellite Coverage.

XCOM ToolBoks Custom Mods - XCOM Third Small Item Mod

I also hex edited XComGame.exe to unlock the developer console.

Link to comment
Share on other sites

Most of the new options that open up with the developer console/shell are various special debug modes. Controlled is a special more limited form of the strategy game (with less randomization) -- there's a bunch if special code that checks if the game mode is "controlled".

 

As to the small item slots ... what JL said. The loadout of each soldier is saved in the save game file. Soldiers don't have their equipment re-equipped when the game is loaded (it's more of a straight memory dump), and the game only accesses the iNumSmallItems field when armor is equipped ... even just reequipping kevlar over kevlar by clicking on the kevlar in the locker.

 

Or it could be a phone-home issue :)

Link to comment
Share on other sites

Thanks to both of you for your help.

 

I'm assuming picking just "New Game" from the shell's list of options will start a game as normal.

 

As for the item slots problem, it was indeed a phone-home thing. Interestingly, I discovered that XCOM crashes if you try to block it from the Internet by using a custom-created Windows Firewall rule.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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