Hello everyone,
I'm currently trying to make some changes in how AI determine to become a peacevassal and to whom. Especially the following features:
1) Some civilizations are in general less likely to become peacevassals (I'd like to make Netherlands and Portugal less likely to become vassals in my RFC modmod, since they are too small in game terms to stay independent like in history).
2) Civilizations can only become vassals of their neighbors until the discovery of Astronomy.
I've already scanned through the CvTeamAI and CvPlayerAI files, but haven't found anything appropriate. Can someone point me to the related functions? Is it even possible to edit that at all?
Edit: I just realized that I can achieve (1) by changing VassalRefuseAttitudeThreshold in CIV4LeaderHeadInfos.xml. Does that value also influence capitulation? And I'd still like to know where I can find the related code for the DLL.
I'm currently trying to make some changes in how AI determine to become a peacevassal and to whom. Especially the following features:
1) Some civilizations are in general less likely to become peacevassals (I'd like to make Netherlands and Portugal less likely to become vassals in my RFC modmod, since they are too small in game terms to stay independent like in history).
2) Civilizations can only become vassals of their neighbors until the discovery of Astronomy.
I've already scanned through the CvTeamAI and CvPlayerAI files, but haven't found anything appropriate. Can someone point me to the related functions? Is it even possible to edit that at all?
Edit: I just realized that I can achieve (1) by changing VassalRefuseAttitudeThreshold in CIV4LeaderHeadInfos.xml. Does that value also influence capitulation? And I'd still like to know where I can find the related code for the DLL.