Skip to content

Commit

Permalink
Adjust force parameters and allied ratios for scenario modifiers
Browse files Browse the repository at this point in the history
Updated the XML files to change briefing texts, reduce fixed unit counts, and modify force multipliers, names, and generation methods. Additionally, adjusted the allyRatio values for 'HOUSE' and 'INTEGRATED' command rights in AtBContract.java.
IllianiCBT committed Nov 19, 2024
1 parent cce2ebd commit 9d560a7
Showing 5 changed files with 24 additions and 24 deletions.
14 changes: 7 additions & 7 deletions MekHQ/data/scenariomodifiers/HouseOfficerAir.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<AtBScenarioModifier>
<additionalBriefingText>Your force will be deployed under the command of an allied commander.</additionalBriefingText>
<additionalBriefingText>Your employer is dispatching a force to assist with this objective.</additionalBriefingText>
<benefitsPlayer>true</benefitsPlayer>
<eventTiming>PreForceGeneration</eventTiming>
<forceDefinition>
@@ -14,14 +14,14 @@
<deployOffboard>false</deployOffboard>
<deploymentZones />
<destinationZone>5</destinationZone>
<fixedUnitCount>1</fixedUnitCount>
<forceAlignment>0</forceAlignment>
<forceMultiplier>1.0</forceMultiplier>
<forceName>Commander</forceName>
<generationMethod>3</generationMethod>
<fixedUnitCount>0</fixedUnitCount>
<forceAlignment>1</forceAlignment>
<forceMultiplier>0.25</forceMultiplier>
<forceName>Joint Force</forceName>
<generationMethod>2</generationMethod>
<generationOrder>1</generationOrder>
<maxWeightClass>4</maxWeightClass>
<minWeightClass>3</minWeightClass>
<minWeightClass>2</minWeightClass>
<retreatThreshold>0</retreatThreshold>
<startingAltitude>5</startingAltitude>
<objectiveLinkedForces>
14 changes: 7 additions & 7 deletions MekHQ/data/scenariomodifiers/HouseOfficerGround.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<AtBScenarioModifier>
<additionalBriefingText>Your force will be deployed under the command of an allied commander.</additionalBriefingText>
<additionalBriefingText>Your employer is dispatching a force to assist with this objective.</additionalBriefingText>
<allowedMapLocations>
<allowedMapLocation>AllGroundTerrain</allowedMapLocation>
<allowedMapLocation>SpecificGroundTerrain</allowedMapLocation>
@@ -18,14 +18,14 @@
<deployOffboard>false</deployOffboard>
<deploymentZones />
<destinationZone>5</destinationZone>
<fixedUnitCount>1</fixedUnitCount>
<forceAlignment>0</forceAlignment>
<forceMultiplier>1.0</forceMultiplier>
<forceName>Allied Commander</forceName>
<generationMethod>3</generationMethod>
<fixedUnitCount>0</fixedUnitCount>
<forceAlignment>1</forceAlignment>
<forceMultiplier>0.25</forceMultiplier>
<forceName>Joint Force</forceName>
<generationMethod>2</generationMethod>
<generationOrder>1</generationOrder>
<maxWeightClass>4</maxWeightClass>
<minWeightClass>3</minWeightClass>
<minWeightClass>2</minWeightClass>
<retreatThreshold>0</retreatThreshold>
<startingAltitude>0</startingAltitude>
<objectiveLinkedForces>
8 changes: 4 additions & 4 deletions MekHQ/data/scenariomodifiers/IntegratedAlliesAir.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<AtBScenarioModifier>
<additionalBriefingText>Your force will be deployed as part of an integrated unit.</additionalBriefingText>
<additionalBriefingText>Your employer has deployed you alongside an integrated force.</additionalBriefingText>
<benefitsPlayer>true</benefitsPlayer>
<eventTiming>PreForceGeneration</eventTiming>
<forceDefinition>
@@ -14,11 +14,11 @@
<deployOffboard>false</deployOffboard>
<deploymentZones />
<destinationZone>5</destinationZone>
<fixedUnitCount>2</fixedUnitCount>
<fixedUnitCount>0</fixedUnitCount>
<forceAlignment>1</forceAlignment>
<forceMultiplier>1.0</forceMultiplier>
<forceMultiplier>0.5</forceMultiplier>
<forceName>Integrated Allies</forceName>
<generationMethod>3</generationMethod>
<generationMethod>2</generationMethod>
<generationOrder>1</generationOrder>
<maxWeightClass>4</maxWeightClass>
<minWeightClass>1</minWeightClass>
8 changes: 4 additions & 4 deletions MekHQ/data/scenariomodifiers/IntegratedAlliesGround.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<AtBScenarioModifier>
<additionalBriefingText>Your force will be deployed as part of an integrated unit.</additionalBriefingText>
<additionalBriefingText>Your employer has deployed you alongside an integrated force.</additionalBriefingText>
<allowedMapLocations>
<allowedMapLocation>AllGroundTerrain</allowedMapLocation>
<allowedMapLocation>SpecificGroundTerrain</allowedMapLocation>
@@ -18,11 +18,11 @@
<deployOffboard>false</deployOffboard>
<deploymentZones />
<destinationZone>5</destinationZone>
<fixedUnitCount>2</fixedUnitCount>
<fixedUnitCount>0</fixedUnitCount>
<forceAlignment>1</forceAlignment>
<forceMultiplier>1.0</forceMultiplier>
<forceMultiplier>0.5</forceMultiplier>
<forceName>Integrated Allies</forceName>
<generationMethod>3</generationMethod>
<generationMethod>2</generationMethod>
<generationOrder>1</generationOrder>
<maxWeightClass>4</maxWeightClass>
<minWeightClass>1</minWeightClass>
4 changes: 2 additions & 2 deletions MekHQ/src/mekhq/campaign/mission/AtBContract.java
Original file line number Diff line number Diff line change
@@ -1793,8 +1793,8 @@ public int calculateContractDifficulty(Campaign campaign) {
double allyRatio = switch (getCommandRights()) {
case INDEPENDENT -> 0; // no allies
case LIAISON -> 0.4; // single allied heavy/assault mek, pure guess for now
case HOUSE -> 1; // allies with same (G)BV budget
case INTEGRATED -> 2; // allies with twice the player's (G)BV budget
case HOUSE -> 0.25; // allies with 25% of the player's (G)BV budget
case INTEGRATED -> 0.5; // allies with half the player's (G)BV budget
};

if (allyRatio > 0) {

0 comments on commit 9d560a7

Please sign in to comment.