Author Topic: [DONE][Suggestion] max stats for soldier transformation  (Read 1468 times)

Offline Nord

  • Commander
  • *****
  • Posts: 1746
  • The Gate is open.
    • View Profile
[DONE][Suggestion] max stats for soldier transformation
« on: March 14, 2024, 09:14:36 pm »
To the point: add "requiredMaxStats"
similar to "requiredMinStats".
Please, if not too complicate.
Thanks.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: [Suggestion]max stats for transformation
« Reply #1 on: March 15, 2024, 12:15:39 am »
what's the use case?

Offline Nord

  • Commander
  • *****
  • Posts: 1746
  • The Gate is open.
    • View Profile
Re: [Suggestion]max stats for transformation
« Reply #2 on: March 15, 2024, 07:32:49 am »
Transformations for weak enough soldiers, of course. In my case - body enchancement for soldiers with low psi capability.

Offline psavola

  • Commander
  • *****
  • Posts: 827
    • View Profile
Re: [Suggestion]max stats for transformation
« Reply #3 on: March 15, 2024, 09:57:09 am »
What would be the logical reason why high psi capability soldiers should not be able to get this enhancement? At least usually high PSI is "something extra", not something that blocks or prevents other progress or makes you weaker?

Of course I can imagine scenarios how this could maybe make sense in other settings. For example, consider a "rookie bootcamp" transformation/training, which could only be applied to relatively fresh recruits, and which would essentially just provide a boost to some stats. Then it would make sense that the veterans would not want to go there and would maybe not even be admitted in such a training. Not sure how interesting something like this would be for modders though, and there could be problems how you define the various limit(s).

Offline HinterDemGlas

  • Captain
  • ***
  • Posts: 56
    • View Profile
Re: [Suggestion]max stats for transformation
« Reply #4 on: March 15, 2024, 09:15:38 pm »
What would be the logical reason why high psi capability soldiers should not be able to get this enhancement? At least usually high PSI is "something extra", not something that blocks or prevents other progress or makes you weaker?

There is plenty of precedent in sci fi settings with magic brain powers for Psi-immune characters, often coupled with an inability to use Psi. It might be very fitting for certain mods to model that as a transformation for soldiers with exactly 0 PST or something like that. Just something that came to mind when I read the question.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: [Suggestion]max stats for transformation
« Reply #5 on: March 15, 2024, 09:26:15 pm »
Transformations for weak enough soldiers, of course. In my case - body enchancement for soldiers with low psi capability.

ok todolisted

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [Suggestion]max stats for transformation
« Reply #6 on: March 26, 2024, 02:03:25 pm »
That would be useful - nowadays it's a common problem that veteran soldiers still have access to transformations meant for beginners, which clutters the list. Not a big deal, since you can always add +1 something to make the transformation not completely useless, but it's not ideal.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9084
    • View Profile
Re: [DONE][Suggestion] max stats for soldier transformation
« Reply #7 on: August 10, 2024, 06:47:50 pm »
Added `requiredMaxStats` and `includeBonusesForMaxStats`.

Example:

Code: [Select]
soldierTransformation:
  - name: STR_PROJECT_NAME
    includeBonusesForMaxStats: true # default false
    requiredMaxStats:               # default all 9999
      bravery: 30
    flatOverallStatChange:
      firing: 99
    allowedSoldierTypes:
      - STR_SOLDIER
    allowsLiveSoldiers: true
    forbiddenPreviousTransformations:
      - STR_PROJECT_NAME

Offline Nord

  • Commander
  • *****
  • Posts: 1746
  • The Gate is open.
    • View Profile
Re: [DONE][Suggestion] max stats for soldier transformation
« Reply #8 on: August 10, 2024, 06:50:30 pm »
Thanks.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: [DONE][Suggestion] max stats for soldier transformation
« Reply #9 on: August 12, 2024, 07:29:53 pm »
Much appreciated.