wuTz89 Posted December 11, 2013 Share Posted December 11, 2013 So in the beginning of the game, thie MELD tech is essential and your life is too easy with mecs afterwards, so I think the best thing to balance this is: NO FREE MELD WHEN THE TECH IS RESEARCHED. How could we do this? Should be quite easy I think? Link to comment Share on other sites More sharing options...
monju125 Posted December 14, 2013 Share Posted December 14, 2013 (edited) Very simple, the value is hard coded in XGFacility_Labs.OnResearchCompleted. Here's the ToolBoks modfile; the MODDED_HEX can also be changed to the desired value. Successfully tested in Enemy Within Patch 1. MOD_NAME=Meld Recombination bonus AUTHOR=monju125 DESCRIPTION=Sets the meld bonus for completing the Meld Recombination research project Version: 1.0 Compatible with XCOM Enemy Within Patch 1 UPK_FILE=XComStrategyGame.upk OFFSET=3686525 [MODDED_HEX] 00 Edited December 14, 2013 by monju125 Link to comment Share on other sites More sharing options...
wuTz89 Posted December 16, 2013 Author Share Posted December 16, 2013 (edited) Thank you! I wonder if u can change the text file how much Meld is reconstructed after u have the tech researched, or is it already changed when changing the value? Edited December 16, 2013 by wuTz89 Link to comment Share on other sites More sharing options...
monju125 Posted December 17, 2013 Share Posted December 17, 2013 Ah, apparently that value is hard coded elsewhere because of course it is. Here's an updated version that sets the value on the research info screen as well. Just tested it and it shows "0 additional meld reconstituted." as expected. MOD_NAME=Meld Recombination bonus AUTHOR=monju125 DESCRIPTION=Sets the meld bonus for completing the Meld Recombination research project Version: 1.1 Compatible with XCOM Enemy Within Patch 1 UPK_FILE=XComStrategyGame.upk OFFSET=3686525 {XGFacility_Lab.OnResearchCompleted} [MODDED_HEX] 00 UPK_FILE=XComStrategyGame.upk OFFSET=4401157 {XGResearchUI.UpdateReport} [MODDED_HEX] 00 Link to comment Share on other sites More sharing options...
Recommended Posts