Difference between revisions of "Export descr buildings.txt - M2TW"
m (Quick-adding category "M2TW Files" (using HotCat)) |
(→Capabilities: happiness) |
||
Line 15: | Line 15: | ||
! style="background:#e5e0df;" |Capability Name!!style="background:#cdc7c7;" |Loads without error!!style="background:#e5e0df;" |Text appears!!style="background:#cdc7c7;" |Effect in game;!!style="background:#e5e0df;" |Value 5 means;!!style="background:#cdc7c7;" |Value -5 means;!!style="background:#e5e0df;" |Additive bonus!!style="background:#cdc7c7;" |Notes! | ! style="background:#e5e0df;" |Capability Name!!style="background:#cdc7c7;" |Loads without error!!style="background:#e5e0df;" |Text appears!!style="background:#cdc7c7;" |Effect in game;!!style="background:#e5e0df;" |Value 5 means;!!style="background:#cdc7c7;" |Value -5 means;!!style="background:#e5e0df;" |Additive bonus!!style="background:#cdc7c7;" |Notes! | ||
|- | |- | ||
− | |population_fire_risk_bonus||NO | + | |population_fire_risk_bonus||NO 'invalid' message||NO||n/a||n/a||n/a ||n/a ||useless |
|- | |- | ||
|mine_resource||YES||YES||increased income||tbc||tbc||tbc|| | |mine_resource||YES||YES||increased income||tbc||tbc||tbc|| | ||
Line 69: | Line 69: | ||
|recruits_experience_bonus||loads?||text?||effect?||+5 means||-5 means||additive?||notes | |recruits_experience_bonus||loads?||text?||effect?||+5 means||-5 means||additive?||notes | ||
|- | |- | ||
− | |happiness_bonus|| | + | |happiness_bonus||YES||YES||public order & growth||25% public order & 1% growth||-25% and -1% max||YES||max total applied 125% public order and 12.5% growth |
|- | |- | ||
|law_bonus||loads?||text?||effect?||+5 means||-5 means||additive?||notes | |law_bonus||loads?||text?||effect?||+5 means||-5 means||additive?||notes | ||
Line 141: | Line 141: | ||
|-class="sortbottom" | |-class="sortbottom" | ||
|} | |} | ||
+ | |||
+ | ==== Negative Bonuses ==== | ||
+ | Negative amounts generally only reduce the total amount of 'bonus' in a settlement to zero. For instance you can't have a minus value for happiness generated by buildings, only reduce the bonus to zero. | ||
+ | |||
+ | ==== Additive Bonuses ==== | ||
+ | Generally to bet additive bonuses (so different building trees all contribute to a bonus within a settlement) use the format | ||
+ | :: happiness_bonus '''bonus''' 3 | ||
+ | with the extra 'bonus' | ||
=== Agent Recruitment and Limits === | === Agent Recruitment and Limits === |
Revision as of 08:21, 19 July 2014
Contents
EDB in M2TW
Most of the research on export_descr_buildings.txt was done for Rome Total War where its format and use-age is very similar. Please see; Export_descr_buildings.txt - Complete Guide for RTW for that information. However there are some differences in M2TW, some extra capabilities and some things that no-longer work so the differences will be noted here;
Recruitment
to-do
Capabilities
Capability Name | Loads without error | Text appears | Effect in game; | Value 5 means; | Value -5 means; | Additive bonus | Notes! |
---|---|---|---|---|---|---|---|
population_fire_risk_bonus | NO 'invalid' message | NO | n/a | n/a | n/a | n/a | useless |
mine_resource | YES | YES | increased income | tbc | tbc | tbc | |
population_growth_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
population_loyalty_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
population_health_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
trade_base_income_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
trade_level_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
trade_fleet | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
taxable_income_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
farming_level | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
road_level | loads? | text? | effect? | +5 means | -5 means | additive? | changes strat map |
gate_strength | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
gate_defenses | loads? | text? | effect? | +5 means | -5 means | additive? | boiling oil? |
tower_level | loads? | text? | effect? | +5 means | -5 means | additive? | only relevant if settlement model has tower upgrades |
armour | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
stage_games | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
stage_races | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_melee_simple | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_melee_blade | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_missile_mechanical | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_missile_gunpowder | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_artillery_mechanical | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_artillery_gunpowder | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_naval_gunpowder | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
bodyguard | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
recruits_morale_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
recruits_experience_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
happiness_bonus | YES | YES | public order & growth | 25% public order & 1% growth | -25% and -1% max | YES | max total applied 125% public order and 12.5% growth |
law_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_cost_bonus_military | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_cost_bonus_religious | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_cost_bonus_defensive | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_cost_bonus_other | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_time_bonus_military | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_time_bonus_religious | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_time_bonus_defensive | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_time_bonus_other | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
archer_exp_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
cavalry_exp_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
heavy_cavalry_exp_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
gun_exp_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
navy_exp_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
recruits_cost_bonus_naval | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
retrain_cost_bonus | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_projectile | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
income_bonus | YES | YES | adds fixed amount of income | +5 money | tbc | additive? | notes |
weapon_simple | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_missile | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_bladed | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_siege | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
weapon_other | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_cost_bonus_wooden | YES | NO | reduces cost of wooden buildings | tbc | tbc | additive? | notes |
construction_cost_bonus_stone | YES | NO | reduces cost of stone buildngs | tbc | tbc | additive? | notes |
construction_time_bonus_wooden | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
construction_time_bonus_stone | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
religion_level | YES | YES | increases conversion to religion* | +5 means | -5 means | additive? | *religion must be specified for EDB tree |
religion_level_amplifier | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
free_upkeep | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
recruitment_slots | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
agent_limit | YES | NO | restricts agent recruitment | +5 means | -5 means | additive? | see agent_limit notes |
name of capability | loads? | text? | effect? | +5 means | -5 means | additive? | notes |
Negative Bonuses
Negative amounts generally only reduce the total amount of 'bonus' in a settlement to zero. For instance you can't have a minus value for happiness generated by buildings, only reduce the bonus to zero.
Additive Bonuses
Generally to bet additive bonuses (so different building trees all contribute to a bonus within a settlement) use the format
- happiness_bonus bonus 3
with the extra 'bonus'
Agent Recruitment and Limits
Agents are made recruitable in the 'capability' section of a building in EDB
with a line like;
- agent diplomat 0
this can also be restricted further by using 'requires' ;like;
- agent assassin 0 requires factions { egypt, timurids, }
agent_limit can also be used to restrict the number of agents that a faction can have alive at any one time
its use-age in vanilla is for merchants and priests, e.g.
- agent_limit merchant 1
that means that for each example of that building constructed a faction can build one merchant - they won't be able to recruit merchants at all unless they have constructed or captured a building with that entry. In vanilla other agents; spies, diplomats and assassins, where completely unrestricted however adding a similar line like;
- agent_limit spy 1
will impose a similar restriction on spy recruitment.