Why are scripts checking for Ottawa (Allied) all over the place?

Fury Games has now signed with Matrix Games, and we are working together on the next Strategic Command. Will use the Slitherine PBEM++ server for asynchronous multi-player.

Moderators: MOD_Strategic_Command_3, Fury Software

Post Reply
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

Why are scripts checking for Ottawa (Allied) all over the place?

Post by DarkHorse2 »

The scenario scripts are checking for Ottawa as follows:

Code: Select all

#ALIGNMENT_POSITION= 6,93 [2]
When I say, all over, to be precise:
  • 16 times in decision.txt
  • 75 times in popup.txt
Is this a condition that needs to be tested for? Is Ottawa in real danger of being Axis occupied?

I am inclined to believe that this is script-garbola that got copied/pasted all over the place. - or -
it is being used as a dummy condition to satisfy that the block contains an ALIGNMENT_POSITION statement?

For example, what in the world does Ottawa have to do with the following? :?: :?:

Code: Select all

{
#NAME= DE 664 - Germany: Dummy Event for Romania to switch sides (AI - 100% Yes)
#POPUP=
#MESSAGE= 
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 2
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
#LINK= 0[0]
#COUNTRY_ID= 45
#TRIGGER= 75
#DISPLAY_ORDER= 0
; Set decision value
#DECISION= 664
#MPP_UPDOWN= 0
#MPP_TURNS= 0
#MPP_TEXT=
#NOTES=
#NOTES_POSITION=
; Set AI acceptance % (AI will accept 100% of the time)
#AI_RESPONSE= 100
#AI_RESPONSE_POPUP=
#DATE= 1943/01/01
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
; Ottawa is in Allied hands
#ALIGNMENT_POSITION= 6,93 [2]
;Set National Morale Trigger (dummy value)
#NATIONAL_MORALE_TRIGGER= 0 [0]
; Set variable conditions:
; 1st Line - Romania politically aligned with Axis and not surrendered
#VARIABLE_CONDITION= 93 [1] [100] [0]
; 2 Allied units within 3 hexes of Bucharest
#CONDITION_POSITION= 198,95 [3,3] [2,2] [2] [0]
}
DarkHorse2
Posts: 1070
Joined: Fri Feb 04, 2022 12:08 pm

Re: Why are scripts checking for Ottawa (Allied) all over the place?

Post by DarkHorse2 »

another example....

why isn't this checking for Leningrad = Allied?

{
#NAME= DE 401 - Soviet Union Invades Finland (Historical)
#POPUP= USSR Invades Finland
#MESSAGE=
#IMAGE= winter_war_1.png, winter_war_2.png, winter_war_3.png
#SOUND= war1.ogg
#FLAG= 1
#TYPE= 0
#AI= 0
#LEVEL= 0
; Set global variable condition to always trigger (dummy value)
#GV= 1[1,100]
#LINK= 401[1]
#COUNTRY_ID= 116
#TRIGGER= 100
#PRIVATE= 0
#DISPLAY_ORDER= 0
#DISPLAY_TURN= 0
#DISPLAY_STYLE= 0
#MESSAGE_STYLE= 0
#TEXT_RGB= 0,0,0
#SHADOW_RGB= 0,0,0
#MAP_POSITION=
#DATE= 1939/11/30
; Ottawa is in Allied hands
#ALIGNMENT_POSITION= 6,93 [2]

#VARIABLE_CONDITION= 116 [2] [0] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}
User avatar
BillRunacre
Posts: 6908
Joined: Mon Jul 22, 2013 2:57 pm
Contact:

Re: Why are scripts checking for Ottawa (Allied) all over the place?

Post by BillRunacre »

DarkHorse2 wrote: Mon Jul 24, 2023 10:37 pm what in the world does Ottawa have to do with the following?
Nothing, and that is the point, as we want these events to happen providing their other conditions are met.

An alignment position has to be set, and therefore choosing a location that is very unlikely to not be in Allied hands is generally the safest place to pick.
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: Why are scripts checking for Ottawa (Allied) all over the place?

Post by DarkHorse2 »

Ok,

So it is a requirement.

Surprised you guys did not provide a use-case similiar to the following for this:

Code: Select all

; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
Post Reply

Return to “Strategic Command WWII War in Europe”