• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
Hi all! Tuesday has crept up on us again and it's time for another Horse Lords dev diary. The topics of the week are the map extension, new modding features and probably some other tidbits that I think of as I go along... First off, we did not increase the size of the base map again as we did for Rajas of India, since the most interesting regions were already on the map due to our funky twisted map projection. In fact, even the Orkhon valley and the old khaganate capitals of Karabalgasun and Karakorum are on the existing map. So we simply added some more counties where there was previously only wasteland; 27 to be exact, spread over 8 de jure duchies and two new kingdoms. The addition of these areas required some new cultures as well: Uyghur, Khitan, Sogdian and Tocharian (and of course a lot of new characters in the database to cover the historical periods.)

Crusader Kings II - Mongolia.jpg


It is a dynamic region where the hegemony of one nomadic tribe was soon overthrown by another, but it is actually possible to play as proper Mongols (Khalkha) even in 769, in the region of Ötüken (though they start out paying tribute to their Uyghur overlords.) In the 769 start, we represent the region as predominantly Manichean and Buddhist (though the reality was more complex.) The Tarim Basin is perhaps of special interest since the Silk Road passes through it. That's it for the map; on to modding!
Crusader Kings II - Orkhon Valley.jpg


Here are some items of particular interest:
  • All scripts under the common folder now use a proper folder structure for easier modding (i.e. more than one file can contain data)
  • You can now script your own triggers and effects (using existing ones) for easy reuse
  • Consistent handling of modded classes; changes are now always added to the modded entity (e.g. a culture or an on_action field), rather than replacing it.
  • The new government system allows you to override or add to the special gameplay rules of religions and cultures

The complete modding change log is a bit... obtuse, but I'm including it here anyway. :)

- Added geographical regions that can be checked in triggers if a title or province is contained in a region defined in map/geographical_region.txt. These regions are static throughout the game and are more reliable than using de-jure triggers for events that you want to affect specific places.
- Bookmarks now uses folder structure
- Combat tactics now uses folder structure
- Disease now uses folder structure
- Job actions now uses folder structure
- Job titles now uses folder structure
- Triggered modifiers now uses folder structure
- Added scripted triggers
- Added scripted effects
- Added create_tradepost effect
- Added folder structure to defines
- Added folder structure to modifier_definitions
- Added MAX_WARDS_PER_GUARDIAN to defines
- Added missing commandline argument "debug" to show debug logs
- Possible to append to cultures from several files
- Possible to append to on_actions from several files
- Added trigger technology_can_spread, checking whether technology can spread in the province.
- Added effects set_special_character_title, remove_special_character_title.
- Can now specify a CB to not be displayed in the diplomatic mapmode
- Culture can now decide if you are allowed to raid or not
- Added external province type in map definitions, will not generate a border or text and can be 1 pixel big
- Added global movement speed modifier
- Now can force contract on specific governments which will bypass the opinion limitations using new government system
- Now possible to disable courtiers from receiving MTTH events in defines
- Added effect set_government_type.
- Governments can be modded in the decisions folder.
- Geographical regions can be modded in the map folder.
- County-, duchy- and sub-region tags can now be used to define island- and geographical regions.
- Added region trigger.
- Added flags reinforcing [yes/no] and reinforce_rate_multiplier to the spawn unit effect.
- Added flag maintenance [yes/no] to the spawn unit effect.
- Added flag looting [yes/no] and can_toggle_looting [yes/no] to the spawn unit effect.
- Added trigger is_allowed_to_loot.
- Added on_action on_became_imprisoned_any_reason, that triggers whenever a character becomes imprisoned for any reason.
- Added flag adventurer [yes/no]. Adventure titles work just as temporary titles but do not get destroyed automatically when the holder is in peace. Instead, they are destroyed whenever the holder gains another title or when the holder dies.
- Added effect set_looting and set_can_toggle_looting for units.
- Added character text GetHusbandWifeOpp.
- Added triggers realm_levy_diff, reverse_realm_levy_diff, max_realm_levy_diff and reverse_max_realm_levy_diff.
- Renamed the realm_manpower trigger to realm_levies.
- The break effect now also properly affect tooltips.
- Added effects any_unit, any_army, any_fleet, random_unit, random_army and random_fleet.
- Added trigger any_unit, any_army and any_fleet.
- Added flag seafarer in culture and religion files, helping the AI to determine if coastal provinces is preferred when raiding.
- Added trigger is_seafarer, checking if either the culture or religion have the seafarer flag set.
- Added trigger is_island, checking if the province exists in island_region.txt.
- Added event target most_participating_crusader, used to get the most participating non-theocracy attacker in a war.
- Added on_action on_divorce, which fires whenever a character gets divorced regardless of the reason.
- Quick triggers are now properly checked when you fire an event from another event.
- Added triggers is_[law/government/decision/targetted_decision/title_decision/settlement_decision]_[valid/potential] with parameters key, character, title and settlement.
- Added effects and triggers any_dejure_liege and any_defacto_liege.
- Added event target defacto_liege_title.
- Added effect destroy_settlement.
- Added effect make_primary_settlement.
- Added match_settlement to the spawn unit effect.
- Added event trigger 'log'.
- Earmarked units can now also use the $CULTURE$ parameter.
- Added trigger completely_controls_region.
- Added any_title effect.
- Added effects make_capital_holding and revoke_capital_holding.
- Added trigger is_nomadic.
- Added government trigger.
- The Spawn Unit effect can now take saved event targets as parameters.
- Added nomad flag to the create_title effect.
- Added effect convert_to_nomad and convert_to_fort.
- Added flags ai_fabricate_claims to religion groups.
- Added flags attacking_same_religion_piety_loss and uses_decadence to religions. Decadence will be used if the religion AND government of a character is scripted to use decadece.
- Added flags hire_cost and maintenance_multiplier to retinue subunits.
- Added event scopes [strongest/weakest]_clan_vassal, [strongest/weakest]_clan, [strongest/weakest]_clan_vassal_except_me and [strongest/weakest]_clan_except_me, determined by the number of empty holdings they hold.
- Added event scopes [most/least]_prestigious_clan_vassal, [most/least]_prestigious_clan, [most/least]_prestigious_clan_vassal_except_me and [most/least]_prestigious_clan_except_me.
- Added event scopes [most/least]_populous_clan_vassal, [most/least]_populous_clan, [most/least]_populous_clan_vassal_except_me and [most/least]_populous_clan_except_me.
- Added triggers clan_satisfaction, total_manpower, unused_manpower, raised_manpower, max_manpower, manpower_growth, population, max_population, population_growth, population_and_manpower, max_population_and_manpower and population_and_manpower_growth.
- Added effects manpower and population.
- Added trigger uses_decadence.
- Added nand-trigger.
- Not-triggers will now do a script assert if it contains more than one trigger (where the use of nand- and nor-triggers are recommended to be used instead), but will work as previously.
- Added trade_post_has_building and trade_post_has_any_building triggers.
- Added trigger is_settlement_type_allowed.
- Added effects create_fort, destroy_fort, seize_fort, random_fort and any_fort.
- Added triggers any_fort, num_of_forts, num_of_forts_diff, has_fort, fort_has_building and fort_has_any_building.
- Added event scope trade_post_owner.
- Added trigger has_castle, has_temple, has_city and has_tribal.
- Added trigger has_settlement_construction.
- Added triggers is_[law/government/decision/targetted_decision/title_decision/settlement_decision/trade_post_decision/fort_decision]_[allowed/potential].
- Added triggers num_of_[subrealm/demesne]_[castles/cities/temples/tribes/empty_provinces].
- Added trigger holding_diff.
- Added effects set_title_landless, set_title_adventurer and set_title_nomad.
- Added forbidden_raid_target opinion modifier, which disallows looting against that character.
- Job action script can now properly use the various job title event scopes.
- Added triggers has_feud_with and any_feud_rival_clan.
- Added triggers clan_opinion, reverse_clan_opinion, their_clan_opinion, clan_opinion_diff and reverse_clan_opinion_diff.
- Added is_high_prio flag to minor titles, determining whether an alert should be shown or not if that title is available to grant.
- Added triggers num_of_king_titles_in_realm, num_of_duke_titles_in_realm, num_of_count_titles_in_realm, num_of_baron_titles_in_realm, num_of_titles_in_realm.
- Added effect unsafe_give_minor_title.
- Added modifiers clan_sentiment, max_manpower, max_manpower_mult, max_population, max_population_mult, manpower_growth and population_growth, currently applicable on characters and the capital.
- Added modifiers retinue_maintenence_cost and horde_maintenence_cost, currently applicable on characters, family palaces and the capital.
- Added is_active_trigger to buildings. Any modifier from buildings that are not considered active will not apply until the is_active_trigger is properly validated.
- Added modifier global_winter_supply, currently applicable on the capital.
- commander_limit can now be scripted in buildings for capital settlements, increasing the number of commanders a ruler can have.
- moved_capital_months_mult can now be scripted for capital buildings and modifies the delay for how often one can change capital, if their government allows for more frequent switching than once per lifetime.
- The set_defacto_liege effect now works on titles as well.
- Added on_actions on_battle_won_owner and on_battle_lost_owner.
- Added modifiers global_trade_route_wealth, global_trade_route_value, global_tradevalue and global_tradevalue_mult, applicable on the capital of holders of a trade post.
- Trade post buildings will now also have an effect in the capital settlement, not only the family palace.
- Fixed bug where the targetted decision filters realm and sub_realm did not properly check the court of the top liege or the current character.
- Added trigger religion_allows_female_temple_holders.
- The spawn_unit effect will now spawn units on any other unit if there is no other valid location (instead of not spawning the units at all).

So, modders delight! What else have I got for you? Well, here's a selection off the top of my head...
  • You can now, at any time, move prisoners between the Oubliette, House Arrest and the Dungeon.
  • Banishment of landed characters has been changed so that they are only forced to abdicate to their current heir. You no longer get to seize all of their titles.
  • Tribal counties are now more viable targets for raiding (there is more loot there)
  • The names of opinion modifiers are shown in effect tooltips (instead of just "Opinion Changes by -10", etc)

That is it for now... More to come next week!
 
Unless Tibet is supposed to play just like one of already existing factions, then adding it, and the necessary flavor, would make the expansion too expensive so it will have to wait.
Maybe, but it still doesn't make sense from a 'believable worlds' perspective. Doing an expansion set in 8th century Central Asia and not having Tibet is like making Europa Universalis without Burgundy.
The only consolation is that (sadly) the Tibetan empire broke up in the mid 9th century so for most of the game's timeline things are fine.
 
If anything they'll have to make it even worse.
I doubt they will. They got away with it up until now because unless you know the Steppe's geography well, you won't even notice the map is that distorted. But when they add China it'll become so blatantly obvious. Especially if they add Korea which would long be east-west instead of north-south.
 
They'd likely have to make the map from scratch then.
 
I'd imagine you could fix a lot of it through distorting the image. And anyway, even if they did have to remake the distorted parts, only the very Eastern part of the map is distorted. Europe and the Middle East are fine.
They really had to alter Europe a bit back for RoI (Iceland's kind of in the wrong place), so it's likely that they would have to do it for China as well.
 
They really had to alter Europe a bit back for RoI (Iceland's kind of in the wrong place), so it's likely that they would have to do it for China as well.
Why did they even distort it in the first place for ROI? It makes no sense.

Oh and speaking of Iceland, is anyone else annoyed by the fact that Iceland isn't on the mini-map? It really bugs me.
 
  • 1
Reactions:
They have a choice of having China horribly distorted, Europe horribly distorted, or both somewhat distorted. When you project a significant portion of a globe onto a plane, you're always going to have distortion somewhere.
 
  • 8
Reactions:
They have a choice of having China horribly distorted, Europe horribly distorted, or both somewhat distorted. When you project a significant portion of a globe onto a plane, you're always going to have distortion somewhere.
I have a map in my room now that isn't horribly distorted in size or shape. It is possible, although you'll always have a small bit of distortion.
 
  • 4
  • 1
Reactions:
I have a map in my room now that isn't horribly distorted in size or shape. It is possible, although you'll always have a small bit of distortion.
Small bit? You always have either mercator's or gauss' projection (these are the two best ones) and both have really terrible disortion. It's an inherent problem in trying to project a globe on a flat surface.

Go on google maps and check the diffrence between map view and google earth.
 
  • 3
Reactions:
They have to fit the map in a certain resolution, however, so they kind of have to distort things. They could also upgrade the engine, however. :p
 
I have a map in my room now that isn't horribly distorted in size or shape. It is possible, although you'll always have a small bit of distortion.

Pretty sure the Africa on your map is not as Gigantic it should be represented.
 
  • 2
Reactions:
Pretty sure the Africa on your map is not as Gigantic it should be represented.
Well actually africa is not distorted it's europe that is distorted to be more massive. But relativly spekaing you're right, all of europe fits in the democratic republic of kongo.
 
  • 3
Reactions:
Well I may have under-exaggerated the distortion but it's nothing like China facing north, Russia twisting upwards, and Korea being horizontal.
Pretty sure the Africa on your map is not as Gigantic it should be represented.
It looks like it can fit Europe, China and maybe the US altogether. The India on my map is far bigger than the India ingame too(which is ridiculously small).
 
They have a choice of having China horribly distorted, Europe horribly distorted, or both somewhat distorted. When you project a significant portion of a globe onto a plane, you're always going to have distortion somewhere.
Unless you actually have the game map on threedimensional sphere. But that'd ramp up the graphics requirements massivly.
 
Umm no. Europe is 10,180,000 km², Dem. Rep. of Congo is 2,345,409 km².
Oh... sunk by my own hyperbole again it seems. Well europe is way to larger on mercator maps than it should be is the important point.