I have tested this by trying to use this code on Luxemburg and have the german core take their capital but they keep surrendering no matter what I do.
The goal of my test is the following
- When a country is about to surrender under normal in game circumstances I want to block it and then have them switch sides
- surrender_2.txt has the commands to have the country switch sides but that code never fire if a country surrenders. This seems to only fire if all the conditions are true BUT even if I make it so all the conditions are true it never fires because the country will surrender before ever calling it.
From the files this is the description in surrender_1.txt
Code: Select all
; If you set the #COUNTRY_ID equal to the #RECIPIENT_ID this can be used to prevent outright surrender when
; the surrender checks are performed by the game engine. In this case if the #MAP_POSITION items are set to
; another friendly country (which must be fully active when this event is checked) then a new territory will be
; created for #COUNTRY_ID with the first #MAP_POSITION designated as its new capital if that position is a
; Town, City, etc. For example, this might be useful to handle a movement of the British government to Egypt,
; with Alexandria as its new Capital, after a successful Sealion by Germany.So it would seem that once a country surrenders they are completely locked.