Jump to content

Gamebreaking, stuck in midair


Seelenamt

Recommended Posts

I'm new here, and admittedly I don't know whether there are any mods or tricks that could help me with this.

I'm on the first base defense mission in enemy within, and at one point my gene modded sniper somehow managed to glitch into mid air, and no matter what I do I can't move him. He is my last soldier, and no more reenforcements are coming- there is ONE enemy left, a sectoid commander which I believe is at near full health (playing in normal mode).

 

I've tried to just sit around on overwatch, but the thing is staying out of his sight and not moving at all. Normally I could just reload, but I'm playing ironman, and you can't abort base defense missions, so my game is essentially stuck in limbo.

 

Any help would be greatly, greatly appreciated, there is a screenshot attached to this.

 

I've started a new game, but I was far enough in that it would be better if there were a way I could still recover this save.

 

 

I've managed to find my own solution, so for anyone who was having an issue, here it is.

 

I don't recommend doing this if you have no idea what you're doing, so if you accidentally screw it up don't blame me.

 

-For the sake of safety in the event of some catastrophic screw up, you might want to make a back up of the save that you are trying to fix before doing this-

 

1. Download resource hacker > http://xcom.nexusmods.com/mods/55/?

 

2. Go offline in steam, from the store page in the top right it's Steam> Go Offline (I'm not sure this is necessary, but do it anyway)

 

3. Make a copy of your Xcom exe, and paste it somewhere where you can keep it for a bit (it's usually located Program Files (x86)\Steam\steamapps\common\XCom-Enemy-Unknown\XEW\Binaries\Win32\ for enemy within it's XComEW.exe, for normal X com, Program Files (x86)\Steam\steamapps\common\XCom-Enemy-Unknown\Binaries\Win32\ and it's XComGame.exe)

 

4. In resource hacker, navigate to your xcom exe (the one in the steam folder) and open it, then in the left column expand the RCData folder and then expand the 1020 folder and click on 1033

 

5. Scroll to the right, and where it says "iType=eItem_(armor)" and find the type of armor the stuck soldier is wearing, in my case it was carapace armor, which is the second row of armor.

 

6. Scrolling back to the left, in the row of your armor where it says "Armors=(ABILITIES[0]=eAbility_(ability)" make it "Armors=(ABILITIES[0]=eAbility_Grapple", and then click compile script, and save it.

 

7. Go into game and see if you can grapple onto something to get down (if you can't I don't know what else can be done, as giving the armor the ability to fly requires flight fuel; if you're outside you may be able to give it the "launch" ability)

 

8. As soon as you do that save and quit, delete the modified exe, and paste the copy that you made earlier back in (if you forgot to make a copy, then you can just delete it and go into steam and verify integrity of the game cache and it will download a fresh exe)

 

You can put steam back into online mode after removing the modified exe.

 

In most cases this is a lengthy process that can be avoided by just simply completing or aborting the mission, so try that first; I was in a situation where failure of the mission would mean the end of the game, and there was no way to abort or to even reach the remaining enemy, so my choices were either keep doing overwatch until it walked right infront of me (which I tried) or just starting a new game

 

This *shouldn't* mess up any saves, as the saves, to my knowledge, only keep track of type of armor, weapons, health, and resources (flight fuel etc- for this reason changing your armor so it can fly doesn't seem to work, with no value for flight fuel in the save it just assumes 0), and what each of those does is reliant on their entry in the exe.

Edited by Seelenamt
Link to comment
Share on other sites

  • 2 months later...

Oh man, you saved my bacon.

 

I had this problem happen to me while I was on a covert operation mission, and my covert operative was stuck floating in the sky (ironman, of course).

 

It took about 8 grapple attempts around the map to find a place that would let me walk around again, but it worked. Thanks so much!

Link to comment
Share on other sites

  • Recently Browsing   0 members

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