From 9009b56eb3ce377dae9d9817918ccfe6f4e5e34e Mon Sep 17 00:00:00 2001 From: Geoffrey Date: Mon, 21 Aug 2017 11:24:22 +0200 Subject: [PATCH] Fixes and Updates for the 0.4 (compatible 1.4.2) --- README.md | 13 ++- mod/TheGreatWar.mod | 2 +- mod/thegreatwar/common/defines/00_defines.lua | 7 ++ .../common/national_focus/belgium.txt | 106 +++++++++--------- mod/thegreatwar/events/WW1_Frankfurt.txt | 2 +- .../gfx/interface/pdx_int_logo.dds | Bin 184128 -> 184128 bytes 6 files changed, 72 insertions(+), 58 deletions(-) diff --git a/README.md b/README.md index 55b629713..952a03cf7 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,9 @@ **Project Lead:** Wolferos -**Current Version:** 0.3.2 +**Current Version:** 0.4 -**Compatible with:** Hearts of Iron IV 1.4.1 "Oak"(with or without Paid DLC) +**Compatible with:** Hearts of Iron IV 1.4.2 "Oak"(with or without Paid DLC) **Supported Languages:** - English Language @@ -58,6 +58,14 @@ THE FOLLOWING PEOPLE ALSO CONTRIBUTED ON THE PROJECT - Dizzle - Kaiser Anony + - DevilIris + - skullbe + - Kuebelwagen + - Stluvik + - M3Henry + - fedcba + - MrBlazzar + - Citofis - Jadasong - Zkuhh - Vale @@ -67,7 +75,6 @@ THE FOLLOWING PEOPLE ALSO CONTRIBUTED ON THE PROJECT - Seonake - Benoît (Mundus Bellicus) - Darksaber501st - - DevilIris - lahvan - Mixmaximonster - tihhoni diff --git a/mod/TheGreatWar.mod b/mod/TheGreatWar.mod index c44f4e2bf..85e5951b2 100755 --- a/mod/TheGreatWar.mod +++ b/mod/TheGreatWar.mod @@ -8,4 +8,4 @@ tags={ } picture="tgw_picture.png" remote_file_id="699709023" -supported_version="1.4.1" +supported_version="1.4.2" diff --git a/mod/thegreatwar/common/defines/00_defines.lua b/mod/thegreatwar/common/defines/00_defines.lua index 4c3897c08..c7980fe69 100755 --- a/mod/thegreatwar/common/defines/00_defines.lua +++ b/mod/thegreatwar/common/defines/00_defines.lua @@ -295,6 +295,7 @@ NBuildings = { ROCKETSITE_CAPACITY_MULT = 100, -- Each level of rocketsite building multiplied by this, gives capacity (max operational value). Value is int. 1 for each rocket. NAVALBASE_CAPACITY_MULT = 10.0, -- Each level of navalbase building multiplied by this, gives max capacity. Value is float. Each ship takes port_capacity_usage space. NAVALBASE_REPAIR_MULT = 0.075, -- Each level of navalbase building repairs X strength. The value is spread on all ships needed reparation. Fe Navalbase lvl 5 x 0.5 str repair = 2.5 str repaired over 10 ships, so each ship repair hourly 0.25 str. + RADAR_RANGE_BASE = 20, -- Radar range base, first level radar will be this + min, best radar will be this + max RADAR_RANGE_MIN = 20, -- Radar range (from state center to province center) in measure of map pixels. Exluding techs. RADAR_RANGE_MAX = 220, -- Range is interpolated between building levels 1-15. RADAR_INTEL_EFFECT = 40, -- Province covered by radar increases intel by 10 (where 255 is max). Province may be covered by multiple radars, then the value sums up. @@ -772,6 +773,8 @@ NNavy = { NAVAL_INVASION_PREPARE_HOURS = 168, -- base hours needed to prepare an invasion NAVAL_COMBAT_RESULT_TIMEOUT_YEARS = 2, -- after that many years, we clear the naval combat results, so they don't get stuck forever in the memory. NAVAL_TRANSFER_BASE_SPEED = 6, -- base speed of units on water being transported + NAVAL_TRANSFER_BASE_NAVAL_DIST_ADD = 100, -- Extra cost for naval movement ( compared to land movement ) when deciding what ports to use for a naval transfer + NAVAL_TRANSFER_BASE_NAVAL_DIST_MULT = 20, -- Multiplier for the cost of naval movement ( compared to land movement ) when deciding what ports to use for naval transfer NAVY_VISIBILITY_BONUS_ON_RETURN_FOR_REPAIR = 0.9, -- Multiplier for the surface/sub visiblity when the heavily damaged fleet is returning to the home base for reparation. 1.0 = no bonus. 0.0 = invisible. NAVAL_SUPREMACY_INTEL_LOW = 0.3, -- we need more intel than this to get any supremacy NAVAL_SUPREMACY_CAN_INVADE = 0.5, -- required naval supremacy to perform invasions on an area @@ -977,6 +980,9 @@ NAI = { SUPPLY_CRISIS_LIMIT = 0.9, -- If a unit is standing in an area with + MAX_ALLOWED_NAVAL_DANGER = 80, -- AI will ignore naval paths that has danger value of above this threshold while assigning units + TRANSFER_DANGER_HOSTILE_SHIPS = 50, -- max danger from complete enemy naval supriority over ai in an area + FASCISTS_BEFRIEND_FASCISTS = 10, FASCISTS_BEFRIEND_DEMOCRACIES = -25, FASCISTS_BEFRIEND_COMMUNISTS = -25, @@ -1013,6 +1019,7 @@ NAI = { DIPLOMACY_FACTION_CIVILWAR_WANTS_HELP = -50, FACTION_UNSTABLE_ACCEPTANCE = -100, DIPLOMACY_AT_WAR_WITH_ALLY_RELUCTANCE = -1000, + DIPLOMACY_FACTION_JOIN_COUP_INITIATOR_BONUS = 70, -- If a country initiated coup on an another country, civil war revolter is more likely to join initiator's faction CALL_ALLY_WT_LIMIT = 0.8, -- fascists are hesitant to call allies if tension is lower than this CALL_ALLY_FASCIST_DESIRE_WT = -60, -- less desire if we are below the tension limit diff --git a/mod/thegreatwar/common/national_focus/belgium.txt b/mod/thegreatwar/common/national_focus/belgium.txt index f455de8ba..f35f1a85a 100644 --- a/mod/thegreatwar/common/national_focus/belgium.txt +++ b/mod/thegreatwar/common/national_focus/belgium.txt @@ -6,7 +6,7 @@ focus_tree = { #####Political#### focus = { - id = political_effort + id = BEL_political_effort icon = GFX_goal_generic_demand_territory completion_reward = { add_political_power=120 } cost = 10 @@ -16,8 +16,8 @@ focus_tree = { } focus = { - id = collectivist_ethos - prerequisite = { focus=political_effort } + id = BEL_collectivist_ethos + prerequisite = { focus=BEL_political_effort } icon = GFX_goal_generic_alliance available = { } @@ -26,13 +26,13 @@ focus_tree = { cost = 10 x = 2 y = 1 - mutually_exclusive = { focus=ww1_sovereignist_ethos } + mutually_exclusive = { focus=BEL_ww1_sovereignist_ethos } ai_will_do = { factor = 0 } } focus = { - id = nationalism_focus - prerequisite = { focus=collectivist_ethos } + id = BEL_nationalism_focus + prerequisite = { focus=BEL_collectivist_ethos } icon = GFX_goal_support_fascism available = { } @@ -42,12 +42,12 @@ focus_tree = { cost = 10 x = 0 y = 2 - mutually_exclusive = { focus=internationalism_focus } + mutually_exclusive = { focus=BEL_internationalism_focus } } focus = { - id = internationalism_focus - prerequisite = { focus=collectivist_ethos } + id = BEL_internationalism_focus + prerequisite = { focus=BEL_collectivist_ethos } icon = GFX_goal_support_communism available = { OR={ @@ -68,25 +68,25 @@ focus_tree = { cost = 10 x = 2 y = 2 - mutually_exclusive = { focus=nationalism_focus } + mutually_exclusive = { focus=BEL_nationalism_focus } } focus = { - id = ww1_sovereignist_ethos - prerequisite = { focus=political_effort } + id = BEL_ww1_sovereignist_ethos + prerequisite = { focus=BEL_political_effort } icon = GFX_goal_anschluss available = { } completion_reward = { add_political_power=100 } cost = 10 x = 4 y = 1 - mutually_exclusive = { focus=collectivist_ethos } + mutually_exclusive = { focus=BEL_collectivist_ethos } ai_will_do = { factor = 0 } } focus = { - id = militarism - prerequisite = { focus=nationalism_focus } + id = BEL_militarism + prerequisite = { focus=BEL_nationalism_focus } icon = GFX_goal_generic_political_pressure completion_reward = { if={ limit={ has_idea=neutrality_idea } remove_ideas=neutrality_idea } add_ideas=militarism_focus army_experience=20 set_rule={ can_send_volunteers=yes } } cost = 10 @@ -96,8 +96,8 @@ focus_tree = { } focus = { - id = political_correctness - prerequisite = { focus=internationalism_focus } + id = BEL_political_correctness + prerequisite = { focus=BEL_internationalism_focus } icon = GFX_goal_generic_dangerous_deal completion_reward = { if={ limit={ has_idea=neutrality_idea } remove_ideas=neutrality_idea } add_political_power=200 add_ideas=idea_political_correctness } cost = 10 @@ -107,8 +107,8 @@ focus_tree = { } focus = { - id = ww1_monarchy - prerequisite = { focus=ww1_sovereignist_ethos } + id = BEL_ww1_monarchy + prerequisite = { focus=BEL_ww1_sovereignist_ethos } icon = GFX_goal_generic_territory_or_war available = { } @@ -119,13 +119,13 @@ focus_tree = { cost = 10 x = 4 y = 2 - mutually_exclusive = { focus=ww1_democracy } + mutually_exclusive = { focus=BEL_ww1_democracy } ai_will_do = { factor = 0 } } focus = { - id = ww1_democracy - prerequisite = { focus=ww1_sovereignist_ethos } + id = BEL_ww1_democracy + prerequisite = { focus=BEL_ww1_sovereignist_ethos } icon = GFX_goal_support_democracy available = { } @@ -136,13 +136,13 @@ focus_tree = { cost = 10 x = 6 y = 2 - mutually_exclusive = { focus=ww1_monarchy } + mutually_exclusive = { focus=BEL_ww1_monarchy } ai_will_do = { factor = 0 } } focus = { - id = military_youth - prerequisite = { focus=militarism } + id = BEL_military_youth + prerequisite = { focus=BEL_militarism } icon = GFX_goal_generic_more_territorial_claims completion_reward = { add_ideas=military_youth_focus if={ limit={ has_government=fascism } add_popularity={ ideology=fascism popularity=0.2 } } if={ limit={ has_government=communism } add_popularity={ ideology=communism popularity=0.2 } } } cost = 10 @@ -152,8 +152,8 @@ focus_tree = { } focus = { - id = ww1_centralizedpower - prerequisite = { focus=ww1_monarchy } + id = BEL_ww1_centralizedpower + prerequisite = { focus=BEL_ww1_monarchy } icon = GFX_goal_molotov_ribbentrop_pact completion_reward = { @@ -170,8 +170,8 @@ focus_tree = { } focus = { - id = ww1_freespeech - prerequisite = { focus=ww1_democracy } + id = BEL_ww1_freespeech + prerequisite = { focus=BEL_ww1_democracy } icon = GFX_goal_generic_propaganda completion_reward = { add_tech_bonus={ name=industrial_bonus bonus=0.15 uses=1 category=industry } add_political_power=50 } @@ -183,8 +183,8 @@ focus_tree = { } focus = { - id = ww1_reorganization_act - prerequisite = { focus=ww1_centralizedpower focus=ww1_freespeech } + id = BEL_ww1_reorganization_act + prerequisite = { focus=BEL_ww1_centralizedpower focus=BEL_ww1_freespeech } icon = GFX_goal_generic_production2 x = 5 y = 4 @@ -197,20 +197,20 @@ focus_tree = { } focus = { - id = ww1_limited_rearmament - prerequisite = { focus=ww1_reorganization_act } + id = BEL_ww1_limited_rearmament + prerequisite = { focus=BEL_ww1_reorganization_act } icon = GFX_goal_generic_consumer_goods completion_reward = { army_experience=10 add_political_power=100 } cost = 10 x = 4 y = 5 - mutually_exclusive = { focus=ww1_full_rearmament } + mutually_exclusive = { focus=BEL_ww1_full_rearmament } ai_will_do = { factor = 10 } } focus = { - id = ww1_full_rearmament - prerequisite = { focus=ww1_reorganization_act } + id = BEL_ww1_full_rearmament + prerequisite = { focus=BEL_ww1_reorganization_act } icon = GFX_goal_generic_build_tank completion_reward = { army_experience=20 add_political_power=50 } @@ -218,14 +218,14 @@ focus_tree = { cost = 10 x = 6 y = 5 - mutually_exclusive = { focus=ww1_limited_rearmament } + mutually_exclusive = { focus=BEL_ww1_limited_rearmament } ai_will_do = { factor = 10 } } focus = { - id = paramilitarism - prerequisite = { focus=military_youth } + id = BEL_paramilitarism + prerequisite = { focus=BEL_military_youth } icon = GFX_goal_generic_military_sphere completion_reward = { add_ideas=paramilitarism_focus } cost = 10 @@ -235,8 +235,8 @@ focus_tree = { } focus = { - id = indoctrination_focus - prerequisite = { focus=political_correctness } + id = BEL_indoctrination_focus + prerequisite = { focus=BEL_political_correctness } icon = GFX_goal_generic_propaganda completion_reward = { add_ideas=indoctrination_focus add_political_power=150 } cost = 10 @@ -246,8 +246,8 @@ focus_tree = { } focus = { - id = political_commissars - prerequisite = { focus=indoctrination_focus } + id = BEL_political_commissars + prerequisite = { focus=BEL_indoctrination_focus } icon = GFX_goal_generic_forceful_treaty available = { } completion_reward = { add_ideas=political_commissars_focus if={ limit={ has_government=fascism } add_popularity={ ideology=fascism popularity=0.2 } } if={ limit={ has_government=communism } add_popularity={ ideology=communism popularity=0.2 } } add_political_power=200 } @@ -258,8 +258,8 @@ focus_tree = { } focus = { - id = ww1_unitedpeople - prerequisite = { focus=ww1_limited_rearmament focus=ww1_full_rearmament focus=paramilitarism focus=political_commissars } + id = BEL_ww1_unitedpeople + prerequisite = { focus=BEL_ww1_limited_rearmament focus=BEL_ww1_full_rearmament focus=paramilitarism focus=political_commissars } icon = GFX_goal_generic_demand_territory completion_reward = { add_political_power=50 @@ -274,8 +274,8 @@ focus_tree = { } focus = { - id = ww1_massive_effort - prerequisite = { focus=ww1_unitedpeople } + id = BEL_ww1_massive_effort + prerequisite = { focus=BEL_ww1_unitedpeople } icon = GFX_goal_generic_construction completion_reward = { @@ -305,12 +305,12 @@ focus_tree = { } focus = { - id = ww1_fortify_city - prerequisite = { focus = ww1_massive_effort } + id = BEL_ww1_fortify_city + prerequisite = { focus = BEL_ww1_massive_effort } icon = GFX_goal_generic_fortify_city x = 2 y = 8 - mutually_exclusive = { focus=ww1_fortify_coast } + mutually_exclusive = { focus=BEL_ww1_fortify_coast } cost = 10 completion_reward = { @@ -327,12 +327,12 @@ focus_tree = { } focus = { - id = ww1_fortify_coast - prerequisite = { focus = ww1_massive_effort } + id = BEL_ww1_fortify_coast + prerequisite = { focus = BEL_ww1_massive_effort } icon = GFX_goal_generic_construct_military x = 4 y = 8 - mutually_exclusive = { focus=ww1_fortify_city } + mutually_exclusive = { focus=BEL_ww1_fortify_city } cost = 10 completion_reward = { diff --git a/mod/thegreatwar/events/WW1_Frankfurt.txt b/mod/thegreatwar/events/WW1_Frankfurt.txt index 3617545d1..bb97f0c27 100644 --- a/mod/thegreatwar/events/WW1_Frankfurt.txt +++ b/mod/thegreatwar/events/WW1_Frankfurt.txt @@ -1,4 +1,4 @@ -# Beta 0.3 +# Beta 0.3 add_namespace = ww1_frankfurt diff --git a/mod/thegreatwar/gfx/interface/pdx_int_logo.dds b/mod/thegreatwar/gfx/interface/pdx_int_logo.dds index c3044fe680effe7f689b25e86482d144bada57d2..100b805b4e3f8bef1eeeeec57ea10176a1f73db1 100644 GIT binary patch delta 1576 zcmZWpZD^BM6z(|^O;$y_Ccddr`=jlQTCrKw$r^3ZQbpX_7!>^M{OGz?(dvW^+-yNX z{3FXETm)@FS%s<0(z45@XrPMzi$6pZ{0RGDm7;ZHPDaJm8a72SjEJGf`To;S>PV<0(b>H0)7K_1Hn{pd{1B*tT(`DKKgp& zb4g$Nh&xH-JcN&Js=b*Vl?n3{-``k&4|pK4-4lTIST%;(>FbY&Nhjv;ca}FEUrwvW zFF8uTs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