Page 1 of 1

national_morale.txt objectives show when country has surrendered

Posted: Sat Dec 30, 2023 6:48 pm
by Lothos
NM Objectives (#OBJECTIVE_TEXT_POSITION= 151,84) that are assigned to a country (#COUNTRY_ID= 40) that has surrendered remain on the map even though they can never fire.

This causes confusion for players as they believe if they take the hex where the NM objective is that something will execute but it never does because (in the example above France) the country has surrendered which makes it impossible for the NM objective to ever fire as the game engine does not allow it to (I have tested it and it does not fire NM objectives for surrendered countries).

My suggestion is NM objectives that are assigned to a country that has surrendered should be removed from the map.

HOWEVER

If they are liberated, then they should be re-added to the map.

Re: national_morale.txt objectives show when country has surrendered

Posted: Sun Dec 31, 2023 10:43 pm
by Hubert Cater
I believe if you add a VARIABLE_CONDITION checking for France's status, e.g. that it only shows if NOT surrendered, then that should resolve this, correct?

e.g. if it is surrendered, the VARIABLE_CONDITION is not satisfied, so the text will no longer appear as desired.

Re: national_morale.txt objectives show when country has surrendered

Posted: Sun Dec 31, 2023 11:29 pm
by Lothos
Hubert Cater wrote: Sun Dec 31, 2023 10:43 pm I believe if you add a VARIABLE_CONDITION checking for France's status, e.g. that it only shows if NOT surrendered, then that should resolve this, correct?

e.g. if it is surrendered, the VARIABLE_CONDITION is not satisfied, so the text will no longer appear as desired.
Unfortunately, it is not working that way :(

VARIABLE_CONDITION does not disappear if the country does not meet the condition

Re: national_morale.txt objectives show when country has surrendered

Posted: Mon Jan 01, 2024 7:17 pm
by Hubert Cater
I can confirm this, we will look into if we can make a change here without possibly introducing an issue as we may have decided to skip this type of check for a reason. Not sure just yet, but we'll have to review before I can suggest if this will/can change going forward.

Re: national_morale.txt objectives show when country has surrendered

Posted: Mon Jan 01, 2024 9:34 pm
by Lothos
Hubert Cater wrote: Mon Jan 01, 2024 7:17 pm I can confirm this, we will look into if we can make a change here without possibly introducing an issue as we may have decided to skip this type of check for a reason. Not sure just yet, but we'll have to review before I can suggest if this will/can change going forward.
If that is a concern then I suggest NOT checking Variable but instead do the following

If the COUNTRY_ID= (if surrendered which makes it impossible to do NM objectives) then just hide them.

Re: national_morale.txt objectives show when country has surrendered

Posted: Tue Jan 02, 2024 5:09 pm
by Hubert Cater
It looks like for now we'll have to leave it as is, since we do use the NM text feature to indicate some things when nations are surrendered or for when they will be liberated.

It's just one of those things where even though it would potentially make sense to make a change here, it will require some work on our end to work around how we are currently using it and with the added possibility of introducing an error as well as a result.