Giter Site home page Giter Site logo

hoi4moddingpythonscripts's Introduction

HoI4ModdingPythonScripts

Various useful Python scripts to automate some tedious parts of Hearts of Iron 4 modding. Written in Python 2.7 (python2 folder) and Python 3.5 (python3 folder).

Readmes and usage instructions are included as comments in .py source files.

Python 2.7 scripts may work on Python 3.* but that is not guaranteed. Same goes for the other way around.

Scripts included:

  • hoi4transfertechsegen.py - HoI 4 Transfer Technology scripted effect generator - generates a transfer_technology scripted effect, which grants all technologies researched by one country to another.
  • hoi4localisationadder.py - HoI 4 Localisation Adder - adds empty localisation entries from a given event, national_focus or idea file.
  • hoi4focusgfxentry.py - HoI 4 Focus GFX entry generator - adds GFX entries from national_focus files.
  • DHtoHoi4MinisterConverter.pt - HoI Darkest Hour minister to HoI4 idea converter - converts Hearts of Iron Darkest Hour minister files to Hearts of Iron IV ideas, following a format specified by HoI4 Darkest Hour mod by Algerian General. Handles Unicode characters.
  • hoi4ideagfxentry.py - Idea GFX entry generator- generates idea GFX entries for all ideas in a given file.
  • hoi4fileformatter.py - Indents files for readability and consistency.
  • USAElectionGenerator.py - Generates events simulating first-past-the-post elections (US style) using a .csv spreadsheet.
  • hoi4statemapgenerator.py - Generates an image file of a map with every state/strategic region having a separate color and ID. Examples: Vanilla: https://cdn.discordapp.com/attachments/463044308002406402/465588079579758602/out.png EaW: https://cdn.discordapp.com/attachments/463044308002406402/465591100237676554/out.png
  • focusgfxshine.py - Given a goals GFX file, add all missing shine entries to the goals_shine GFX file.

MIT license (LICENSE) applies to every file in this repository.

hoi4moddingpythonscripts's People

Contributors

yard1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.