kraut1 Posted January 19, 2022 Posted January 19, 2022 Hi, is it possible to define skins for selected planes for battles? maybe in the custom planes file: { "fighters_allied": [ "Bristol F.2B FII", "Bristol F.2B FIII", "Hurricane Mk.II", "I-16 Type 24", "La-5 Series 8", "La-5FN Series 2", "LaGG-3 Series 29", or in the maps file: "Channel": { "template": "CoopTemplate_CHANNEL", "theatre": "WW2_WEST", "fighters_allied": ["Spitfire Mk.VB", "Hurricane Mk.II", "P-40E-1"], "bombers_allied": ["A-20B"], "fighters_axis": ["Bf 109 E-7", "Bf 109 F-2", "Fw 190 A-3", "Bf 110 E-2"], "bombers_axis": ["He 111 H-6", "Ju 88 A-4", "Ju 87 D-3"], Best regards
SYN_Vander Posted January 19, 2022 Posted January 19, 2022 Not at the moment. I do maintain a global plane table with name, loadout options, default skins per country(code), default fuel, cruise speed, wingspan. Eg USA=103, but this is currently packed in the exe. PLANES = { "a20b": ["A-20B", {0:[0,1], 1:[2,1], 2:[5,101], 3:[0,1]}, {103: "a20b_skin_03.dds", 102: "a20b_skin_15.dds"}, 0.75, 400, 23 ], "b25draf": ["B-25D (AI)", {0:[0,1], 1:[1,1], 2:[3,1], 3:[0,1]}, {103: "b25draf_skin_01.dds", 102: ""}, 0.75, 400, 23 ], ... 1
kraut1 Posted January 19, 2022 Author Posted January 19, 2022 31 minutes ago, SYN_Vander said: Not at the moment. I do maintain a global plane table with name, loadout options, default skins per country(code), default fuel, cruise speed, wingspan. Eg USA=103, but this is currently packed in the exe. PLANES = { "a20b": ["A-20B", {0:[0,1], 1:[2,1], 2:[5,101], 3:[0,1]}, {103: "a20b_skin_03.dds", 102: "a20b_skin_15.dds"}, 0.75, 400, 23 ], "b25draf": ["B-25D (AI)", {0:[0,1], 1:[1,1], 2:[3,1], 3:[0,1]}, {103: "b25draf_skin_01.dds", 102: ""}, 0.75, 400, 23 ], ... Would be great if the user could get access to these settings, loadouts would important too. Best Regards and thanks very much for your great work!
SYN_Vander Posted January 28, 2022 Posted January 28, 2022 It is now possible to change the default skins in planes.json : Example: "c47a": { "name": "C-47A (AI)", "loadout": { "guns only": [0,1], "rockets": [0,1], "anti-armor": [0,1], "bombs": [4,10001], "cargo": [2,1001]}, "skins": { "United States": "c47a_skin_03.dds", "Great Britain": "c47a_skin_04.dds", "USSR": "c47a_skin_04.dds"}, "fuel": 0.75, "speed": 300, "wingspan": 31 }, However, there is a little logic to be aware of. The original Stalingrad/Moscow aircraft all have winter skins, which is always <aircraft id>_skin_01.dds I use this to automatically select a winter skin if available. If there is no skin entry for a country I assume there is a winter skin available and select it when it's winter (dec, jan, feb). If there is a skin defined I will always pick that skin regardless of season. That's why for the newer planes you will see an empty entry "". This ensures that the default skin is selected, not <aircraft id>_skin_01.dds. 1
kraut1 Posted January 31, 2022 Author Posted January 31, 2022 On 1/28/2022 at 2:50 PM, SYN_Vander said: It is now possible to change the default skins in planes.json : Example: "c47a": { "name": "C-47A (AI)", "loadout": { "guns only": [0,1], "rockets": [0,1], "anti-armor": [0,1], "bombs": [4,10001], "cargo": [2,1001]}, "skins": { "United States": "c47a_skin_03.dds", "Great Britain": "c47a_skin_04.dds", "USSR": "c47a_skin_04.dds"}, "fuel": 0.75, "speed": 300, "wingspan": 31 }, However, there is a little logic to be aware of. The original Stalingrad/Moscow aircraft all have winter skins, which is always <aircraft id>_skin_01.dds I use this to automatically select a winter skin if available. If there is no skin entry for a country I assume there is a winter skin available and select it when it's winter (dec, jan, feb). If there is a skin defined I will always pick that skin regardless of season. That's why for the newer planes you will see an empty entry "". This ensures that the default skin is selected, not <aircraft id>_skin_01.dds. Thanks very much, I will try!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now