Author Topic: [Question] Should the soldier bonuses stack?  (Read 660 times)

Offline Juku121

  • Commander
  • *****
  • Posts: 932
  • We're all mad here.
    • View Profile
[Question] Should the soldier bonuses stack?
« on: February 20, 2023, 01:21:18 am »
2. Same tier "Master of %weapon%" and "Bane of %race%" commendations do not stack
I would like to re-raise this issue. Doesn't seem to have been answered, at least not in public.

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 7955
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #1 on: February 20, 2023, 05:41:54 pm »

I would like to re-raise this issue. Doesn't seem to have been answered, at least not in public.

Soldier bonuses of the same type (regardless whether from transformations or from commendations) currently don't stack.

Not exactly sure if that's a feature or a bug. (I'll need to dig deeper in history)

Opinions?
« Last Edit: February 20, 2023, 05:46:07 pm by Meridian »

Offline The Martian

  • Commander
  • *****
  • Posts: 682
  • "It implores you to listen to its arguments..."
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #2 on: February 20, 2023, 05:58:28 pm »
Soldier bonuses of the same type (regardless whether from transformations or from commendations) currently don't stack.

Not exactly sure if that's a feature or a bug. (I'll need to dig deeper in history)

Opinions?

I would like them to stack if possible.

Although to keep support for mods that already are using this feature and count on them not stacking, perhaps there could be a toggle for how they operate?

Offline Mathel

  • Colonel
  • ****
  • Posts: 225
  • Do not mistake Muton for mutton.
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #3 on: February 20, 2023, 06:02:15 pm »
Soldier bonuses of the same type (regardless whether from transformations or from commendations) currently don't stack.

Not exactly sure if that's a feature or a bug. (I'll need to dig deeper in history)

Opinions?
The current situation is rather confusing.
They do not stack when they are the same level, but do stack when different levels.

I think they should always stack, and it should be up to the mod maker if they include the option of having several commendations of the type.
But never stacking would still be better than the current mess.

Offline The Martian

  • Commander
  • *****
  • Posts: 682
  • "It implores you to listen to its arguments..."
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #4 on: February 20, 2023, 06:13:34 pm »
They do not stack when they are the same level, but do stack when different levels.

Do you mean that a bonus of 2 will not stack with another bonus of 2, but a bonus of 2 will stack with a bonus of 4?

If so I'll take any stacking I can get so that is welcome.

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 7955
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #5 on: February 20, 2023, 06:20:38 pm »
They do not stack when they are the same level, but do stack when different levels.

Soldier bonuses don't have any levels.
And they never stack.

What you see just looks like stacking. But it's different soldier bonuses corresponding to various levels of soldier commendations.

The current situation is rather confusing.

I can definitely agree with that.

Offline Juku121

  • Commander
  • *****
  • Posts: 932
  • We're all mad here.
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #6 on: February 20, 2023, 06:36:41 pm »
Well, right now we have what's essentially certain commendations sometimes stacking and sometimes not stacking, depending on whether they reference the same bonus or different bonuses (due to being the same/different level of a "multi-commendation", for lack of a better term).

Personally, I would prefer that bonuses remain generally unstackable, but this specific case where you can define a whole family of commendations in one go would also automagically create a corresponding family of no-longer-identical sets of soldier bonuses.

Online DoxaLogos (JG)

  • Colonel
  • ****
  • Posts: 356
  • Squaddie cautiously peering through the breach
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #7 on: February 20, 2023, 06:47:45 pm »
Would it be better to add a rule to a commendation that can specify which commendation it supercedes (i.e. Commendation B supercedes Commendation A, so don't stack A+B)? 

If no rule is specified then commendations stack by default.



Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 7955
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #8 on: February 20, 2023, 06:49:19 pm »
but this specific case where you can define a whole family of commendations in one go would also automagically create a corresponding family of no-longer-identical sets of soldier bonuses.

Yeah, we have enough headaches with automagical commendations.
I'm not going to do automagical soldier bonuses... that's the very last option for me.

My preference would be to just stack them.
We do keep full track of them in the save file since the beginning, they can be duplicated (both via transformation and commendations).
The "non-stacking" happens when we calculate and cache the the bonuses per soldier (we didn't do that at the beginning, it was introduced later for performance reasons).
It could be that they stacked initially, I'll check the history tomorrow/later.
« Last Edit: February 20, 2023, 06:54:57 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 7955
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #9 on: February 20, 2023, 06:51:42 pm »
Would it be better to add a rule to a commendation that can specify which commendation it supercedes (i.e. Commendation B supercedes Commendation A, so don't stack A+B)? 

If no rule is specified then commendations stack by default.

Please forget about the commendations, adding anything there will not solve the issue.
Soldier bonuses can come from more places than just from commendations.

We need to solve it on the soldier bonuses level.

Offline Juku121

  • Commander
  • *****
  • Posts: 932
  • We're all mad here.
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #10 on: February 20, 2023, 07:01:43 pm »
Yeah, we have enough headaches with automagical commendations.
If so, then full stacking seems preferable.

Did a modder ever use the non-stacking functionality?

Offline Mathel

  • Colonel
  • ****
  • Posts: 225
  • Do not mistake Muton for mutton.
    • View Profile
Re: [Question] Should the soldier bonuses stack?
« Reply #11 on: February 20, 2023, 07:29:42 pm »
If so, then full stacking seems preferable.

Did a modder ever use the non-stacking functionality?
Dioxine used it for the Nepotism soldier bonus in XPiratez. A gal can get nepotism any number of times, costing you money each time, but it does not stack.