Jump to content

Photo

Meld Tech Balance


  • Please log in to reply
3 replies to this topic

#1
wuTz89

wuTz89

    Stranger

  • Members
  • Pip
  • 7 posts

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?



#2
monju125

monju125

    Journeyman

  • Members
  • Pip
  • 46 posts

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 by monju125, 14 December 2013 - 07:59 PM.


#3
wuTz89

wuTz89

    Stranger

  • Members
  • Pip
  • 7 posts

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 by wuTz89, 16 December 2013 - 10:18 PM.


#4
monju125

monju125

    Journeyman

  • Members
  • Pip
  • 46 posts

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





Page loaded in: 0.990 seconds