DevLog 04: Corporate Diplomacy & Hostile Takeovers
Greetings, Commanders.
Say you have been building a strike fleet of destroyers and siege bombers just outside the sensor range of a rival's main ore processing colony. You are waiting for the right moment to attack. Then a transmission comes in from the faction you are about to attack. They are offering a non-aggression pact and some credits, "in the spirit of mutual corporate interests."
Now you have a choice. You can accept the pact, take the credits and send your fleet somewhere else. Or you can accept the pact, take the credits and attack anyway.
In many strategy games diplomacy is mostly a number that shows how much the AI likes you. I wanted it to be something you actually use, and something that has consequences if you abuse it.
First Contact and the Diplomacy HUD
During the last month the core diplomacy systems started working. The first thing you will notice is the new Shared Top UI and the notification system.
When you make contact with another faction, either because your ship entered their sensor range or because they contacted you, they are added to your Diplomacy Contacts. Messages now come through a dedicated HUD notification system instead of generic popups, and they are sorted by type. A neutral notification might be a trade offer or a pact. A red one means someone has declared war on you.
The goal was to make it feel like a corporate command center, where you keep track of your relationships with the other factions.
The Mechanics of Betrayal
So what happens if you accept the pact and then send your bombers anyway?
In the original Fragile Allegiance you could break treaties, but it didn't always have much effect on the rest of the game. In the remake I added attack penalties that are tied to two values: Standing (how much they like you) and Trust (how reliable they think you are).
Every time your weapons hit something that belongs to an AI faction, the game checks if you are at war with them. If you are not, you immediately lose Standing and Trust.
They will also complain about it. The complaints are rate-limited, because otherwise every hit would send a new message to your inbox. When a complaint is sent, you get an official "Notice of Hostility" in your diplomacy thread that tells you to cease fire.
If you continue, your Standing will eventually drop below a threshold and they will declare war on you. The other factions will also see that you don't keep your agreements. Trade stops and defensive pacts are cancelled, and you might end up fighting on several fronts because nobody trusts you enough to stay neutral.
This is why you can make war declarations. If you want an enemy colony, you can formally declare war first. The defender gets some time to prepare, but your reputation with the other factions stays intact. You have to decide if the surprise attack is worth losing everyone's trust.
AI Proposals and Responses
Diplomacy works in both directions. The AI factions have their own goals and they will contact you with proposals.
Every in-game day each AI evaluates the situation and decides if it should contact you. First it compares its fleet strength to yours. Then it takes your Standing and Trust into account, which depend on how you have behaved so far (for example unprovoked attacks or pacts you have kept).
Based on this it might:
- Ask for a ceasefire if it is losing a war against you and wants to save what it has left.
- Demand tribute if it is stronger than you and your Standing is very low. If you don't pay, it declares war.
- Offer a non-aggression pact if you are at peace and your strength is similar.
- Offer a surplus trade if it has too much of a mineral (Iron, Olivine, Thorium) and sees that you have the credits to buy it.
When you send a proposal to an AI, it uses the same logic in the other direction. It looks at your fleet strength, whether you have kept your agreements before, and its own goals before it answers. It is not a random dice roll.
What's Next
The basic diplomacy is now in place, but it also needs to be connected to the economy. Next I want to look at how trade works together with diplomacy, and how economic pressure could be used to win a war without firing a torpedo.
Signing out,
- Jari
Deploy to the Front Lines
Early access intel delivered straight to your comms. Join the growing fleet of commanders preparing for deployment.