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

Commit

Permalink
New tech mappings & converted units have equipment factor 0.7 (#580)
Browse files Browse the repository at this point in the history
* new Stability & War support conversion

* Stability based on militancy, war support on war related matters

* dont convert stability

* New tech mappings

* convert units with 70% equipment
  • Loading branch information
Johuotar authored and Idhrendur committed Jun 9, 2018
1 parent 7803c33 commit 9b5901a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
21 changes: 18 additions & 3 deletions Vic2ToHoI4/Data_Files/tech_mapping.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ tech_map =
vic2 = flintlock_rifles
infantry_weapons = 1
gw_artillery = 1
tech_support = 1
early_destroyer = 1
early_light_cruiser = 1
early_heavy_cruiser = 1
Expand All @@ -51,20 +52,27 @@ tech_map =
# HoI4 Infantry Equipment I <- Vic2 Invention Army/Light Armament/Modern Divisional Structure/Interwar Cavalry
link = {
vic2 = interwar_cavalry
infantry_weapons1 = 1
infantry_weapons1 = 1
tech_recon = 1
}

# HoI4 Support Weapons I <- Vic2 Invention Army/Light Armament/Modern Divisional Structure/Interwar Infantry
link = {
vic2 = interwar_infantry
support_weapons = 1
tech_engineers = 1
}

# HoI4 Marines I <- Vic2 Invention Navy/Naval Leadership/Modern Naval Training/Amphibious Warfare Training
link = {
vic2 = amphibious_warfare_training
marines = 1
}
}

link = {
vic2 = armoured_cars
motorised_infantry = 1
}

# =========================
# === HOI4 ARMOR FOLDER ===
Expand Down Expand Up @@ -96,7 +104,14 @@ tech_map =
link = {
vic2 = heavy_artillery
interwar_artillery = 1
}
}

link = {
vic2 = improved_anti_aircraft_artillery
interwar_antiair = 1
}



# ========================
# === HOI4 NAVY FOLDER ===
Expand Down
1 change: 1 addition & 0 deletions Vic2ToHoI4/Source/HOI4World/HoI4Army.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ std::ostream& HoI4::operator << (std::ostream& out, const HoI4::DivisionType& di
out << "\t\tlocation = " << division.location << "\n";
out << "\t\tdivision_template = \"" << division.type << "\"\n";
out << "\t\tstart_experience_factor = 0.3\n";
out << "\t\tstart_equipment_factor = 0.7\n";
out << "\t}\n";

return out;
Expand Down

0 comments on commit 9b5901a

Please sign in to comment.