5.0
+
(10.0 * Variable_Self.PlanetsControlled)
+
(6.0 * (1.0 - Function_Has_Enough_Space_Force_Globally.Evaluate))
Function_Has_Enough_Space_Force_Globally.Evaluate
*
(
8.0 * Function_Can_Build_Defensive_Structures.Evaluate * (1.0 - Function_Has_Enough_Defensive_Structures.Evaluate)
+
2.0
)
(
Variable_Self.IsFaction {Parameter_Faction = "Empire"} *
(Variable_Self.TechLevel >= 2) *
Variable_Self.HasGroundbaseOfLevel {Parameter_Level = 2, Parameter_Count = 1}
)
+
(
Variable_Self.IsFaction {Parameter_Faction = "Rebel"} *
(Variable_Self.TechLevel >= 2) *
Variable_Self.HasGroundbaseOfLevel {Parameter_Level = 2, Parameter_Count = 1}
)
+
(
Variable_Self.IsFaction {Parameter_Faction = "Hutts"} *
(Variable_Self.TechLevel >= 2) *
Variable_Self.HasGroundbaseOfLevel {Parameter_Level = 2, Parameter_Count = 1}
)
>= 1
Variable_Self.StructureCount { Parameter_Type = "E_Ground_Base_Shield_740"
,Parameter_Type = "R_Ground_Base_Shield_740"
,Parameter_Type = "H_Ground_Base_Shield_740"
,Parameter_Type = "E_Galactic_Turbolaser_Tower_Defenses"
,Parameter_Type = "R_Galactic_Turbolaser_Tower_Defenses"
,Parameter_Type = "H_Galactic_Turbolaser_Tower_Defenses"
,Parameter_Type = "Ground_Ion_Cannon"
,Parameter_Type = "Ground_Empire_Hypervelocity_Gun"
,Parameter_Type = "Ground_Hutts_Hypervelocity_Gun"
,Parameter_Type = "E_Ground_Magnepulse_Cannon"
,Parameter_Type = "Ground_Gravity_Generator"
}
(0.3 - (Function_Defensive_Structure_Count.Evaluate / Variable_Self.PlanetsControlledUnnormalized ))
> 0.0
1.1
*
(2 + 0.5 * (Variable_Self.TechLevel) - Variable_Self.MaxedStarbases - Variable_Self.MaxedGroundbases)
*
(1.0 + Variable_Self.Maintenance)
*
(1.0 + 2.0 * (0.5 > (Variable_Self.StructureCount {Parameter_Type = "Empire_Ground_Mining_Facility_GC", Parameter_Type = "Empire_Ground_Mining_Facility_GC_Unlim", Parameter_Type = "Empire_Mineral_Extractor_GC"} / Variable_Self.PlanetsControlledUnnormalized)))
+
6 * (1 - Function_Can_Build_Offensive_Space.Evaluate)
+
10 * Function_Need_Tech_Upgrade_Unblocked.Evaluate
+
10 * ((Variable_Self.HasStructure {Parameter_Type = "E_Ground_Light_Vehicle_Factory"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "E_Ground_Barracks"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "Empire_Ground_Mining_Facility_GC"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "Empire_Ground_Mining_Facility_GC_Unlim"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "Empire_Mineral_Extractor_GC"} == 0))
0.5 * Function_Global_Scout_Need.Evaluate
0.8
*
(7.0 - Variable_Self.TechLevel
- Variable_Self.HasUnit{Parameter_Type = "Death_Star_II"}
- Variable_Self.HasStructure{Parameter_Type = "E_Ground_Research_Facility", Parameter_Count = 1})
*
(1.0 - Function_Need_Tech_Upgrade_Unblocked.Evaluate)
*
clamp(Function_Has_Enough_Space_Force_Globally.Evaluate + (Game.Timeline > Variable_Self.TechLevel), 0.0, 1.0)
+
3.0 * (Variable_Self.TechLevel == 5) * (1 - Variable_Self.HasUnit{Parameter_Type = "Death_Star_II"})
(
(1 - Variable_Self.HasStructure{Parameter_Type = "E_Ground_Research_Facility", Parameter_Count = 1}) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "E_Ground_Research_Facility"}
+
Variable_Self.HasStructure{Parameter_Type = "E_Ground_Research_Facility", Parameter_Count = 1} *
(Variable_Self.TechLevel == 1) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "DS_Primary_Hyperdrive"}
+
(Variable_Self.TechLevel == 2) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "DS_Shield_Gen"}
+
(Variable_Self.TechLevel == 3) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "DS_Superlaser_Core"}
+
(Variable_Self.TechLevel == 4) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "DS_Durasteel"}
+
(Variable_Self.TechLevel == 5) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "Death_Star_II"}
*
1.25
+
0.05
)
0.01
+
(1.0 - Function_TechUpgradeBudgetRequirement.Evaluate)
*
0.3
(1.0 - Function_TechUpgradeBudgetRequirement.Evaluate)
*
0.3
*
Function_Can_Build_Defensive_Structures.Evaluate
Function_TechUpgradeBudgetRequirement.Evaluate
(1.0 - Function_TechUpgradeBudgetRequirement.Evaluate)
*
0.2
(1.0 - Function_TechUpgradeBudgetRequirement.Evaluate)
*
0.0
7.2 + Variable_Self.PlanetsControlled
+
(6.0 * (1.0 - Function_Has_Enough_Space_Force_Globally.Evaluate))
Function_Has_Enough_Space_Force_Globally.Evaluate
*
(
8.0 * Function_Can_Build_Defensive_Structures.Evaluate * (1.0 - Function_Has_Enough_Defensive_Structures.Evaluate)
+
2.0
)
1.1
*
(2 + 0.5 * (Variable_Self.TechLevel) - Variable_Self.MaxedStarbases - Variable_Self.MaxedGroundbases)
*
(1.0 + Variable_Self.Maintenance)
*
(1.0 + 2.0 * (0.5 > (Variable_Self.StructureCount {Parameter_Type = "Rebel_Ground_Mining_Facility_GC", Parameter_Type = "Rebel_Ground_Mining_Facility_GC_Unlim", Parameter_Type = "Rebel_Mineral_Extractor_GC"} / Variable_Self.PlanetsControlledUnnormalized)))
+
10 * ((Variable_Self.HasStructure {Parameter_Type = "R_Ground_Light_Vehicle_Factory"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "R_Ground_Barracks"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "Rebel_Ground_Mining_Facility_GC"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "Rebel_Ground_Mining_Facility_GC_Unlim"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "Rebel_Mineral_Extractor_GC"} == 0))
0.5 * Function_Global_Scout_Need.Evaluate
5.0
+
(10.0 * Variable_Self.PlanetsControlled)
+
(6.0 * (1.0 - Function_Has_Enough_Space_Force_Globally.Evaluate))
Function_Has_Enough_Space_Force_Globally.Evaluate
*
(
8.0 * Function_Can_Build_Defensive_Structures.Evaluate * (1.0 - Function_Has_Enough_Defensive_Structures.Evaluate)
+
3.0
)
1.1
*
(2 + 0.5 * (Variable_Self.TechLevel) - Variable_Self.MaxedStarbases - Variable_Self.MaxedGroundbases)
*
(1.0 + Variable_Self.Maintenance)
*
(1.0 + 2.0 * (0.5 > (Variable_Self.StructureCount {Parameter_Type = "Hutts_Ground_Mining_Facility_GC", Parameter_Type = "Hutts_Ground_Mining_Facility_GC_Unlim", Parameter_Type = "Hutts_Mineral_Extractor_GC"} / Variable_Self.PlanetsControlledUnnormalized)))
+
6 * (1 - Function_Can_Build_Offensive_Space.Evaluate)
+
10 * Function_Need_Tech_Upgrade_Unblocked.Evaluate
+
10 * ((Variable_Self.HasStructure {Parameter_Type = "H_Ground_Factory"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "H_Ground_Barracks"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "Hutts_Ground_Mining_Facility_GC"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "Hutts_Ground_Mining_Facility_GC_Unlim"} == 0) +
(Variable_Self.HasStructure {Parameter_Type = "Hutts_Mineral_Extractor_GC"} == 0))
0.3 * Function_Global_Scout_Need.Evaluate
0.7
*
(7.0 - Variable_Self.TechLevel
- Variable_Self.HasStructure{Parameter_Type = "H_Ground_Advanced_Technologies_Facility", Parameter_Count = 1})
*
clamp(Function_Has_Enough_Space_Force_Globally.Evaluate + (Game.Timeline > Variable_Self.TechLevel), 0.0, 1.0)
(
(1 - Variable_Self.HasStructure{Parameter_Type = "H_Ground_Advanced_Technologies_Facility", Parameter_Count = 1}) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "H_Ground_Advanced_Technologies_Facility"}
+
Variable_Self.HasStructure{Parameter_Type = "H_Ground_Advanced_Technologies_Facility", Parameter_Count = 1} *
(Variable_Self.TechLevel == 1) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "Hutt_Tech_2"}
+
(Variable_Self.TechLevel == 2) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "Hutt_Tech_3"}
+
(Variable_Self.TechLevel == 3) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "Hutt_Tech_4"}
+
(Variable_Self.TechLevel == 4) *
Variable_Self.BudgetFractionToBuild{Parameter_Type = "Hutt_Tech_5"}
*
1.25
+
0.05
)
0.4
0.3
0.25
0.35
0.1
Game.ForceVisibility
0.5
1.0 - Game.ForceVisibility
(
1 * Function_GenericPlanetValue.Evaluate +
2 * Variable_Target.FriendlyForce.GroundTotal +
3 * Variable_Target.GroundbaseLevel
) / 5
* 2500
+
200
clamp( Function_Land_Tactical_Budget.Evaluate,
0,
Variable_Self.CreditsUnnormalized / (Variable_Self.PlanetsControlled + 1)
)