Vic3ToHoI4
Vic3ToHoI4 copied to clipboard
Converts Victoria 3 games to Hearts of Iron 4 mods
Vic2 to HoI4 has some clever linguistics code and scripting. Borrow it for here.
game_weight_can_add_fascist, game_weight_can_add_democratic, game_weight_can_add_unaligned, and game_weight_can_add_communist all use a known existing tag. This will need to be dynamic once country mappings exist.
Use https://github.com/ParadoxGameConverters/Vic2ToHoI4/pull/1476 for inspiration. Open new issues to break this into sub-tasks as much as possible, otherwise it'll be a beast to write and review.
Vic2 to HoI4 made them bilateral guarantees plus bilateral non-aggression pacts
It's currently hard-coded based on provinces owned. If possible this should be based on Vic3 production levels. It should also allow for knowing when to create resource prospecting decisions, though...
Instead of purely proportional, give preference to the capital.
See https://github.com/ParadoxGameConverters/Vic3ToHoI4/issues/60 for some stats that suggest we shouldn't, but double-check if it'd add anything to handle the exceptions.
Once its not needed to start wars.
Clear out the game rules as needed. Can be static for now, but should eliminate references to specific countries.