Altering the diplomacy

DonQuiche

Emperor
Joined
May 23, 2011
Messages
1,122
Hello everyone. :)

For my mod I am looking for possible ways to achieve any of the features listed below. So far I think they cannot be done but maybe I skipped something.
* Change the AI values (make a leader less agressive, etc). Seems like it can only be done before the game is started, through PreGame.
* Same for city states: turn an irrational city state into a hostile one for example.
* Change the nature of the relationship with another civ: to give them a good attitude towards the player for example.
* Force a declaration of friendship. Although there is a Player.DoForceDoF function, it doesn't seem to work (seems strange since we can enforce a war declaration/ending).
* Change the influence over a city state.

As usual, any help would be greatly appreciated.
 
I'm using player:DoForceDoF( otherPlayerID ) in my WW2 mod without problems.

And player:ChangeMinorCivFriendshipWithMajor( MajorCivID, value ) for the influence over a city state (player being the CS, value the value to add/remove to current relation value.)

AFAIK the first 3 will require the DLL or a complete diplomacy overhaul.
 
Back
Top Bottom