CONTENTS:1. How to use Diplomacy in your own mods2. How to merge Diplomacy with other mods3. Tools
=================================1. How to use Diplomacy in your own mods
Download the sources here
If you are planning to integrate Diplomacy into your own mod and you have any questions or problems this is the right place for you.
If you're going to use Diplomacy in your mod, give credit and include a link leading to About Diplomacy
In addition it would be nice if you tell me so I can add your mod to the list of mods using Diplomacy. Diplomacy may not be used in a commercial mod without authorisation!
Diplomacy is build with the module system. Inside the folder "Diplomacy_v1.xbeta", there is a "sources" folder which contains the .py files for modders. In each source file added or changed code is enclosed between
All Diplomacy code elements have the common prefix
dplmcChanged files (2.5)
module_meshes.pyDetails about troops.txt, party_templates.txt and items_kind1.txt (2.5)
Added 'trp_dplmc_chamberlain', 'trp_dplmc_constable', 'trp_dplmc_chancellor', 'trp_dplmc_messenger', 'trp_dplmc_recruiter'
Added 'pt_dplmc_spouse', 'pt_dplmc_gift_caravan', 'pt_dplmc_recruiter'
Added 'itm_dplmc_coat_of_plates_red_constable'2. How to merge Diplomacy with other mods
If you were able to merge Diplomacy with another mod, please post your solution here, so I can add it to this post and other players can follow it.3. ToolsWinMerge