MetalStormGhost b671d520c9
Cold War assets mod v1.2 support (#482)
* Implemented support for the Cold War assets mod (ex Tu-16) v1.0 by tripod3

* Rename     resources/ui/units/aircrafts/banners/Tu-16.jpg (from resources/ui/units/aircrafts/banners/Tu_16.jpg)
Rename     resources/ui/units/aircrafts/banners/Tu-4K.jpg (from resources/ui/units/aircrafts/banners/Tu_4K.jpg)
Rename     resources/ui/units/aircrafts/icons/Tu-16_24.jpg (from resources/ui/units/aircrafts/icons/Tu_16_24.jpg)
Rename     resources/ui/units/aircrafts/icons/Tu-4K_24.jpg (from resources/ui/units/aircrafts/icons/Tu_4K_24.jpg)

Also added coldwarassets handling in ModSettings() call.

* Added a DEAD loadout for the Tu-22KD.

* Updated Cold War assets mod by tripod3 support to v1.2

* Modified   pydcs_extensions/coldwarassets/coldwarassets.py
Modified   resources/units/aircraft/B_47.yaml

* Modified   qt_ui/windows/newgame/WizardPages/QGeneratorSettings.py

* Added      resources/units/aircraft/Yak_28.yaml

* Added banners, icons, loadouts and unit yamls by Biggus for new Cold War Assets added in mod version 1.2.

* Removed the Tu-128 Fiddler from soviet_union_1965.json because the Tu-128M variant is a 1979 modernization.

* Remove CAS & Armed Recon from Yak-28

* Fix typo

* Add BAI & DEAD to Tu-4K

---------

Co-authored-by: Raffson <Raffson@users.noreply.github.com>
2025-03-29 20:09:58 +00:00
..

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