Jump to content

Long War - Gene mods editing


MarhaCz

Recommended Posts

So i want to play a bit with costs/time of gene mods. I have managed to get into XComStrategyGame.upk via UE Explorer. I have found class XGTechTree and inside Function BuildGeneTechs wich say this:

function BuildGeneTechs()
{
BuildGeneModTech(1, 53, 240, 15, 50, 4);
BuildGeneModTech(2, 47, 144, 10, 20, 20);
BuildGeneModTech(3, 51, 240, 15, 20, 28);
BuildGeneModTech(4, 44, 72, 8, 15, 155);
BuildGeneModTech(5, 13, 72, 4, 10, 30);
BuildGeneModTech(6, 13, 72, 4, 10, 38);
BuildGeneModTech(7, 58, 168, 10, 25, 42);
BuildGeneModTech(8, 50, 240, 10, 20, 148);
BuildGeneModTech(9, 46, 168, 12, 20, 50);
BuildGeneModTech(10, 48, 168, 15, 30, 45);
}

 

So i guessed that 3rd number is time. So i used View Buffer and see that there are 3 times Char H that represent Byte 72 . So i guessed that i need to change that, but now iam lost... I opened XComStrategyGame.upk in HxD and tried to search up that chains, but i cant find them. So I tried to open XGTechTree.Class only (that i extracted before),yet it was different too. So what iam doing wrong? I think that it is different because its hex file inside of hex file that is inside of hex file? :D I did simple hex editing before, like save games and stuff, this is kind of complicated -.-

 

BTW : This really doesnt have much to do with Long War,but that i use it, so numbers are different from vannilla.

 

EDIT: Ok i got it. IDK where i was looking all the time, because it was sitting just there. Post can be locked/deleted. :smile:

Edited by MarhaCz
Link to comment
Share on other sites

  • Recently Browsing   0 members

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