Say, thought I'd mention, I much prefer changing EmpireManager::ResetDiplomacy() so it starts us all off in a state of war. I know the player can go ahead and declare war on the AI's right off anyways, but it seems to me they ought to start off at war with each other also Perhaps there should be a checkbox in the galaxy setup dialog to specify if all the players start off at war or peace.
I expect I'd be able to write up the code for a starting_war checkbox if it's something that would be desired. What do you guys think?
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
When diplomacy gets more interesting, it might make more sense to start at peace, but for now I don't object to defaulting to at war. Alternatively, the AI scripts could be modified to declare war on the player when they meet, or when they want to attack.
this simplest change is to modify EmpireManager::ResetDiplomacy() -- it is only called at the start of a game so establish diplomatic status across the board. Changing line 256 of EmpireManager.cpp to refer to DIPLO_WAR instead of DIPLO_PEACE does the job.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
The player can set themselves to war with the AI's, but currently has no way to make them war each other, and they currently suffer from incompetent diplomats. As Geoff noted above, the current status of AI warmongering seems to lead to them wasting effort trying to wage war while still actually at peace. Until someone revamps the AI diplomacy code, seems starting all at war would be best (or at least, there's a non-trivial reason to give the player a way to force that).
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
Why not just add a few lines to the python AI scripts letting the AIs declare war on everyone? Unless you start a multiplayer game, this has everyone at war with everyone. Quick, easy, and should be sufficient for the time being...
Vezzra wrote:Why not just add a few lines to the python AI scripts letting the AIs declare war on everyone? Unless you start a multiplayer game, this has everyone at war with everyone. Quick, easy, and should be sufficient for the time being...
Wouldn't it result with a spam of something like "[UNKNOWN] empire declares war on you!"? I don't know if diplomacy goes to SitRep yet, but...
https://github.com/macmodrov [...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556
Vezzra wrote:Why not just add a few lines to the python AI scripts letting the AIs declare war on everyone? Unless you start a multiplayer game, this has everyone at war with everyone. Quick, easy, and should be sufficient for the time being...
Wouldn't it result with a spam of something like "[UNKNOWN] empire declares war on you!"? I don't know if diplomacy goes to SitRep yet, but...
Geoff is right, all empires "know" each other right from the start. I've actually already tested the little script I've posted, works like a charm