help - how to insert new diplomatic options

Joined
Feb 6, 2006
Messages
796
I'm trying to make my way in this huge amount on lines of code that composes the SDK!

I'm looking for the code which manages the diplomatic options.
I'd like to add two options:
- an option to deal an exchange with a leader, forcing him to accept it (like a tribute). I'd simply have to "merge" some code from those two sections (when you deal an exchange, and when you ask for a tribute).
- an option to ask a leader to prepare for a war against someone. It'll be identical to the "declare war" option, but having the WARPLAN_PREPARING_LIMITED plan.

Can anyone tell me where I can find the code to manage that?
 
What I'd like to do is basically to add new diplomatic options, in the diplomacy screen, and to handle them with my own code.
I've looked in all the python and cpp source files, and it seems that the available options are managed (and displayed, and then handled) neither by python nor by SDK.
Is it the CIV4BeyondTheSword.exe file to manage it?
Is there any way to do what I want to do?
 
Back
Top Bottom