Skip to content

Commit

Permalink
Fixes and Updates for the 0.4 (compatible 1.4.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolferos committed Aug 21, 2017
1 parent 39557f9 commit 9009b56
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 58 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -67,7 +75,6 @@ THE FOLLOWING PEOPLE ALSO CONTRIBUTED ON THE PROJECT
- Seonake
- Benoît (Mundus Bellicus)
- Darksaber501st
- DevilIris
- lahvan
- Mixmaximonster
- tihhoni
Expand Down
2 changes: 1 addition & 1 deletion mod/TheGreatWar.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ tags={
}
picture="tgw_picture.png"
remote_file_id="699709023"
supported_version="1.4.1"
supported_version="1.4.2"
7 changes: 7 additions & 0 deletions mod/thegreatwar/common/defines/00_defines.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand 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
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
106 changes: 53 additions & 53 deletions mod/thegreatwar/common/national_focus/belgium.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 = { }

Expand All @@ -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 = { }

Expand All @@ -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={
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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 = { }
Expand All @@ -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 = { }
Expand All @@ -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
Expand All @@ -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 = {
Expand All @@ -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 }
Expand All @@ -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
Expand All @@ -197,35 +197,35 @@ 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 }

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
Expand All @@ -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
Expand All @@ -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 }
Expand All @@ -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
Expand All @@ -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 = {
Expand Down Expand Up @@ -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 = {
Expand All @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion mod/thegreatwar/events/WW1_Frankfurt.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Beta 0.3
# Beta 0.3

add_namespace = ww1_frankfurt

Expand Down
Binary file modified mod/thegreatwar/gfx/interface/pdx_int_logo.dds
Binary file not shown.

0 comments on commit 9009b56

Please sign in to comment.