Jujinka Posted March 27, 2013 Share Posted March 27, 2013 Can this be done at all? I'm getting tired of accidentally killing with the pistol and/or stuns missing... Link to comment Share on other sites More sharing options...
johnnylump Posted March 27, 2013 Share Posted March 27, 2013 Sure, it takes a few upk edits. If you aren't able to do that; you'll have to wait until Toolboks is updated to the new patch to implement these. In XComGame >> XGTacticalGameCore >> TryStunnedchangee2 82 00 00 16 1e 00 00 c8 42 16to something likee2 82 00 00 16 1e 00 00 48 42 16 And they should always hit, very likely regardless of alien hp. "42c8" is a divisor and equal to 100; by lowering this number you increase the chance to stun. Setting the divisor to 4248 (50) doubles your chance to succeed. However, the to-hit percentage will appear incorrectly; to prevent it from appearing, make this change: XComGame >> XGAbility_Targeted >> GetShotSummary()Change00 24 09 16 16 16 18 1dto00 24 24 16 16 16 18 1d To increase the number of charges:Increase Arc Thrower Charge to 10 Change24 50 16 2c 02 16 16 04 0b 53to24 50 16 2c 0a 16 16 04 0b 53 Collectively, this might break the tactical game; you may have a pretty good chance to stun aliens with more than 3 hit points, so YMMV. Link to comment Share on other sites More sharing options...
Jujinka Posted March 28, 2013 Author Share Posted March 28, 2013 I can't find any of those, unless I'm reading something wrong... Link to comment Share on other sites More sharing options...
anUser Posted March 28, 2013 Share Posted March 28, 2013 Modding XCOM is quite a mess at first. It isn't as easy as changing a number in a text file, you'll need a bunch of programs and edits are done in hexadecimal, hence all this numbers.Take a look at the wiki if you're interested http://wiki.tesnexus.com/index.php/Hex_editing_UPK_files it's still incomplete but there's enoughto start with Link to comment Share on other sites More sharing options...
Jujinka Posted March 28, 2013 Author Share Posted March 28, 2013 I'm already using a Hex Editor, I just can't find the pattern I need. Link to comment Share on other sites More sharing options...
anUser Posted March 28, 2013 Share Posted March 28, 2013 If for some reason you're not playing with the latest patch you might find that variables and function references differ from those by some amount. If you can make your way around UE Explorer and go to XComGame >> XGTacticalGameCore >> TryStunned, go to view buffer, and there locate the sentence by hoovering the mouse over the hexes until you find the value you want to change, and then compare with your hex values. Otherwise just Ctrl-F for it. Link to comment Share on other sites More sharing options...
johnnylump Posted March 28, 2013 Share Posted March 28, 2013 Did you unpack XComGame.upk before attempting changes ? Link to comment Share on other sites More sharing options...
Jujinka Posted March 28, 2013 Author Share Posted March 28, 2013 How do I extract it properly? Link to comment Share on other sites More sharing options...
johnnylump Posted March 28, 2013 Share Posted March 28, 2013 C:\Program Files (x86)\Steam\SteamApps\common\XCom-Enemy-Unknown\XComGame\CookedPCConsole\XComGame.upk (This is on a Win7 machine. After unpacking and making changes, you'll also have to patch your changes into the game) Link to comment Share on other sites More sharing options...
Jujinka Posted March 28, 2013 Author Share Posted March 28, 2013 I think I'm in over my head... Link to comment Share on other sites More sharing options...
Recommended Posts