1939 SOE national_morale script appears to be using wrong ALIGNMENT_POSITION

Post bug reports and ask for help with other issues here.
Post Reply
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

1939 SOE national_morale script appears to be using wrong ALIGNMENT_POSITION

Post by DarkHorse2 »

I only caught this after updating comments with actual map locations....

From national_morale.txt....

According to the comments, the following script(s) are checking for wrong map location.

It is using the coords of Moscow and not Stalingrad.

{
#NAME= Germany - German Morale Deep In Soviet Territory (Saratov)
#POPUP= Morale Of The German Army Weakens Deep Into Soviet Territory
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 45
#TRIGGER= 100
; Set how many NM points should be gained or lost over X turns
#NM_UPDOWN= -500
#NM_TURNS= 10
#DATE= 1943/01/01
#OBJECTIVE_TEXT_POSITION=
; Stalingrad(234,85) is in Axis hands
#ALIGNMENT_POSITION= 221,65 [1]

; Saratov is in Axis hands
#ALIGNMENT_POSITION= 237,77 [1]
; 1st Line - Germany(45) aligned with the Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
; 2nd Line - USSR(116) aligned with the Allies and not surrendered
#VARIABLE_CONDITION= 116 [2] [100] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}

{
#NAME= USSR - USSR Morale Boosted From Allied Landings In France (Stalingrad Helper)
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 151[1]
#COUNTRY_ID= 116
#TRIGGER= 100
; Set how many NM points should be gained or lost over X turns
#NM_UPDOWN= 250
#NM_TURNS= 10
#DATE= 1939/09/01
#OBJECTIVE_TEXT_POSITION=
; Berlin(173,174) is in Allied hands
#ALIGNMENT_POSITION= 173,74 [1]
; Stalingrad(234,85) is in Axis hands
#ALIGNMENT_POSITION= 221,65 [1]

; 1st Line - Germany(45) aligned with the Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
; 2nd Line - USSR(116) aligned with the Allies and not surrendered
#VARIABLE_CONDITION= 116 [2] [100] [0]
; Allies in France
#CONDITION_POSITION= 146,84 [4,4] [4,4] [2] [0]
#CONDITION_POSITION= 151,81 [3,3] [4,4] [2] [0]
#CONDITION_POSITION= 141,85 [5,5] [4,4] [2] [0]
}

{
#NAME= USSR - USSR Morale Boosted From Allied Landings In France (Stalingrad Helper)
#POPUP=
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 2
#LEVEL= 0
#GV= 1[1,100]
#LINK= 151[1]
#COUNTRY_ID= 116
#TRIGGER= 100
; Set how many NM points should be gained or lost over X turns
#NM_UPDOWN= 250
#NM_TURNS= 10
#DATE= 1939/09/01
#OBJECTIVE_TEXT_POSITION=
; Berlin(173,174) is in Allied hands
#ALIGNMENT_POSITION= 173,74 [1]
; Stalingrad(234,85) is in Axis hands
#ALIGNMENT_POSITION= 221,65 [1]

; 1st Line - Germany(45) aligned with the Axis and not surrendered
#VARIABLE_CONDITION= 45 [1] [100] [0]
; 2nd Line - USSR(116) aligned with the Allies and not surrendered
#VARIABLE_CONDITION= 116 [2] [100] [0]
; Allies in France
#CONDITION_POSITION= 146,84 [4,4] [4,4] [2] [0]
#CONDITION_POSITION= 151,81 [3,3] [4,4] [2] [0]
#CONDITION_POSITION= 141,85 [5,5] [4,4] [2] [0]
}
User avatar
BillRunacre
Posts: 6890
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

Re: 1939 SOE national_morale script appears to be using wrong ALIGNMENT_POSITION

Post by BillRunacre »

Good spot. I am tempted to leave it as Moscow and just correct the text to match.
Follow us on Twitter: https://twitter.com/FurySoftware

We're also on Facebook! https://www.facebook.com/FurySoftware/
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

Re: 1939 SOE national_morale script appears to be using wrong ALIGNMENT_POSITION

Post by DarkHorse2 »

FYI,

This is how I found it. After doing a global find and replace for Moscow -> Moscow(221,65), and then doing a global find for "221,65" to verify, it shows up as an inconsistency in the script files as below:

Coords.png
Coords.png (214.25 KiB) Viewed 237 times
Post Reply

Return to “Tech Support”