From 4446883e88f1617a72ef50b543ca6cabf50e5587 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sun, 7 Jun 2020 21:01:08 +0300 Subject: [PATCH] Updated Military Forces (markdown) --- Military-Forces.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Military-Forces.md b/Military-Forces.md index 9e1c2da..ebb40bd 100644 --- a/Military-Forces.md +++ b/Military-Forces.md @@ -8,6 +8,8 @@ Regiments are displayed as state-colored boxes in a separate layer called _Milit To be updated... ## Generation logic +Fantasy Map Generator regiments creation logic is pretty advanced and considers different aspects such as state diplomacy, type, culture and religion, cell biome and elevation, as well as military unit specific. + For each state _War Alert_ is getting calculated. It shows how much state is willing to wage a war. War Alert acts as a modifier to all military forces of the state. For example if state has 1000 infantry generated and War Alert is 2, total infantry number will be 2000. War Alert rate is a combination of _Expansion Fulfillment_ (State Expansionism / State Area) and _Diplomatic alert_ (rate of diplomatic relations). It means that expansionist states with relatively small area get higher War Alert rate than big states will moderate expansionism. Diplomatic alert is a sum of relations rates, where bad relations increase the value, while good decrease it. Diplomatic alert is calculated separately for neighboring and all states, so relations with neighbors have more impact on War Alert. Diplomatic relations modifiers are: `Ally: -0.2, Friendly: -0.1, Neutral: 0, Suspicion: 0.1, Enemy: 1, Unknown: 0, Rival: 0.5, Vassal: 0.5, Suzerain: -0.5` @@ -61,6 +63,8 @@ Here are generic troops number for 10000 population if state modifier is 1 and s Please also note that _Naval_ units can be generated only in port burgs. +Troops for each cell and burg form a _platoon_. As number of platoons is too high, they are getting sorted by troops number and aggregated to _regiments_ based on distance between platoons and expected size. Regiment expected size is calculated by a simple formula of `3 * Population_rate`. If current regiment is big enough, new one is getting created. Then system generates names and a few details for regiments and place them on a map. + ## Military overview ![](https://cdn.discordapp.com/attachments/587406457725779968/719203701180596779/military_overview.png)