aliens

Author Topic: [Suggestion] Random recruitment bonuses  (Read 157 times)

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11465
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
[Suggestion] Random recruitment bonuses
« on: February 24, 2024, 01:08:06 pm »
Would you please consider adding a random list of transformation bonuses given to a soldier spawned from a project?

Currently we can do this (example from Piratez):

Code: [Select]
    spawnedSoldier:
        transformationBonuses:
          STR_FORMER_SPY_TRAIT: 1

In the requested feature, you could also get something this:

Code: [Select]
    spawnedSoldier:
        transformationBonusesCount: 1
        randomTransformationBonuses:
          STR_FORMER_SPY_TRAIT: 1
          STR_SOME_OTHER_TRAIT: 1
          STR_YET_ANOTHER_TRAIT: 1
          STR_AND_ANOTHER_TRAIT: 1
          STR_AND_ANOTHER_ANOTHER_TRAIT: 1

The flag randomTransformationBonuses determines which transformation bonuses are available to be picked, and transformationBonusesCount tells you how many are picked from this list.

The objective of this request is to enable more variety for recruits gained from irregular sources, as they can have randomish backgrounds, allowing more character individuality/flavour without straying into RPG territory too much. It would also help emphasise the challenges and unique factors of special recruitment, especially with less paramilitary settings (like Piratez or the WIP Cyberpunk mod).

If this gets implemented, it should also be viable to include in the basic recruitment process (buying soldiers), but that's a more radical departure from the basic X-Com concept and at this point I'm not sure myself if it's a good idea.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8644
    • View Profile
Re: [Suggestion] Random recruitment bonuses
« Reply #1 on: February 24, 2024, 01:42:14 pm »
The feature sounds OK to me.

The syntax will probably have to be different... things like startingBase or spawnedSoldier use the methods used also for loading saved games, which means I can't/shouldn't change them (otherwise I break loading saves). I'll think about it...

Todolisted.