I've managed to get the peace_with_all command to work, but there's a problem...
Before, I would use commands like the one directly below to end a war for a particular nation. For example... the Axis defeats the USSR but is still at war with the Western Allies (Britain, etc.). Romania and Hungary had nothing to do with this, so I want them to fight each other. Events would fire for both Hungary and Romania with the following commands:
So long as I listed every freaking nation Romania/Hungary could be at war with, this worked okay, if cumbersome and irritating. Romania/Hungary would leave the Axis and be at peace, while Germany and friends would continue to fight the Western Allies.
Now, however, with the peace_with_all command, I'd hoped to eliminate all the crazy commands to make peace between, say, Hungary and Guangxi Clique, if, for some reason, they happened to be at war. I tried the peace_with_all command...
...and Romania went to peace with everyone she was fighting. Excellent! But...
SO DID THE ENTIRE AXIS! :wacko:
Even though Romania LEFT the Axis, the rest of the Axis (Germany, Italy, etc.) were now at peace with all of their former enemies! NOOOO!!! My dream command is a fraud!
Okay, okay. Calm down. Maybe if I add value = 1 (separate peace) to the command...
No difference! Ugggh!
Devs? Any word on a fix for this? It was all for naught if this causes more problems than it fixes...
Before, I would use commands like the one directly below to end a war for a particular nation. For example... the Axis defeats the USSR but is still at war with the Western Allies (Britain, etc.). Romania and Hungary had nothing to do with this, so I want them to fight each other. Events would fire for both Hungary and Romania with the following commands:
Code:
command = { type = leave_alliance }
command = { type = peace which = ENG value = 1 }
command = { type = peace which = USA value = 1 }
command = { type = peace which = CAN value = 1 }
command = { type = peace which = MEX value = 1 }
command = { type = peace which = VEN value = 1 }
command = { type = peace which = PAN value = 1 }
command = { type = peace which = LIB value = 1 }
command = { type = peace which = PHI value = 1 }
command = { type = peace which = JAP value = 1 }
command = { type = peace which = SOV value = 1 }
command = { type = peace which = HOL value = 1 }
command = { type = peace which = BRA value = 1 }
command = { type = peace which = ECU value = 1 }
command = { type = peace which = PRU value = 1 }
command = { type = peace which = HON value = 1 }
command = { type = peace which = COL value = 1 }
command = { type = peace which = TUR value = 1 }
command = { type = peace which = SAF value = 1 }
command = { type = peace which = OMN value = 1 }
command = { type = peace which = YEM value = 1 }
command = { type = peace which = SPA value = 1 }
command = { type = peace which = SPR value = 1 }
command = { type = peace which = POR value = 1 }
command = { type = peace which = SCH value = 1 }
command = { type = peace which = SWE value = 1 }
command = { type = peace which = PER value = 1 }
command = { type = peace which = CHI value = 1 }
command = { type = peace which = CHC value = 1 }
command = { type = peace which = CSX value = 1 }
command = { type = peace which = CGX value = 1 }
command = { type = peace which = CXB value = 1 }
command = { type = peace which = SIK value = 1 }
command = { type = peace which = CYN value = 1 }
So long as I listed every freaking nation Romania/Hungary could be at war with, this worked okay, if cumbersome and irritating. Romania/Hungary would leave the Axis and be at peace, while Germany and friends would continue to fight the Western Allies.
Now, however, with the peace_with_all command, I'd hoped to eliminate all the crazy commands to make peace between, say, Hungary and Guangxi Clique, if, for some reason, they happened to be at war. I tried the peace_with_all command...
Code:
command = { type = leave_alliance }
command = { type = peace_with_all which = ROM }
...and Romania went to peace with everyone she was fighting. Excellent! But...
SO DID THE ENTIRE AXIS! :wacko:
Even though Romania LEFT the Axis, the rest of the Axis (Germany, Italy, etc.) were now at peace with all of their former enemies! NOOOO!!! My dream command is a fraud!
Okay, okay. Calm down. Maybe if I add value = 1 (separate peace) to the command...
Code:
command = { type = leave_alliance }
command = { type = peace_with_all which = ROM value = 1 }
No difference! Ugggh!
Devs? Any word on a fix for this? It was all for naught if this causes more problems than it fixes...