9./JG52Gruber Posted June 30, 2024 Posted June 30, 2024 If I only wanted to mod the mission types a squadron gets in a career I would only need to modify the squadrons.cfg? When I unpack the scg file I don't get the folder 15 with Kuban career info. Is it somewhere else?
Skycat1969 Posted June 30, 2024 Posted June 30, 2024 Open the Squadrons.cfg in your 15 subfolder and compare the squadron you want to edit with a squadron that has the missions you want to add. Let's say for this example you want to add some missions assigned to an IL-2 Sturmovik squadron, the [Squadron=101008] 8 GShAP VMF (specifically, mission 1404 "arty_spot_patrol") to a Yak 1 squadron, the [Squadron=101042] 42 GIAP. Next, go to Scripts and open 15planes-to-missions.cfg. Use Cntrl+F and search for 1404. Here you will see all of the aircraft that can use [Mission=1404] // Artillery spotting. For our example, you will need to also add the aircraft used by 42 GIAP. The easiest way to select one of the mission types already assigned to 42 GIAP (in the Squadrons.cfg) where the aircraft uses a configuration appropriate for an artillery spotting mission, and copy that aircraft data over to Mission=1404. At a glance, [Mission=1101] // Intercept Bombers (from the top of the 15planes-to-mission.cfg) will probably work, so copy this section from mission 1101 into mission 1404: [plane="Yak-1 ser.69"] config="LuaScripts\WorldObjects\Planes\Yak1s69.txt" [period] period="1941.01.01","1942.06.01" plane_eff=0.5 fuel=786179,10.0 modifications_required=0b000000 modifications_denied=0b000000 ammo_eff=0,1.0 [end] [period] period="1942.06.02","1946.01.01" plane_eff=0.5 fuel=786179,10.0 modifications_required=0b000000 modifications_denied=0b000110 ammo_eff=0,1.0 [end] [end] [plane="Yak-1 ser.127"] config="LuaScripts\WorldObjects\Planes\Yak1s127.txt" [period] period="1941.01.01","1946.01.01" plane_eff=0.5 fuel=829484,10.0 modifications_required=0b000000 modifications_denied=0b000000 ammo_eff=0,1.0 [end] [end] Now you're able to assign [Mission=1404] to [Squadron=101042] in the Squadrons.cfg. Go back to Squadrons.cfg and search for your IL-2 squadron, [Squadron=101008]. Copy this block of text from the IL-2 squadron's missions profile: [mission=1404] weathers="0,1,2,3" subtype="arty_spot_patrol" planes=1 maximumPlanes=1 weight=0.1 range=150000 [end] Next, go up to [Squadron=101042] and paste your copied text into each chapter you'd like to have artillery spotting missions added. When you are done, save Squadrons.cfg. Select All, copy all of the text on the page, and then go to Scripts. Open 15Squadrons.cfg, Select All on that document, and paste your copied text so that both 'squadrons' documents have the same information.
9./JG52Gruber Posted July 2, 2024 Author Posted July 2, 2024 @Skycat1969 Thanks! I need some time to digest this but is there a reference for the mission types? 1151 = Bomber Escort, etc..
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