If anybody would do it, it would be included. But I haven't seen any wish of anybody to make all necessary changes. On my side, I may adjust the buildings and scripts, with the traits would be more difficult - many are tied to religion.
If anybody would do it, it would be included. But I haven't seen any wish of anybody to make all necessary changes. On my side, I may adjust the buildings and scripts, with the traits would be more difficult - many are tied to religion.
As far as I know some scripts exist and are shared bu the authors so we could use it, but personally it is not on the top of my list, but it would be nice indeed!
I feel you @Draken, it could be frustrating. Are you using compatibility mode? I found that, on my computer at least, disabling compatibility mode and using a LAA patch greatly improved performance and stability. But for other people compatibility is better...
Well I some point I thought about it, but I don't even find the time to work on my diplomacy mini-mod, so I won't work on it any time soon sadly. Would be a great addition though!
Belovèse's Toolbox: export text files to spreadsheet, detailed unit stats
Stainless Steel Historical Improvement Project (SSHIP) team member.
Mini-mods: diplomacy and relation/reputation - detailled unit stats
I met some interesting scripts in diiferent Medieval 2 Kingdoms mods.
In "Broken Crescent" "Buff and Shine 1.9" sub-mod: Only the family member leaded armys can siege.
In "Bellum Crucis" mod: When an attacker army lost a siege not retreated, instead with their diminished army maintained the siege. It is continuing to their third siege battle defeat.
In "Deus lo Vult"-"Battlefield Balanced" submod:
An army can't move next in foreign territory when an enemy army stay behind them. The attacker army must defeat the enemy army behind them, or can't move to forward, just backward. This script is would represent the cut of army supply line.
Maybe these scripts would be good in your mod.
(I'm hungarian. My english is not so good. Sorry.)
Guys,
I'm going to add an historical mechanism increasing the efficiency of the mills. A question: are the other resources should be included?
; iron -> Metals ivory -> Oil tobacco -> Salt chocolate -> Glass sulfur -> Linen; coal -> Herbs dogs -> Fruits camels -> Honey tin -> Luxury Goods elephants -> Cattle
; gold, silver, marble, timber, slaves, amber, textiles, dyes, silk, cotton, furs, wool, spices, sugar, wine, grain, fish{NEW_USES_OF_WATER_POWER_BODY}\nWater mills have been well known to the civilized people since the Ancient times. However, with some exceptions in the Roman Empire, they were used only for grinding the grain into flour. In the High Middle Ages, however, the persvasiveness of the water power led the enterpreneurs to use them also for the other puroposes, as cutting the wood or fulling the wool. \n\nGAME STRATEGY: After the player builds at least 5 water mills, the provinces with wood, textiles and wool provide more income from trade.
{NEW_USES_OF_WATER_POWER__BODY}New Uses of Water Power
declare_counter number_mills_built ; MILLS
monitor_event BuildingCompleted TrueCondition
and SettlementBuildingFinished >= water_mill
and not IsFactionAIControlled
inc_counter number_mills_built 1
if I_CompareCounter number_mills_built > 5
historic_event NEW_USES_OF_WATER_POWER
terminate_monitor
end_if
end_monitorbuilding mills
{
levels water_mill wind_mill
{
;==================================================================================================================================
;=================== Water mill =================================================================================================
;==================================================================================================================================
water_mill city requires factions { northern_european, southern_european, eastern_european, greek, middle_eastern, } and building_present_min_level hinterland_farms farms4 or building_present_min_level builders builders2 and hidden_resource river
{
capability
{
trade_base_income_bonus bonus 1 requires factions { all, } and event_counter early_era 1
trade_base_income_bonus bonus 2 requires factions { all, } and event_counter high_era 1
trade_base_income_bonus bonus 3 requires factions { all, } and event_counter late_era 1
trade_base_income_bonus bonus 1 requires factions { all, } and event_counter NEW_USES_OF_WATER_POWER 1 and resource textiles or resource wool or resource wool or resource cotton
trade_base_income_bonus bonus 1 requires factions { all, } and event_counter NEW_USES_OF_WATER_POWER 1 and resource timber
trade_base_income_bonus bonus 1 requires factions { all, } and event_counter NEW_USES_OF_WATER_POWER 1 and resource marble or resource iron or resource gold or resource silver
population_growth_bonus bonus 1 requires factions { all, } and event_counter early_era 1
population_growth_bonus bonus 2 requires factions { all, } and event_counter high_era 1
population_growth_bonus bonus 3 requires factions { all, } and event_counter late_era 1
;---------------------------------------------------------------------------------------------------------------------------------
; UPKEEP/INCOME
income_bonus bonus 100
}
material stone
construction 4
cost 4000
settlement_min large_town
upgrades
{
wind_mill
}
}
The event PRIVILEGIUM has been turned into a mechanism:
The relevant (and other educational) events say:Code:;===================== LATIN UNIVERSITIES ============================== ; universities buildable for the Catholic, no specific pic yet monitor_event FactionTurnStart FactionIsLocal and RandomPercent < 20 if I_EventCounter faction_turn_islam > 0 set_event_counter EDUCATION_UNIVERSITIES_BUILDABLE 1 log ------ terminate Latin Universities Mechanism for player Islam faction terminate_monitor end_if if I_EventCounter faction_turn_orthodox > 0 set_event_counter EDUCATION_UNIVERSITIES_BUILDABLE 1 log ------ terminate Latin Universities Mechanism for player Orthodox faction terminate_monitor end_if if I_EventCounter faction_turn_pagan > 0 set_event_counter EDUCATION_UNIVERSITIES_BUILDABLE 1 log ------ terminate Latin Universities Mechanism for player Pagan faction terminate_monitor end_if if I_EventCounter EDUCATION_PRIVILEGIUM_SCHOLASTICUM > 0 and I_EventCounter number_school_built > 1 and I_EventCounter faction_turn_southern_european 1 historic_event EDUCATION_UNIVERSITIES_BUILDABLE factions { poland, hungary, pisa, venice, sicily, spain, portugal, aragon, hre, france, england, norway, denmark, } log ------ terminate Latin_Universities_Buildable_Mechanism event after 2 schools built (SE) terminate_monitor end_if if I_EventCounter EDUCATION_PRIVILEGIUM_SCHOLASTICUM > 0 and I_EventCounter number_school_built > 3 and I_EventCounter faction_turn_northern_european 1 historic_event EDUCATION_UNIVERSITIES_BUILDABLE factions { poland, hungary, pisa, venice, sicily, spain, portugal, aragon, hre, france, england, norway, denmark, } log ------ terminate Latin_Universities_Buildable_Mechanism event after 4 schools built (NE) terminate_monitor end_if if I_EventCounter EDUCATION_PRIVILEGIUM_SCHOLASTICUM > 0 and I_EventCounter number_school_built > 5 and I_EventCounter faction_turn_eastern_european 1 historic_event EDUCATION_UNIVERSITIES_BUILDABLE factions { poland, hungary, pisa, venice, sicily, spain, portugal, aragon, hre, france, england, norway, denmark, } log ------ terminate Latin_Universities_Buildable_Mechanism event after 6 schools built (EE) terminate_monitor end_if if I_EventCounter EDUCATION_PRIVILEGIUM_SCHOLASTICUM > 0 ; fall-back after 200 turns and I_TurnNumber > 200 historic_event EDUCATION_UNIVERSITIES_BUILDABLE factions { poland, hungary, pisa, venice, sicily, spain, portugal, aragon, hre, france, england, norway, denmark, } log ------ terminate Latin_Universities_Buildable_Mechanism after 200 turns terminate_monitor end_if if I_EventCounter EDUCATION_PRIVILEGIUM_SCHOLASTICUM < 1 ; at the end of script so that it doesn't fire in the same turn and I_TurnNumber > 50 and RandomPercent < 40 historic_event EDUCATION_PRIVILEGIUM_SCHOLASTICUM factions { poland, hungary, pisa, venice, sicily, spain, portugal, aragon, hre, france, england, norway, denmark, } end_if end_monitor
Code:¬ ========================================================================================================================== EDUCATION {EDUCATION_PRIVILEGIUM_SCHOLASTICUM_BODY}\nAround year 1155, Holy Roman Emperor Friedrich Barbarossa issued the Privilegium Scholasticum (also sometimes called the Authentica Habita), which set out the rights, rules, and privileges of universities. The document is a key document in the establishment of universities throughout Europe. \n\nFrom the mid-11th century, scholars from across the Catholic world were flocking to Bologna to study civil and canon law, yet as foreigners in the city, they found themselves distressingly bereft of any legal protections. As a means to alleviate the difficulties of these learned men (and thus encourage them to stay and continue their studies), the Privilegium was drawn up, providing them with the most basic rights and liberties necessary for their continued preservation in foreign lands. The Privilegium was confirmed by Pope Alexander III, and incorporated into Justinian's Codex, showing just how significant it had become. \n\nGAME STRATEGY: Catholic factions will be able to construct universities if enough money had been invested in schools.\n\nThe event enables also recruitment of the Mangonel units (only for the player). {EDUCATION_PRIVILEGIUM_SCHOLASTICUM_TITLE}Privilegium Scholasticum {EDUCATION_BOLOGNA_UNIVERSITY_BODY}\n\nThe University of Bologna is the first university founded in the western world, its motto is "Alma mater studiorum" (Latin for "fostering mother of studies"). Already in the mid-11th century, scholars from across the Catholic world were flocking to Bologna to study civil and canon law.\n\nGAME STRATEGY: Catholic factions will be able to build universities in the other settlements only if they had invested enough money in the basic educational facilities - schools. Be aware that education at a university may provide you administratively minded generals with very valuable traits. {EDUCATION_BOLOGNA_UNIVERSITY_TITLE}University of Bologna {EDUCATION_UNIVERSITIES_BUILDABLE_BODY}\n\nGAME STRATEGY: From this moment, the Catholic factions will be able to build universities. Be aware that education at a university may provide generals with administrative inclinations with extremely valuable traits. {EDUCATION_UNIVERSITIES_BUILDABLE_TITLE}Universities can be build {SUMMA_THEOLOGICA_BODY}\n\nThomas Aquinas' greatest work, the Summa Theologiae, is published. It is intended as a manual for theology students and literate laity, and contains a compilation of all of the main theological teachings of the time. It is not designed or ordered as an apologetic work directed toward non-Catholics, but it does contain a summary of the reasoning behind almost all points of the Catholic faith.\n\nGAME STRATEGY: Universities provide now slightly better benefits. {SUMMA_THEOLOGICA_TITLE}Summa Theologiae {THE_BOOK_OF_SENTENCES_BODY}\n\nPeter Lombard (1096-1160), a student of Peter Abelard, writes the "Book of Sentences", which answers fundamental questions of theology with passages from the Bible and various Christian thinkers. By the thirteenth century, his book has become a standard text in all universities.\n\nGAME STRATEGY: Universities provide now slightly better benefits. {THE_BOOK_OF_SENTENCES_TITLE}The Book of Sentences {ALBERTUS_MAGNUS_BODY}\n\nAlbertus Magnus (c. 1200 – 1280), also known as Saint Albert the Great or Albert of Cologne, was a German Catholic Dominican friar, philosopher and bishop. Later canonised as a Catholic saint, he was known during his lifetime as Doctor universalis and Doctor expertus and, late in his life, the sobriquet Magnus was appended to his name. He is considered to be the greatest German philosopher and theologian of the Middle Ages. The Catholic Church distinguishes him as one of the Thirty-Six Doctors of the Church. {ALBERTUS_MAGNUS_TITLE}Albertus Magnus
Our Caliph is finally crowned ! (I remind you that I am playing this campaign with a friend, new to Total War, and that he is the one who chooses the strategy)
Thanks @Jurand for helping us out. My list was incomplete because there are 2 conditions that I did not know:
H) You must have at least 6 in authority and in piety
G) Being the only general to be in the city of the coronation
A lap later, the coronation panel appeared. We were relieved because several attempts failed. Especially when returning to Cairo by sea, our caliph contracted scurvy and lost a precious point of authority. Fortunately, he recovered it later...
I see little change so far after these few laps since his coronation:
- Distant towns continue as before often bordering on public order
- Rebels appear everywhere, even near Cairo !
- Having not had a rebel general since the beginning of this campaign, their loyalty, if it has improved, does not change much.
In this context, I'm going to add a pop-out window informing the player:
{INFO_GOVERNOR_TITLE}Who is the governor?
{INFO_GOVERNOR_BODY}\n\nThe governor of a settlement is may be quite important for how this settlement fares. He can keep the public order high - or just increase the disorder. He can provide direct income (see the little white scroll in the income part of the settlement panel). He can increase the income from the other sources - what is stated in description of his traits, those "+10% tax income" etc. He can also lower the costs of funding new buildings, or recruitment of the units.\n\nHowever, this will realize only if he is the governor in this settlement - and there might be only one. If there are more generals in the city, then the engine decides which of them is. It does it on the basis of Piety: general with higher will get this post, even if he might be a youngster and the other general is the factions leader or an experienced manager (this is a legacy of the Rome TW where Piety was Managment). This choice is depicted by the little white scroll at his pic. Mind that the governor may be different from the leader of the military force (this one is depicted with a golden star)\n\nMind also that the Provincial Titles have nothing to do with who the governor is, even if the flashy descriptions say that he "rules the towns and forests of X province".
I think this is partly due to unfinished coding, and partly to a false impression.
ad 1. - maybe not discernible but there's a lower unrest coded for each settlement:
Spoiler Alert, click show to read:
and there's faster integration of each conquered settlement
Spoiler Alert, click show to read:
ad. 2 - the regular, standard, hard-coded rebels - yes, they'll appear until we switch them off (like EBII did). But the new rebellions, like Bedouins, see here:
Spoiler Alert, click show to read:
ad. 3 - loyalty is increased but it may need to be balanced based
Spoiler Alert, click show to read:
Thank you @Jurand for these explanations.
So - if I understood correctly - the title of count or sultan of a city has no bearing on the latter?
So the only thing that counts is the little white roll next to a portrait to govern a city well?
Did I understand well ?
If a governor and a military leader are in the same city, what happens? Does it risk lowering the contentment of the inhabitants or reducing income?
The title of count or sultan (or a minister) doesn't decide. It may have an impact if it increses Piety of the general - but it is only Piety itself, from various sources, which decides.
The little white role is the outcome of comparing the Piety of the generals present in the settlement - it depicts which has the highest (I don't rememer what happens if there's a draw).
Each group of units - either in the settlement or outside - has one general that will lead this army if the battle occurs. He's depicted with a golden star. IIRC, The silver star is for the second-in-command. Afaik, neither has any impact on the public orders or income. They matter only in a battle.
Adjustments to the costs of moving capital:
;==================== CHANGE OF CAPITAL =======================
monitor_event FactionNewCapital not IsFactionAIControlled
and not I_HotseatEnabled
if I_EventCounter DifficultyLevel = 1
terminate_monitor
end_if
if I_EventCounter DifficultyLevel = 2
if I_EventCounter faction_size_smallormedium = 1
console_command add_money -1000
end_if
if I_EventCounter faction_size_large = 1
console_command add_money -2000
end_if
if I_EventCounter faction_size_huge = 1
console_command add_money -4000
end_if
end_if
if I_EventCounter DifficultyLevel = 3
if I_EventCounter faction_size_smallormedium = 1
console_command add_money -2000
end_if
if I_EventCounter faction_size_large = 1
console_command add_money -4000
end_if
if I_EventCounter faction_size_huge = 1
console_command add_money -8000
end_if
end_if
if I_EventCounter DifficultyLevel = 4
if I_EventCounter faction_size_smallormedium = 1
console_command add_money -4000
end_if
if I_EventCounter faction_size_large = 1
console_command add_money -8000
end_if
if I_EventCounter faction_size_huge = 1
console_command add_money -12000
end_if
end_if
historic_event capital_change
end_monitor
Jurand how would you see a script of mercenary bands?
For example, there could be a script where if you don't pay your mercenaries and after disbanding, rebel mercenary groups appear in your regions with the intention of taking revenge and looting (to collect the money you promised them and you couldn't pay them).
Another option would be that from time to time an event would appear (similar to that of pirates on maritime routes or trade fairs) where the player could accept or reject the hiring of a mercenary band that offers their services (5 to 10 types of units). If you pay, you can use them at a high cost, but if you don't, there may be a chance that they will become a rebel army that plunders your regions and you will have to face them... yes, if you defeat them in battle you will have a juicy loot As a reward...
It could be done in all regions of the map and for all factions, but the regions where there were historically more mercenary bands would be more likely to find this script (for example Italy, Balkans for Byzantines, Northern Europe, Iberia...)
Also the composition of the mercenary bands would vary depending on the region you are in, although it would be great to see exotic mercenary bands, such as a mercenary band made up of Norse and Steppe warriors offering themselves in Italy or Iberia, and even mercenaries from the Middle East looking for work. for Russia...
That is already your decision.
THE MORE YOU SWEAT NOW,
THE LESS YOU BLEED IN BATTLE!!!
Sign the petition to remove hardcoded limits for M2TW
Perhaps it's possible to code, but I'd guess it'd be complicated. I'm not really interested in scripting this.
sship team, is it possible through a script that when an enemy army is in your territory or vice versa stationed for 1 or 2 turns it can take money from you? It would be like a way to loot the terrain when the famous "scorched earth" occurs that we can see in the campaign map... For example, each unit within the army can "loot" 100 coins from the enemy territory (it would be reflected in the income of the settlement involved),
EXAMPLE: if we have an English army of 10 units inside the French enemy territory of the Paris settlement without moving for 2 turns, the Paris settlement will lose 1000 coins and the English faction will gain 1000, in addition to the misery and wear and tear that it produces. if scorched earth in the game.
This extra income can be adjusted depending on what you see, but it would be a very real simulation of when the famous "small raids on enemy territory for loot" or "skirmishes/raiders" occurred in the Middle Ages, which were more common than a large pitched battle dimensions.
THE MORE YOU SWEAT NOW,
THE LESS YOU BLEED IN BATTLE!!!
Sign the petition to remove hardcoded limits for M2TW
Perhaps it's possibe. But I think scoreched earth effect reflects better my feeling of immersion in this game. I'd rather tinker with parameters than introduce a new mechanism. One would need to study how the EB2 team has introduced it, I think they've made quite extensive research.