Loading...
play.ccnetmc.com
Click to copy IP
Loading...
discord.gg/Xn35DhyPQq
Click to join
Avatar
Welcome to CCNet!
To join our community, please login or register!
Internet Explorer: Internet Explorer is not supported. Please upgrade to a more modern browser.
Experimental Plugin Dev Blog #4: CampaignWar Ultimatums & Wars
galacticwarrior9 Admin Member
34 posts
19 topics
24 days ago

Click here to read the previous dev blog (#3) - TownyBuildings

In the first dev blog, I introduced CampaignWar - a custom war plugin being developed for a test gamemode. If you haven’t read it yet, you should do that first. We introduced the world, which is divided into provinces, and how individual provinces are captured during wars (through “province attacks”).

Today we will discuss wars themselves: how they are started, fought and concluded. Our intention is to make wars purposeful and have defined objectives, and to have them initiated through diplomatic means.

 

Ultimatums

Clausewitz famously said, “War is the continuation of policy with other means.” And so in CampaignWar, war is not inevitable; it is one of two possible outcomes of an ultimatum—a diplomatic process that begins when one nation (A) attempts to impose demands upon another nation (B).

A demand is something you want another nation to give you. Currently, there are three types¹ of demands of implemented:

  • Occupying an enemy province
  • Liberating a province from enemy occupation
  • Forcing the enemy nation to pay you a percentage of their national wealth daily ("reparations")

Let's suppose Nation A demands to occupy a province owned by Nation B. The demand costs victory points - more on that later.

AD_4nXf90s662bXmV-p5nFFgQRiSXzu2AOF7DIT1Sn3I8AoxGcsMKVrHswtjl7_NO5UChPwFsH1_1Ca570rcvxP3rg1ooyDEgntdU9-Gp7EufOZQ5Pk5oiE7Zmy44RWiyNEraIGzFpyi9k7M0D-_72i65sgmoNWM?key=Zph8PPthZCCYnGf9z5OZkQ

Upon receiving these demands, Nation B has two choices: either peacefully yield to the demands or refuse and present counter-demands to Nation A.

Let's assume Nation B chooses the second option. If they wish, they can now escalate the ultimatum to the international level. This gives both nations one day to call their allies for support. If the ultimatum becomes a war, allies that accept the call will participate in it (though calling all of your allies isn’t necessarily a smart decision, as we will discover.)

Now Nation A faces a similar choice. It can yield to Nation B's counter-demands to avoid war, or refuse. If they refuse, the countdown to war begins. With both nations steadfast in their demands, and neither willing to yield, war becomes the only means to determine whose demands will prevail. The war will begin on the next scheduled war day (Friday), and will last for 48 hours (it can end earlier if one side surrenders.)

Here's a flowchart of the whole process:

AD_4nXfDPpSdz0_Sc3XsYbzUzqrsxD9s1ffxjRfXTz-xgGJ7OwEgXDopvG1Y621zfgCVdklwVpLooexA1MGB2gYhhbqEpymUMjmYKM1kj4S40OXz3E_z-OK-P3IeaMBhqBw1BrNDbZ8NU0c40OMrfObV1I3Cmu8?key=Zph8PPthZCCYnGf9z5OZkQ

 

 

Victory Points

As mentioned earlier, demands cost victory points (VPs). During the war, capturing enemy provinces earns VPs for your side. However, if the enemy recaptures a province, your side loses the VPs it gained from it. Provinces containing more claimed land or the nation capital are worth more VPs.

AD_4nXcN3onoyikBtlu5JPO3wOvlEodrVm0e6tqK8ujZ9P_PBNnyR_da7mMJgqbbRo-HFdo4WNXDGd2046SPNPB_4s5UEQPgIRhqd1f4S9g5D8GbB3w1aq-z_xUh9usrNjN4RtbZzJTL6SFjam-yRI8fVc1UgjXf?key=Zph8PPthZCCYnGf9z5OZkQ

Wars aren't actually 4 days long - they're 2 days. This is just a screenshot from a test version.

To impose your demands on the enemy nation, your side must win at least as many VPs during the war as the total VP cost of those demands. For example, if your demands cost 100 VPs, you need to have at least 100 VPs at the end of the war. Therefore, it is in your interest to avoid making unrealistic demands during the ultimatum.

All nations involved in the ultimatum can have their provinces attacked during the war. Yes, that even includes allied nations that accepted calls for support. So, if you decide to call in allies, remember that they can become a liability—their provinces can be captured, giving VPs to the enemy.

What if both sides win enough VPs for their demands? In this case, both sides “win” - they impose their demands upon each other. This leads to some interesting strategic choices. For example, should you focus on securing your own demands by attacking instead of defending, even if that means the enemy side imposes their demands on you?

 

Battle Sessions

In CW, wars are still divided into battle sessions. During a province attack, if the attackers do not control any captured chunks at the end of a battle session, the attack fails, and the province cannot be attacked in the next session. Outside of sessions, provinces do not lose HP, and chunks cannot be captured.

 

Vulnerability Windows

During testing, we found that CW battles can be intense and hard-fought. We do not want a “nightcapping” meta where provinces are only captured or recaptured while the enemy side is offline, as this rewards avoiding battles.

AD_4nXd8p314OEprdOetad6L_y_Rki2JaXfqhy5tm9QArKN8fF5i2TKOw03jv8PqBdOEs7JNbJWllLq44VXSJf5N1flWnJGshtAwIuxUXD3aHWD9ziw3T86XmtotHhAyIuJdVOL5NrajhWG6tp-KG7mlg3EMUDw?key=Zph8PPthZCCYnGf9z5OZkQ

Preventing this is the purpose of vulnerability windows (VWs). A nation’s VW consists of the battle sessions that its provinces can be attacked in. Right now, we think VWs should last for two consecutive sessions, although this may change before release. The VW can be chosen and viewed through a GUI. There are safeguards to prevent exploitation of the system, like changing VWs mid-war.

If a nation attacks an enemy province outside of its own VW, that nation will be vulnerable for the remainder of the enemy nation’s VW. The logic here is that if you are able to begin an attack, you are also able to defend.

 

Truces

Wars need a reasonable conclusion. CW addresses this by expanding truces. When a war ends, all participants enter a temporary but unbreakable truce with each other. The truce prevents them from beginning ultimatums against each other, and being called as allies into ultimatums against each other. This same kind of truce is also formed if an ultimatum is settled peacefully by one side yielding, preventing them from being spammed with more ultimatums.

 

Conclusion

As always, if you have any questions, feedback or concerns about the features presented here, feel free to reply. Your input is valuable and may reveal areas for improvement or change.

The next dev blog may come later than usual as new features are still being developed and pre-announced features are being polished.

 


¹ Internally, demands are implemented in a flexible way, so it is likely more will be eventually added (e.g. forced vassalization? Forcing the nation to ally or drop enemies? Feel free to share your own ideas in the replies.)



Last edited: 24 days ago x 2
Dhiras Member
4 posts
0 topics
24 days ago

do wars go on for more than 2 days in weekend?? if not i feel wars should be able to go on for weeks if not months as it is realistic but yah fighting/capturing can only happen on weekends but wars should be able to go on for a long period of time.



_dogster Member
1 posts
0 topics
24 days ago

What happens once a province is captured and the war ends? Does the attacking nation get to occupy it like n2 where the province would be forced to pay occupation taxes? Or would the province be forced to join the attacker's nation or what



Perpltxed Moderator
15 posts
3 topics
24 days ago

Another banger blog, great stuff 



Contt Member
12 posts
2 topics
24 days ago

" not i feel wars should be able to go on for weeks if not months as it is realistic"
Wouldn't that just be more draining? Though if tuned properly it could work but it would need a lot of details you know

Otherwise great stuff!!



galacticwarrior9 Admin Member
34 posts
19 topics
24 days ago
_dogster:

What happens once a province is captured and the war ends? Does the attacking nation get to occupy it like n2 where the province would be forced to pay occupation taxes? Or would the province be forced to join the attacker's nation or what

By itself, capturing a province just gives you victory points. Captured provinces stop being captured after war ends.

Whether you occupy a province after the war depends on the demands you have chosen: was one of your demands to occupy the province, and did you win enough victory points to impose them? If the answer to both questions is yes, then you occupy the province. So you don't necessarily have to capture a province during the war to occupy it. Your demands and number of VPs decide that.

Your second question is pretty interesting. In short, I'm still deciding. It is possible both options will be available, so "occupy a town" (like on Nations) and "annex a town" (forcing the town to join your nation) are both potential demands. If both exist, annexation demands will cost more VPs than occupation demands.



Last edited: 24 days ago
Francis60 Member
17 posts
7 topics
16 days ago

Such a cool development