Page 3 of 3

Re: General Editor/modding questions

Posted: Thu Nov 07, 2024 9:44 am
by BillRunacre
Is the intention for the country to surrender to another, or for it to pull out of the war?

The reason being that it can only surrender to a country on the opposite side.

Also, the first script has #ARMISTICE= 1 which means it will pull out of the war, and that only works if the #RECIPIENT_ID= is the same as the #COUNTRY_ID=.

; #COUNTRY_ID= Surrendering country's ID
; #RECIPIENT_ID= Recipient country ID (country that will receive control of the territory of COUNTRY ID upon surrender)
; #ARMISTICE= Will this be an armistice event rather than a full surrender? (values range [0, 1]; False=0; True=1; True_and_have_Minor_switch_sides=2)

Re: General Editor/modding questions

Posted: Thu Nov 07, 2024 1:16 pm
by Ason
BillRunacre wrote: Thu Nov 07, 2024 9:44 am Is the intention for the country to surrender to another, or for it to pull out of the war?

The reason being that it can only surrender to a country on the opposite side.

Also, the first script has #ARMISTICE= 1 which means it will pull out of the war, and that only works if the #RECIPIENT_ID= is the same as the #COUNTRY_ID=.

; #COUNTRY_ID= Surrendering country's ID
; #RECIPIENT_ID= Recipient country ID (country that will receive control of the territory of COUNTRY ID upon surrender)
; #ARMISTICE= Will this be an armistice event rather than a full surrender? (values range [0, 1]; False=0; True=1; True_and_have_Minor_switch_sides=2)
well I would like for it to end the war with a specific nation, and then be able to continue the war against another country.

when I use the armistice script nothing changes, it doesnt surrender or pull out of the war..

Re: General Editor/modding questions

Posted: Thu Nov 07, 2024 7:34 pm
by BillRunacre
The armistice should work if the country is set to surrender to itself too.