Waihti
Knight at Arms
=================================
CONTENTS:
1. How to use Diplomacy in your own mods
2. How to merge Diplomacy with other mods
3. Tools
=================================
[anchor=ownmods]1. How to use Diplomacy in your own mods[/anchor]
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
Changed files (2.5)
module_constants.py
module_dialogs.py
module_game_menus.py
module_info.py
module_party_templates.py
module_presentations.py
module_scripts.py
module_simple_triggers.py
module_string.py
module_triggers.py
module_troops.py
module_items.py
module_meshes.py
Details about troops.txt, party_templates.txt and items_kind1.txt (2.5)
troops.txt:
Added 'trp_dplmc_chamberlain', 'trp_dplmc_constable', 'trp_dplmc_chancellor', 'trp_dplmc_messenger', 'trp_dplmc_recruiter'
party_templates.txt:
Added 'pt_dplmc_spouse', 'pt_dplmc_gift_caravan', 'pt_dplmc_recruiter'
items_kinds1.txt:
Added 'itm_dplmc_coat_of_plates_red_constable'
[anchor=othermods]2. How to merge Diplomacy with other mods[/anchor]
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.
[anchor=tools]3. Tools[/anchor]
WinMerge for merging
CONTENTS:
1. How to use Diplomacy in your own mods
2. How to merge Diplomacy with other mods
3. Tools
=================================
[anchor=ownmods]1. How to use Diplomacy in your own mods[/anchor]
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
Code:
##diplomacy begin
...
##diplomacy end
All Diplomacy code elements have the common prefix
Code:
dplmc
Changed files (2.5)
module_constants.py
module_dialogs.py
module_game_menus.py
module_info.py
module_party_templates.py
module_presentations.py
module_scripts.py
module_simple_triggers.py
module_string.py
module_triggers.py
module_troops.py
module_items.py
module_meshes.py
Details about troops.txt, party_templates.txt and items_kind1.txt (2.5)
troops.txt:
Added 'trp_dplmc_chamberlain', 'trp_dplmc_constable', 'trp_dplmc_chancellor', 'trp_dplmc_messenger', 'trp_dplmc_recruiter'
party_templates.txt:
Added 'pt_dplmc_spouse', 'pt_dplmc_gift_caravan', 'pt_dplmc_recruiter'
items_kinds1.txt:
Added 'itm_dplmc_coat_of_plates_red_constable'
[anchor=othermods]2. How to merge Diplomacy with other mods[/anchor]
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.
[anchor=tools]3. Tools[/anchor]
WinMerge for merging