Jump to content
Age of History
Redguy325

Triggers and Outcomes for scripted wars

Recommended Posts

 I will present this idea in a very specific way to expose exactly what I mean; the details are actually of little importance.


war_score


"war_score" trigger would make event check if the sides are at war AND one side is winning with a specific war score advantage
Example of code:

war_score=ger=pol=50

This trigger would check if Germany is winning with Poland with at least 50+ war score. War score would be checked from the perspective of the first tag.
If we swapped tags, for example:
 

war_score=pol=ger=50

It would mean that Poland has to be winning with at least 50+ war score in a war against Germany.

Optionally we could be able to insert:

war_score=pol=50

It would check if civilization (any) has at least 50+ war score in a war against Poland.
 

 

province_occupied_by

 

We used to have this trigger in AOH2. It would check if province is occupied (or more precisely, if is either owned directly or occupied). Usage would be very simple:

province_occupied_by=1024=ger

It would be true if Germany either controls (owns) or occupies province 1024.

Alternatively the already existing "province_controlled_by" would work that way and gain new opportunity to be passed. Then if someone would want province owned by country directly, they could combine "Province_controlled_by" with "civ_is_not_at_war=true"

 

white_peace



We should also be able to enforce white peace in events for the purposes of scripted wars, for example:
 

white_peace=ger=pol

It automatically ends the war between Germany and Poland with White Peace.

 

white_peace=ger

It white peaces every single war waged by ger.

 

I don't think there is any further philosophy with it.

surrender

 

It would be grateful if there was "surrender" outcome, like:

surrender=ger

It would make Germany have -100 war score in every war it is currently at.

 

Optionally we could expand code so that germany surrenders only in a specific war:
 

surrender=ger=pol

Now Germany would only surrender only in a war with Poland.

 

 

Thank you for reading.

 

 

 

Share this post


Link to post
Share on other sites

White Peace and surrender would be especially useful for civil wars. For instance:

if White Russia has less than 70 provinces, is in a war with Red (Soviet) Russia, does not have variable 'russia_civilwar_ended', not in any other war, has no puppets and their independence is not guaranteed. They surrender to the Reds.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games