Closed royfalk closed 2 years ago
@royfalk @ermo we need something similar for PWCU
@royfalk @ermo we need something similar for PWCU
Simply run convert.py (weapon_list.xml) and parser.py (units.csv) and it will generate it for you.
Assuming the
weapons.json
is correct.
I did not run a complete comparison of the two, but I did spot check and they seem identical. Also, the script is pretty simple so I don't see a lot of places where it can go wrong.
@royfalk @ermo we need something similar for PWCU
Simply run convert.py (weapon_list.xml) and parser.py (units.csv) and it will generate it for you.
Yeah, I'm working on the units conversion as we speak.
Here's the draft pull request for the units conversion for PWCU: https://github.com/pwcu/privateer_wcu/pull/9
Including generating script and actual file. Note that this change and the previous one to units will break Wing Commander.
Code Changes:
Issues: