Skip to content
This repository has been archived by the owner on Mar 29, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/Vic2ToHoI4'
Browse files Browse the repository at this point in the history
Conflicts:
	.gitignore
  • Loading branch information
Idhrendur committed Jan 24, 2017
2 parents f366ba3 + 3945115 commit 1bc15f1
Show file tree
Hide file tree
Showing 806 changed files with 2,140 additions and 4,665 deletions.
7 changes: 4 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ V2ToHoI3.zip
*.sdf
*.VC.db
/EU4toV2/.vs/EU4ToV2/v14/.suo
/EU4toV2/.vs/Supercharger/EU4ToV2/codemap.dat
/EU4toV2/.vs/Supercharger/EU4ToV2/global_history.dat
/EU4toV2/.vs/Supercharger/EU4ToV2/workbench.dat
/Vic2ToHoI4/.vs/Supercharger/Vic2ToHoI4/codemap.dat
/Vic2ToHoI4/.vs/Supercharger/Vic2ToHoI4/global_history.dat
/Vic2ToHoI4/.vs/Supercharger/Vic2ToHoI4/workbench.dat
/Vic2ToHoI4/.vs/Vic2ToHoI4/v14/.suo
5 changes: 4 additions & 1 deletion Vic2ToHoI4/Data_Files/FAQ.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ A: You need to include the Vic2 mod from the EU4 to Vic2 converter to properly c
You should put the name of the mod's folder in the Vic2 Mods option, as with other mods.

Q: The converter crashes after no time with no errors and no log.txt (when running through the frontend). What went wrong?
A: You may need to install this if you are not on Windows 10: https://support.microsoft.com/en-us/kb/2999226
A: You may need to install this if you are not on Windows 10: https://support.microsoft.com/en-us/kb/2999226

Q: The flags on my units keep changing. What can I do about this?
A: This is an HoI4 bug, with a temporary solution here: https://forum.paradoxplaza.com/forum/index.php?threads/hoi4-dev-diary-squanching-them-bugs.995110/page-4#post-22333853
5 changes: 5 additions & 0 deletions Vic2ToHoI4/Data_Files/blankMod/output/ReadMe.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
The mod was generated by the Vic2 to HoI4 converter project: http://www.hoi4wiki.com/Victoria_2_to_Hearts_of_Iron_IV_converter

It uses elements of the following mods:
PDM
Increased Resources
130 changes: 75 additions & 55 deletions Vic2ToHoI4/Data_Files/blankMod/output/common/ai_strategy/default.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
# unit_base is the base value used for evaluating how important it is to deploy the various categories
# Written by Henrik "Groogy" Hansson
# Changed by Daniel "Da9L" Sj�berg

# befriend
# conquer
# antagonize
# build_ship
# build_army
# unit_ratio
# build_building
# research_tech
# garrison
# protect
# influence
# contain
# area_priority

default_unit_production = {
enable = {
always = yes
}
abort = {
always = no
}

ai_strategy = {
type = unit_base
Expand Down Expand Up @@ -48,13 +60,13 @@ default_unit_production = {
ai_strategy = {
type = unit_base
id = armor
value = 7
value = 20
}

ai_strategy = {
type = unit_base
id = infantry
value = 90 # Since all other values are 0 this means 100%
value = 75 # Since all other values are 0 this means 100%
}


Expand Down Expand Up @@ -86,55 +98,44 @@ default_unit_production = {
ai_strategy = {
type = equipment_production_factor
id = fighter
value = 125
value = 25
}

ai_strategy = {
type = equipment_production_factor
id = infantry
value = 35
value = 20
}
}


default_paratroopers_production = {
enable = {
ai_wants_divisions > 94
ai_wants_divisions > 12 #Massively decreasing the amount of paratroopers the AI wants
}
abort = {
ai_wants_divisions < 95
ai_wants_divisions < 13 #Massively decreasing the amount of paratroopers the AI wants
}

ai_strategy = {
type = unit_base
id = paratroopers
value = 2
}

ai_strategy = {
type = unit_base
id = infantry
value = -2
}
}

default_mountaineers_production = {
enable = {
ai_wants_divisions > 49
ai_wants_divisions > 24 #Decreasing the amount of mountaineers the AI wants
}
abort = {
ai_wants_divisions < 50
ai_wants_divisions < 25 #Decreasing the amount of mountaineers the AI wants
}

ai_strategy = {
type = unit_base
id = mountaineers
value = 3
}

ai_strategy = {
type = unit_base
id = infantry
value = -3
value = 1
}
}

Expand All @@ -161,23 +162,17 @@ default_marines_production = {

default_cavalry_production = {
enable = {
ai_wants_divisions > 49
ai_wants_divisions > 0 #Removing the amount of cavalry the AI wants
}
abort = {
ai_wants_divisions < 50
ai_wants_divisions < 1 #Removing the amount of cavalry the AI wants
}

ai_strategy = {
type = unit_base
id = cavalry
value = 3
}

ai_strategy = {
type = unit_base
id = infantry
value = -3
}
}

default_motorized_production = {
Expand All @@ -199,6 +194,7 @@ default_motorized_production = {
id = infantry
value = -4
}

}

default_mechanized_production = {
Expand Down Expand Up @@ -254,7 +250,7 @@ highered_armored_production = {
ai_strategy = {
type = unit_base
id = armor
value = 2
value = 5
}
}

Expand Down Expand Up @@ -290,14 +286,13 @@ slightly_naval_focused_nation = {

more_naval_focused_nation = {
enable = {

date > "1938.1.1"
date > "1941.1.1" #Delaying it by a couple of years
}

ai_strategy = {
type = unit_base
id = capital_ship
value = 1
value = 2 #1 to 2
}

ai_strategy = {
Expand All @@ -319,33 +314,58 @@ more_naval_focused_nation = {
}
}

less_naval_focused_nation = {

default_area_priority = {
enable = {

date < "1938.1.1"
}

ai_strategy = {
type = unit_base
id = capital_ship
value = -1
type = area_priority
id = europe
value = 100
}

ai_strategy = {
type = unit_base
id = submarine
value = -1
type = area_priority
id = north_america
value = 100
}

ai_strategy = {
type = unit_base
id = screen_ship
value = -1
type = area_priority
id = south_america
value = 50
}

ai_strategy = {
type = unit_base
id = convoy
value = -1
type = area_priority
id = asia
value = 75
}
}

ai_strategy = {
type = area_priority
id = middle_east
value = 50
}

ai_strategy = {
type = area_priority
id = africa
value = -25
}

ai_strategy = {
type = area_priority
id = pacific
value = 300
}

ai_strategy = {
type = area_priority
id = oceania
value = 80
}

}

38 changes: 38 additions & 0 deletions Vic2ToHoI4/Data_Files/blankMod/output/common/ideas/uncivilized.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
ideas = {
country = {
uncivilized = {
allowed = {
always = no
}

allowed_civil_war = {
always = yes
}

removal_cost = -1

research_bonus = {
armor = -4.00
air_equipment = -4.00
naval_equipment = -4.00
artillery = -4.00
}

modifier = {
production_factory_max_efficiency_factor = -0.2
research_time_factor = 1.00
political_power_factor = -0.50
unity_factor = -0.25
conscription = -0.01
industrial_capacity_factory = -0.30
production_speed_buildings_factor = -0.30
production_speed_bunker_factor = -0.30
army_org_factor = -0.50
army_defence_factor = -0.50
max_planning = -0.50
army_speed_factor = -0.40
army_infantry_attack_factor = -0.50
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,8 @@ ideologies = {
}
ai_neutral = yes #
}





communism = {

types = {
Expand Down
Loading

0 comments on commit 1bc15f1

Please sign in to comment.