mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
* Added a pydcs extension for Swedish Military Assets for DCS by Currenthill v1.10 (2022-11-01). Also added shipmod decorator for the ships added in the mod and remove_ship function in faction.py * Added unit yamls for Swedish Military Assets for DCS by Currenthill v1.10 (2022-11-01) * Added missing RBS-15 group yaml and Ag 90 Sniper Team unit yaml. * Fixed swedishmilitaryassetspack imports. * Renamed some unit yamls for Swedish Military Assets pack. * Encoded LvKv9040.yaml in UTF-8. * Encoded Grkpbv90.yaml in UTF-8. * Encoded BV410*.yaml in UTF-8. * Encoded CV9040.yaml in UTF-8. * Fixed Strv103 yaml syntax. * Encoded Strv2000.yaml in UTF-8. * Renamed some unit yamls for Swedish Military Assets pack. * Renamed BV410 air-defence units. * Added Swedish short-range air defence groups. * Added Swedish medium- and long-range air defence groups (LvS-103 batteries). * Added icons for some Swedish Military Assets units. * Added faction files for: sweden_1997 sweden_2020
In this folder are icons for the different units in DCS / DCS Retribution.
How were these retrieved :
- I took screenshoot of the units from the encyclopedia in DCS. If you want to add more pictures, please do the same, so that the units have the same background.
- Then resized all the image so that have static size. Aspect ratio is not perfect, but it's hard to notice on such small image.
import os
from PIL import Image
for img_name in os.listdir("."):
if os.path.isfile(img_name) and img_name.endswith(".png"):
print(img_name)
img = Image.open(img_name)
img = img.resize((64,24), Image.ANTIALIAS)
img.save('./out/' + img_name[:-4] + "_24.jpg")
You need PIL to run the script :
pip install PIL
If you want access to get my high res screenshoot, i still have them, but to reduce size and ram usage, i believe it's better to use super small jpg icons instead.
@Khopa