national_morale.txt objectives show when country has surrendered

Post bug reports and ask for help with other issues here.
Post Reply
User avatar
Lothos
Posts: 1330
Joined: Tue May 23, 2006 8:22 pm

national_morale.txt objectives show when country has surrendered

Post 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.
User avatar
Hubert Cater
Posts: 6098
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: national_morale.txt objectives show when country has surrendered

Post 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.
User avatar
Lothos
Posts: 1330
Joined: Tue May 23, 2006 8:22 pm

Re: national_morale.txt objectives show when country has surrendered

Post 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
User avatar
Hubert Cater
Posts: 6098
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: national_morale.txt objectives show when country has surrendered

Post 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.
User avatar
Lothos
Posts: 1330
Joined: Tue May 23, 2006 8:22 pm

Re: national_morale.txt objectives show when country has surrendered

Post 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.
User avatar
Hubert Cater
Posts: 6098
Joined: Mon Jul 22, 2013 11:42 am
Contact:

Re: national_morale.txt objectives show when country has surrendered

Post 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.
Post Reply

Return to “Tech Support”