Jump to content

How to modify Marathon mode modifiers, along with the Uplink and Nexus


Wipqozn113

Recommended Posts

I'm trying to adjust the modifiers for Marathon mode, however the only variable I can find is SW_MARATHON=2.0f, which I assume covers costs and building times. I can't, however, locate the modifier for research times, which (I believe) is 3x. Is there a way to modify the Marathon research time modifier?

 

I'm also trying to make some modifications to the price and build times of the Satellite uplink and nexus, but I can't find variables for them inside of DefaultGameCore. I can find the other buildings, but those ones seem to be missing.

Link to comment
Share on other sites

I'm trying to adjust the modifiers for Marathon mode, however the only variable I can find is SW_MARATHON=2.0f, which I assume covers costs and building times. I can't, however, locate the modifier for research times, which (I believe) is 3x. Is there a way to modify the Marathon research time modifier?

 

I'm also trying to make some modifications to the price and build times of the Satellite uplink and nexus, but I can't find variables for them inside of DefaultGameCore. I can find the other buildings, but those ones seem to be missing.

 

Marathon mode covers all kinds of things and may include research time as well.

 

I recommend you read the "Compiled list of DefaultGameCore.ini settings and their functions" thread at the top of this forum.

 

Research Time:

TECH_TIME_BALANCE

 

Uplink modifier:

FacilityBalance=( eFacility=eFacility_SmallRadar,

 

Nexus modifier:

FacilityBalance=( eFacility=eFacility_LargeRadar,

Link to comment
Share on other sites

Here's the math.

 

function int TechCost(int iExpectedScientists)
{
   local float fBalanceFactor;

   fBalanceFactor = class'XGTacticalGameCore'.default.TECH_TIME_BALANCE;
   // End:0x67
   if(IsOptionEnabled(7))
   {
       fBalanceFactor *= class'XGTacticalGameCore'.default.SW_MARATHON * 1.50;
   }
   return int(float(iExpectedScientists * 24 * 3) * fBalanceFactor);
}

function int GetFacilityCost(int iCost)
{
   // End:0x19
   if(iCost == -1)
   {
       return -1;
   }
   // End:0x79
   if(IsOptionEnabled(7))
   {
       return int(float(iCost) * class'XGTacticalGameCore'.default.FACILITY_COST_BALANCE * class'XGTacticalGameCore'.default.SW_MARATHON);
   }
   // End:0xa7
   else
   {
       return int(float(iCost) * class'XGTacticalGameCore'.default.FACILITY_COST_BALANCE);
   }
}

Link to comment
Share on other sites

  • Recently Browsing   0 members

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