Crusade: War until end.

Riker13

King
Joined
Nov 9, 2001
Messages
859
Location
UK
Dear All,

Is there a way of going to war with a nation of your choice which you cant get out of it (no peace) until one of you is dead?

Regards

Riker13 :crazyeye:
 
There is an always war and an always peace option in the custom game menu. Perhaps you could look there for answers? I don't know exactly how it works myself, as diplomacy is not my area of expertise, unfortunately, but thats where I would look. Alternatively, you could set the relationship really low perhaps? Just a guess the last one though.
 
Thanks for reply Mercury but I am really after some sort of Python code or something that would allow me to pick a nation and stay at war with it until the end.

I would like to pick this nation to go to war with in game, so each time could be diffirent depending on who P***** me off the most ;)
 
CvGameUtils.py has a Python callback that allows you to block a declaration of war

PHP:
	def canDeclareWar(self,argsList):
		iAttackingTeam, iDefendingTeam = argsList
		return True
but sadly I don't see a function a la canSignPeace(). I also don't see any functions relating to barring a trade, which is how peace is signed generally (don't forget the random event). It looks like you'd need to dig into C++ to do this right.

CvEventManager.py has onChangeWar(), but you can't redeclare war immediately when peace is signed. The best you could do is set up a function to make it redeclare war in 10 turns automatically.
 
EmperorFool, many thanks for your reply.

I will have to rethink this one.

Regards.

Riker13 :crazyeye:
 
Back
Top Bottom