Jump to content

Modifying UpdateFoundryPerksForSoldier


thehandofzarquon

Recommended Posts

So, I posted this in the Long War modding thread, but I think it probably belongs here more.

 

Anyway, point is, I've written a mod for Long War that modifies some of the perks gained via Foundry projects and also uses it to unconditionally give certain perks to all Units (Suppression and Squadsight). Now, I've been careful not to change the size of the function (using the fact that you can't tear down the Foundry in Long War and replacing the bytes involved in removing perks when it is gone) and I've already fixed (I think) the jumps in the method, but XCOM just crashes when I start it with the mod applied. It looks perfectly fine in UE Explorer...

 

Anyone have ideas about where I should start looking to actually get this thing working?
Pastebin for the mod: http://pastebin.com/15MdBzCg

Link to comment
Share on other sites

  • Recently Browsing   0 members

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