Jump to content

Finding the first step?


NephilimNexus

Recommended Posts

Hey guys,

Firstly thanks to you all who have been digging so far. There's some promising stuff so far!

 

I have absolute zero modding experience, but with resourcehacker seemd a relatively easy and intuitive tool so I gave it a shot to try and address some balancing issues.

 

I amended the economic income ofthe countries (raised some, lowered others) and increased the amount of alloys and ellirium received from downed UFO missions.

 

I compiled and saved my changes but they only seem to work with new games. Has anyone had any success in getting their changes to work with a saved file?

Link to comment
Share on other sites

  • Replies 229
  • Created
  • Last Reply

Top Posters In This Topic

There, now all of your armors can hold three small items each. Bring three grenades for your heavies, three medkits for you support, stack three SCOPES for you snipers, or even carry three arc throwers for your assault guys.

 

GUI issue with 3 slots though... 2 is without problems (other than with deep-pockets special turning it into 3)

Link to comment
Share on other sites

Hey guys,

Firstly thanks to you all who have been digging so far. There's some promising stuff so far!

 

I have absolute zero modding experience, but with resourcehacker seemd a relatively easy and intuitive tool so I gave it a shot to try and address some balancing issues.

 

I amended the economic income ofthe countries (raised some, lowered others) and increased the amount of alloys and ellirium received from downed UFO missions.

 

I compiled and saved my changes but they only seem to work with new games. Has anyone had any success in getting their changes to work with a saved file?

 

Only certain values will change in a current game since the data is saved in the saved game file. For example if you edit a soldiers health, all new soldiers recruited will have the health change, not the current ones. If you open up an additional item slot on a soldier via their armor, that however will take effect when you launch the save. You'll just have to start a new game, no biggie.

Link to comment
Share on other sites

Just out of curiosity, has anyone considered creating a master list/post of all the various settings within the ini's and a short description based on what's discovered? See if we can get a mod to sticky it? I know it's come in handy in tearing some other games apart.
Link to comment
Share on other sites

@Beknatok

 

But pssshhh :)

 

if(IsOptionEnabled(14))
{
	iChance = int(float(iTraineeWill) / class'XGTacticalGameCore'.default.SW_RARE_PSI);
	iChance /= float(1 + BARRACKS().GetNumPsiSoldiers());
}
else
{
	iChance = int(float(iTraineeWill) / class'XGTacticalGameCore'.default.PSI_GIFT_CHANCE);
	iTraineeRank = arrCandidates.Find(kSoldier);
	if(iTraineeRank >= 0 && (iTraineeRank < 6))
	{
		iChance += Max(0, 75 - iTraineeRank * 20 - iGiftedSix * 40);
	}
}
return Roll(iChance);
}

 

So normaly without taking ranks into consideration -> Chance to be giftet = Will / Psi_gift_chance

 

40 / 4 = 10

 

static final function bool Roll(int iChance)
{
return Rand(100) < iChance;
}

 

So If Rand(100) < 10 he would have psi

 

If i didnt overlooked something this means

1 is the best you could do now, maybe its a float didnt checked it further, try something like 0.1 should be better, but dont know if they saved it as an int

 

 

Where did you find these script files? I may have just missed them in the .exe ini resources, but I've also been digging through the upk files using Gildor's tools and haven't come across any of the actual scripts yet. Wondering if I'm doing something wrong with the extraction.

Link to comment
Share on other sites

 

 

 

Where did you find these script files? I may have just missed them in the .exe ini resources, but I've also been digging through the upk files using Gildor's tools and haven't come across any of the actual scripts yet. Wondering if I'm doing something wrong with the extraction.

 

I second this question. Where did you find this particular script?

Edited by snwkill
Link to comment
Share on other sites

 

 

 

Where did you find these script files? I may have just missed them in the .exe ini resources, but I've also been digging through the upk files using Gildor's tools and haven't come across any of the actual scripts yet. Wondering if I'm doing something wrong with the extraction.

 

I second this question. Where did you find this particular script?

 

I send Dreadylein a PM & his response was "xcomgame.upk xcomstrategygame.upk have biggest chunk of the game logic."

Link to comment
Share on other sites

Sorry for my ignorance... but how exactly do you get the game logic out of the UPKs? I must be using the wrong program. Any help would be great.. thanks!

 

Please read Post #5 of this very thread. Additionally I strongly advise that you spend the time to read this thread in its entirety - there is a wealth of information here.

Link to comment
Share on other sites

 

 

Please read Post #5 of this very thread. Additionally I strongly advise that you spend the time to read this thread in its entirety - there is a wealth of information here.

 

I've read quite a bit of the thread... i guess i looked over the first couple pages or something.. thanks a lot!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...