No Diplomacy without Emissaries or Relations - Experimental Alpha Ver 0.12
Mod rules:
The mod will let the player dealing new treaties and making "diplo" only if:
1) at least 1 owned dignitary or 1 owned general is in the targeted faction's lands;
2) at least 1 dignitary or 1 general of targeted faction is in the owned faction's lands;
3) the targeted faction is an allied (or Client or Vassal) faction;
4) the targeted faction in a trade partner of owned faction;
5) the targeted faction is bordering the own faction lands.
If not any of these conditions, then the diplomacy will be disabled.
If the diplomacy is disabled for a factions it's still possible to access to the "offers panel" ( for example for letting player to unilaterally break treaties); it's possible to select offers or request too, but it will be impossible to finalize deals. Infact when the mouse will be on button "send" it will auto-deactivate itself.
Further while loading the other factions' turn is possible to be contacted by foreign faction and doing diplo, meaning own faction's diplomatic stance is passive.
Of course it will affect the player only.
Compatibility Issues: the mod is not yet tested to be compatible with any other mods, so it has to be tested for each case. To try loading the noDiplomacy script in your mod, firstly put this code:
local noDiplomacy = require "lua_scripts.noDiplomacy";
in the scripting.lua file you will find in the Total War Rome 2\Data\Campaigns\(campaign name)\scripting.lua
If your mod modded the settlements names, to make it fully compatible then check in the noDiplomacy.lua (you will find it in the Total War Rome 2\Data\lua scripts\ ) then add the text name of the settlements of your modded campaign (everyone) in this way:
for example let's assume that the mod changes the Rise of Republic campaign. So it will be:
function rorCampaign()
if not regionsName["Barion"] then regionsName["Barion"] = {"inv_apulia_barion"} end regionsName["Barion"] = {"inv_apulia_barion"}
if not regionsName["Herdonia"] then regionsName["Herdonia"] = {"inv_apulia_herdonia"} end regionsName["Herdonia"] = {"inv_apulia_herdonia"}
etcetera, continuing adding all the text cities names of your mod, chained to the regions names, like in the script.
Credits: the mod has been made by studying and learning lua matter by reading the excellent scripts as contained in DEI Mod or Por 2 Mod, so i have to thank Dresden, Mitch, Magnar, Litharion and Causeless for their huge work. I also havo to say that i finally reached to made this mod only by studying the latest UI works of my friend Jake Armitage that made the whole thing more simple. Further i have to add that the original idea of this mod was born in a discussion generated by a request of Starsmil who asked me about the possibility to force the campaign UI, so i have to thank him for this.
At the very end, the main thank goes to the unsurpassed TWC Community for his resources ad for his extraordinary people.
By Trasibulos from Total War Center
Download Link on Steam: https://steamcommunity.com/sharedfil...?id=2976795751
Screenshots: