Is it possible to change war goal

europa-universalis-iv

I had CB to claim two provinces, one through a fabricated claim, and one through mission. I chose to go to war with the mission CB.

However, as it turns out, that goal is actually not possible to achieve, as the goal is to take their capital. Apparently, in EU you cannot demand a capital, unless it's their last province. I can demand the other province I have a claim on, but it will cost me diplomacy points.

Is it possible, through save game editing, console commands or otherwise, to change my war goal before I sue for peace?

Best Answer

I figured it out. The save game file has an object, like this:

active_war=
{
  name="Venetian Conquest of Lombardia"
  history=
  {
    # Lots of battles and stuff
  }
  original_attacker="VEN"
  original_defender="MLO"
  # Now comes the interesting part
  {
    type="take_claim"
    province=104
    casus_belli="cb_conquest"
  }

So what I did was simply to change the province number from the original one to the one I wanted to claim. For the sake of history, you could also change the name of the war to something like "Thermonuclear War of the Spaghettis", but that's entirely optional.

I guess you can also change the war type. The file "00_wargoal_types.txt" has a lot of info on the different war types, how much they are worth in prestige, badboy points etc.