Page 1 of 1
[1.09.02]Default ID has unexpected behavior
Posted: Tue May 11, 2021 9:57 am
by zgrssd
I made a Delta event. It looked like this:
Key Question: "Which technology do you need help with?"
Decision 1: "Solar Power" + Price of 100 Credits + Exe(346,19,REGIMEID,21)
Decision 2: left empty
Decision 3: left empty
Decision 4: "Nothing"
Default Decision Number: 4
However when I run this, Decision 1 is picked as default - not decision 4 as I told it too!
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Tue May 11, 2021 10:22 am
by zgrssd
Okay, stuff is getting wieder. I set "Default Decision Number" to 2.
It is still selecting Decision 1, buy Solar Power?
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Tue May 11, 2021 10:28 am
by zgrssd
Okay, I set "Default Decision Number" to 1.
Now it is selecting Decision 4 (2 in the actuall list).
So we have several bugs:
- this particular Index seems to be starting at 0, not at 1. This does not match the examples for the other Storyline Types.
- It seems to be the Nth decision on the Screen, rather then the Nth Decision in the gamefile. So the default option quickly breaks if options are disabeled at it is not set to 0.
- If the given Index is not valid, it seems to pick 0 as default.
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Tue May 11, 2021 5:03 pm
by zgrssd
Okay, it seems like the Epsilon Format has the same issue - the 4th Option is not actually the 4th option, unless there are 3 in front of it.
Now I tried soemthing realy wild:
A Epsilon 2 table Row, that matches multiple decisions:
Decision Number: "1;2;3;4"
Text: "This should dispaly in either case"
When selecting Option 4 by file/2 by the UI, this is what I got:
It is matching - 3 times.
My hope was to use this to avoid code duplication (Basically I only need to pick one Tech Type ID, then do the same thing with either of the 3 options). It is just not quite acting as I expected.
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Tue May 11, 2021 5:09 pm
by zgrssd
This is the behavior if I add another "matches all" row. This is what I got:
I was hoping they would be interleaved, rather then groups of 3 each. I still can work around it, it is just a bit more annoying then it needs to be [:)]
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Tue May 11, 2021 8:22 pm
by zgrssd
Okay, stuff just got a bit wierder. If I select the 1st Option (both in the table and the UI), the Multiple Match decision is only done once.
So the triplication might be a side-effect of me "skipping" the middle two Decisions. If so, it might not be as detrimental as I first feared.
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Thu May 13, 2021 5:14 pm
by zgrssd
Gustav seems to have even worse issue with the Default decision.
It feels like the game is going out of it's way to ignore my order to pick none. As if the code for default can not accept that the "none" decision might have no text or set orders assigned to it.
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Thu May 13, 2021 5:38 pm
by zgrssd
While I would prefer a proper fix, there might be a shortcut around the issue.
In all the games I started to test my mod, I once encountered a event that could not be left to the Secretary. End turn was disabeled as long as that decision was around.
My main worry is about the Automatic choosing the wrong thing - and if it can not choose at all, it can not choose the wrong thing.
Something like "Default Decision = -1" might be useable for this.
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Mon May 17, 2021 4:24 am
by Vic
ORIGINAL: zgrssd
Okay, I set "Default Decision Number" to 1.
Now it is selecting Decision 4 (2 in the actuall list).
So we have several bugs:
- this particular Index seems to be starting at 0, not at 1. This does not match the examples for the other Storyline Types.
- It seems to be the Nth decision on the Screen, rather then the Nth Decision in the gamefile. So the default option quickly breaks if options are disabeled at it is not set to 0.
- If the given Index is not valid, it seems to pick 0 as default.
It is possible for a leader to choose the non-default decision if relation < 100 and regime profile of another decision correspond better with the regime profiles likes of the leader.
best,
Vic
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Mon May 17, 2021 11:18 am
by zgrssd
It is possible for a leader to choose the non-default decision if relation < 100 and regime profile of another decision correspond better with the regime profiles likes of the leader.
The problems with that:
- Relation < 100 is always true
- None of these decision had ANY profile weights.
- Default decision by definition should overwrite this decision making process
- If 5 Options each cost 1PP, 2 Fatepoints and 1 option costs 1 PP, how do I get it to choose the 1PP option by default?
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Mon May 17, 2021 12:39 pm
by BlueTemplar
You can have a leader with relation exactly 100... I suppose that this chance is a function of the distance from 100 ?
RE: [1.09.02]Delta Default Decision has unexpected behavior
Posted: Mon May 17, 2021 3:09 pm
by zgrssd
ORIGINAL: BlueTemplar
You can have a leader with relation exactly 100... I suppose that this chance is a function of the distance from 100 ?
If it is not reliably picking what I tell it to pick, then default decision is not doing the one job it has.
I like the whole mechanic, but for some cases it is just too stupid to tbe trusted.
I guess I have to revamp tech trader to something that uses Stratagem Cards?