Wipqozn113 Posted January 20, 2013 Share Posted January 20, 2013 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 More sharing options...
johnnylump Posted January 21, 2013 Share Posted January 21, 2013 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 More sharing options...
Drakous79 Posted January 26, 2013 Share Posted January 26, 2013 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 More sharing options...
Recommended Posts