Cannot get UK to surrender

Please post here for questions and discussion about modding for Strategic Command.
Post Reply
cosnahang
Posts: 7
Joined: Fri Sep 08, 2017 6:15 am
Location: UK

Cannot get UK to surrender

Post by cosnahang »

In 1939/40 opinion in the UK was not simply "Fight to the End" there were still a lot of Appeasers about. Also with 1.08 throwing the balance in favour of the Allies (I have conquored the UK only for a Partisan to then spawn 3-4 corps and lose the UK again).

My scenario says that if London is in Axis hands in 1940 then the UK surrenders and becomes part of the Axis. This would give me a free hand on the Eastern Front and stop the USA joining in.

I have created an event (DE 129) that correctly triggers and give me the right message but fails for reasons I cannot debug to trigger the Surrender-#1 event. Been round the loop a load of times. I even have a scenario set up to test bed it!

Any ideas? [&:]

Scenario too big to upload but events and surrender-1 files attached
Attachments
Events.zip
(8.3 KiB) Downloaded 5 times
User avatar
sPzAbt653
Posts: 10045
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: Cannot get UK to surrender

Post by sPzAbt653 »

Maybe - DE 129 is set for '#AI_RESPONSE= 100' [Yes], but Surrender 1 only triggers if the AI Response is No [#LINK= 129[0]] ?
cosnahang
Posts: 7
Joined: Fri Sep 08, 2017 6:15 am
Location: UK

RE: Cannot get UK to surrender

Post by cosnahang »

ORIGINAL: sPzAbt653

Maybe - DE 129 is set for '#AI_RESPONSE= 100' [Yes], but Surrender 1 only triggers if the AI Response is No [#LINK= 129[0]] ?

So just tried being the Allies and neither 'Yes' or 'No' seem to trigger it.

Surrender-1 is:

Code: Select all

 ;UK Surrenders becomes German
 {
 #NAME= DE 129 - UK complete surrender
 #POPUP= UK Surrenders and Becomes German
 #IMAGE=Nazi-UK.jpg
 #SOUND= 
 #FLAG= 1
 #TYPE= 0
 #AI= 0
 #LEVEL= 0
 ; Set global variable condition to always trigger (dummy value)
 #GV= 1[1,100]
 ; Set link value to always trigger (dummy value)
 #LINK= 129[1]
 #COUNTRY_ID= 112
 #RECIPIENT_ID= 45
 #SURRENDERED_TO= 1
 #TRIGGER= 100


and Decision is:

Code: Select all

; Event triggered by the fall of London after a successful Operation Sealion in 1940
 {
 #NAME= DE 129 - UK: total surrender? (AI - 100% Yes)
 #POPUP= %N%NBritish War Office %NDavid Margesson %N%NWith Axis units having landed in Britain, we must be prepared to Surrender and be Neutral (YES) or Join Axis (NO)?
 #IMAGE=
 #SOUND= teletype_1.ogg, teletype_2.ogg
 #FLAG= 1
 #TYPE= 1
 #AI= 0
 #LEVEL= 0
 ;Set global variable condition to always trigger (dummy value)
 #GV= 1[1,100]
 ;Set link value to always trigger (dummy value)
 #LINK= 0[0]
 #COUNTRY_ID= 112
 #TRIGGER= 100
 #DISPLAY_ORDER= 1
 ; Set decision value
 #DECISION= 129
 #MPP_UPDOWN= 0
 #MPP_TURNS= 0
 #MPP_TEXT=
 #NOTES= Our convoy routes will automatically adjust to deliver goods to wherever we relocate to. %N%NIf it may be possible to launch successful offensives in the Mediterranean then opting for Egypt (YES) might be best, as new units will be able to deploy there. %N%NThis will be useful as they will have far less distance to travel before entering combat than had you said (NO) and opted for Canada.
 #NOTES_POSITION=
 ; Set AI acceptance % (AI will accept 0% of the time)
 #AI_RESPONSE= 100
 #AI_RESPONSE_POPUP= Tories Revolt! Churchill imprisoned! UK Surrenders!
 #DATE= 1939/09/01
 #TEXT_RGB= 0,0,0
 #SHADOW_RGB= 0,0,0
 ; initialy was Ottawa is in Allied hands - 6,93 [2]
 ; London held by Axis
 #ALIGNMENT_POSITION= 147,77 [1]
 ;Set National Morale Trigger (dummy value)
 #NATIONAL_MORALE_TRIGGER= 0 [0]
 ; Set variable conditions:
 ; 1st Line - UK politically aligned with Allies and not surrendered
 #VARIABLE_CONDITION= 112 [2] [100] [0]
 ; Axis have units in London England
 #CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
 }
 
User avatar
sPzAbt653
Posts: 10045
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: Cannot get UK to surrender

Post by sPzAbt653 »

Drat. Well, I hate guessing on this kind of stuff, but what else can we do ?

Check this out:
3.1.15. Surrender #1
This event causes a country’s territory to be
transferred to another country when the country
losing the territory surrenders.


Doesn't this mean that Surrender #1 won't actually make a country surrender ? [It only transfers the territory, after a country surrenders]. If so, your DE 129 doesn't actually tell the UK to surrender, so you need something to force the UK to surrender as soon as London is occupied. Maybe a big National Morale hit ?
User avatar
sPzAbt653
Posts: 10045
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: Cannot get UK to surrender

Post by sPzAbt653 »

Drat. Well, I hate guessing on this kind of stuff, but what else can we do ?

Check this out:
3.1.15. Surrender #1
This event causes a country’s territory to be
transferred to another country when the country
losing the territory surrenders.


Doesn't this mean that Surrender #1 won't actually make a country surrender ? [It only transfers the territory, after a country surrenders]. If so, your DE 129 doesn't actually tell the UK to surrender, so you need something to force the UK to surrender as soon as London is occupied. Maybe a big National Morale hit ?
cosnahang
Posts: 7
Joined: Fri Sep 08, 2017 6:15 am
Location: UK

RE: Cannot get UK to surrender

Post by cosnahang »

I will see how Poland surrenders but I did think the lines:

Code: Select all

#COUNTRY_ID= 112
 #RECIPIENT_ID= 45
 #SURRENDERED_TO= 1
did the surrendering

; #COUNTRY_ID= Surrendering country's ID
; #RECIPIENT_ID= Transfer country ID (country that will receive the territory listed under each #MAP_POSITION)
; #SURRENDERED_TO= Additional flag ensuring #COUNTRY_ID surrendered to the applicable side (values range [1, 2]; Axis= 1; Allied= 2)
User avatar
sPzAbt653
Posts: 10045
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: Cannot get UK to surrender

Post by sPzAbt653 »

True that, but I have discovered that what makes sense to us is not always how things actually work [:)]

So if you look at that again, it is saying 'the surrendering country' not 'this country surrenders'. For example, if you look at DE 406, it has nothing to do with Poland surrendering, but if Poland surrenders AND DE 406 was a negative, then the territory transfers.
Going by that example, your DE 129 has nothing to with the UK actually surrendering, therefore the Surrender #1 script will not fire.
User avatar
sPzAbt653
Posts: 10045
Joined: Thu May 03, 2007 7:11 am
Location: east coast, usa

RE: Cannot get UK to surrender

Post by sPzAbt653 »

For example, Italy is a complicated thing, and I added in several DE's similar to your DE 129, followed by corresponding Surrender #1's, but they didn't always work. But when I added in this:

; 653H - DE 754 - FORCED ITALIAN SURRENDER
{
#NAME= Italy - Italian Surrender via Allied advances
#POPUP= Italy signs a secret armistice with the Allies! [DE 754]
#IMAGE=
#SOUND=
#FLAG= 1
#TYPE= 1
#AI= 0
#LEVEL= 0
#GV= 1[1,100]
#LINK= 754[1]
#COUNTRY_ID= 59
#TRIGGER= 100
#NM_UPDOWN= -30000
#NM_TURNS= 1
#DATE= 1939/09/01
#OBJECTIVE_TEXT_POSITION=
; Berlin is in Axis hands
#ALIGNMENT_POSITION= 173,74 [1]
; 1st Line - Italy politically aligned with the Axis and not surrendered
#VARIABLE_CONDITION= 59 [1] [100] [0]
; Dummy condition position (always satisfied)
#CONDITION_POSITION= 0,0 [0,0] [0,0] [0] [0]
}

Voila, they all worked ! In this case, my DE 754 corresponds to your DE 129, and neither of those actually causes a surrender, but this NM event does [as Italy can't handle losing 30,000 points and will therefore surrender].
cosnahang
Posts: 7
Joined: Fri Sep 08, 2017 6:15 am
Location: UK

RE: Cannot get UK to surrender

Post by cosnahang »

So - there is a -10,000NMorale hit on the loss of london already and the loss of Warsaw prompts a German Decision as does the Paris

cosnahang
Posts: 7
Joined: Fri Sep 08, 2017 6:15 am
Location: UK

RE: Cannot get UK to surrender

Post by cosnahang »

OK - trying -100,000 on loss of London....
cosnahang
Posts: 7
Joined: Fri Sep 08, 2017 6:15 am
Location: UK

RE: Cannot get UK to surrender

Post by cosnahang »

Ha - it works! Thanks so much!

Now there is a load of secondary effects to contend with - making the Empire surrender, Iraq becomes Axis, USA permanently 'Neutral'(as if Roosevelt ever was :) )

Will post when it all works!
cosnahang
Posts: 7
Joined: Fri Sep 08, 2017 6:15 am
Location: UK

RE: Cannot get UK to surrender

Post by cosnahang »

Ok so I got that working afer a while, the surrenderfiles should be called surrender-major and surrender-minor to be more self evident!

Had a problem that the USA ended up at war with Italy but not Germany - think you need a third line on the usa/Italy beligerence entry to ask if UK has surrendered. Which meant Germany could not attack the USA!

Also I would like to have the UK join the Axis - do not want the Royal Navy et al to vanish as they do currently.

More soon....ish
Post Reply

Return to “Scenario Design and Modding”