CWolfs / MissionControl

A HBS BattleTech mod that provides a framework for runtime modifications of the contracts and encounters.
GNU General Public License v3.0
20 stars 13 forks source link

Per-Contract Overrides: Define Specific Lance For Use With AL Lances #450

Closed CWolfs closed 3 years ago

CWolfs commented 3 years ago

When using per-contract overrides, for example in a Flashpoint per-contract override, there is a request to be able to specify exactly a specific LanceDef or MC Lance to use (or multiple to be used).

Investigate and add support.

CWolfs commented 3 years ago

In develop.

CWolfs commented 3 years ago

You can now do the following:

 "AdditionalLances": {
    "Enable": true,
    "EnemyLanceCount": 2,
    "EnemyLances": ["Damaged_Assault_Battle_Lance", "lancedef_vehicle_d10_dynamic_convoy"],
    "AllyLanceCount": 1,
    "AllyLances": ["Generic_Light_Battle_Lance"]
  },

It will use up the specified lances if provided. If it runs out then it will do the usual Additional Lance selection process. This means you don't need to specify up to the lance count, if you don't want to.

The AllyLances and EnemyLances can be MC lances or LanceDef ids.