Jump to content
IL-2 Series Forum

Il-2 Series CDG - Dynamic Campaign Engine (Kinda...)


Recommended Posts

Posted

CDG – Campaign Dynamic Generator for IL-2 Sturmovik: Korea

Fly a war with your friends... (And foes).

 

c9a636dd8a63e3d82174edbe6f0d85c6.jpg

Hello everyone!

After a lot of late nights, I'm finally ready to show you something I'm genuinely proud of: CDG, a standalone campaign manager for IL-2 Sturmovik: Korea. It turns a folder of individual templates into a campaign that remembers what you did, reacts to it, and keeps the war moving.  CDG comes from the Spanish "Crónicas de Guerra", meaning Chronicles of War. 
The APP is currently in Spanish only but will be translated.

I'm the founder of Parallel 38 Server and as time goes by, I want to keep offering things to the community. 
Thanks to the help of the community and 1CGS with Snipermanx, I could develop this.

 

9ccea58840a53cdcb1db36a9078785b5.png

The wargame idea

If you've ever played a good wargame, you know the feeling: you make a move, the enemy reacts, the situation shifts, and every decision matters later. That's what I wanted for IL-2.

The simulator is the tactical level: you strap into the cockpit and fly the sortie. CDG is the war room around it. It reads your mission reports, works out what happened, updates the state of the war, and picks what comes next. You're not just flying missions, you're fighting a campaign.

How a campaign runs

  1. Pick a campaign from the menu (theatre → campaign) and choose one of 10 save slots. Each slot has its own database, so you can run several campaigns or squads in parallel.
  2. Generate the next mission. CDG selects a scenario, prepares the file, rewrites its conditions, and drops it into your Dogfight folder, ready to launch.
  3. Fly it in IL-2 Korea, with friends on your server or on your own.
  4. Import the mission report ZIP. CDG shows a preview of what it found before anything is saved.
  5. The war updates: kills, losses, enemy strength, the diary. Then repeat.

 

cc97dfb0504c1bf4e33c6ac14a36ca2e.png

Dynamic, but crafted

I want to be upfront about how this works, because it's the best part. Missions are semi-automatic-built .Mission files, so every scenario is tailored with care by a human. What's dynamic is everything around them:

  • Weighted random selection. Each mission has its own weighting formula, fed by the state of the war: date, missions flown, days elapsed, enemy strength by type, weather, hour and more. The same campaign will never play out the same way twice.
  • Repeat penalties. The system avoids sending you back to the same city or the same mission in a row.
  • Rewritten conditions. Date, weather, time of day, cloud level and cloud height are randomised every sortie, within limits defined by the campaign.
  • A fresh briefing every time. Briefings are written in data with variants, conditions and probabilities. Patrol briefings stay deliberately vague, because the enemy doesn't send you a letter, and mention contact only when there's a real chance of seeing the enemy.
  • Skip a mission if it doesn't suit the situation.

With a decent catalogue, the formulas and the weather, you get hundreds of different combinations from a modest number of missions. And because the weights react to the war, the sequence tells a story.

So to speak, this tailoring means the realism is kept but more dynamism is added.

And yes! PVP can also be created this way. Plus a lot of things that can be added in the future to give more details! Such as predefined weather percentages, etc.

 

e0c25b3549933c2725d5da689f762d5c.png

Your pilots, your war

  • Add your pilots by name. Names are matched exactly (not case- or whitespace-sensitive), so what the log says is what gets credited. Unregistered names are ignored for stats.
  • Each pilot has their own missions, kills, ground targets and losses.
  • A kill log and a loss log keep the history of the campaign.
  • A diary records every sortie with a short summary of the result, like "20 kills (15 B-29, 5 F-86), no friendly losses, duration 03:27".

Know your enemy

The Enemy Forces tab shows every enemy squadron with its approximate operational strength as a percentage, plus totals. Each loss you inflict comes off the strongest active unit of that type, and units regenerate a little between missions. Some units only appear in certain months. In Guardianes del Yalu, for instance, an extra F-86 unit joins the fight in March.

bad826692cbfa8ca7d3dea31ef2e6aa3.png

Ground war module

Every campaign can switch on a ground forces module. When enabled, ground targets destroyed are tracked and ground units wear down like the air squadrons. When disabled, the tab simply stays out of the way, so an interceptor campaign doesn't need to carry any of it.

Build your own campaigns

This is the part I'm most excited about. Campaigns are just data. Copy a campaign folder, edit its campaign.json, drop in your missions, hit Reload, and it shows up in the menu. You can define:

  • theatre, side, aircraft and start-date window
  • air and ground enemy units, with sizes and active periods
  • the full mission catalogue and each mission's weighting formula
  • briefings with sections, variants and conditions
  • mission hours, with day-only, night-only or midnight-crossing ranges
  • the visual identity of the campaign

The formulas are evaluated with a safe expression engine, so campaign authors can write conditions freely without anything dangerous running on your machine. No code is added into the game. It uses the provided templates, modifies them and add them to the Dogfight folder for you to load.

A look worth flying for

I wanted it to feel like a proper product, not a spreadsheet. Big, clear buttons, campaign title screens, and 10 faction styles, each with its own emblem, colours, typography and artwork:

VVS · USAF · Luftwaffe · RAF · IJA · IJN · US Navy · RAAF · Royal Navy · PLAAF

Each campaign picks its own style, so flying a MiG from Antung looks and feels different from flying a Skyraider off a carrier. Style images can even be swapped for your own artwork.

016f458028ce2d6302cdff8058e2994f.png

What you can play today, and what's coming

  • Playable now: Guardians of the Yalu(Soviet 16th IAP PVO, MiG-15bis, Antung, 1 January to 1 March 1951), defending the Yalu against B-29s and their F-86 and F-84 escorts.
  • In development: Mess in Chosin (USN, AD-4 Skyraider off USS Princeton, 27 November to 13 December 1950) and Return to MiG Alley (USAF, F-86A from Suwon, March to May 1951).

Victory and defeat (planned)

A campaign needs stakes. I'm adding victory conditions defined per campaign, and equally important, defeat conditions:

  • The aircraft you lose in a mission are subtracted from your airfield's pool. Lose too many and you're out of planes, so careful with those lives.
  • Heavy losses of friendly troops can also swing a campaign towards defeat.
  • Certain unit destroyed
  • Certain days passed with no units destroyed.

Every sortie will carry weight, because the war remembers.

The big plan: a war that fights without you

This is where it gets really exciting. Future campaigns will be much larger, with a simulated war running outside the cockpit. Ground, air and naval units will have efficiency values, and CDG will simulate the battles between them on its own, even when no one is flying. The front moves, offensives succeed or stall, and convoys get through or don't. Our sorties become one thread inside a bigger war that keeps unfolding around us, much closer to a true wargame.

b4c832012fb773f992a3457f7f3dc2ab.jpg

Credit of the image: Detcord

Get involved

I'd love to hear what you think. What theatres would you like to see? What conditions and objectives would make a campaign great? If you design your own, I'd be thrilled to see it.

Thank you for reading, and see you over the Yalu!

Spanish Video: 

https://www.youtube.com/watch?v=wUdfWQoUTPI

 

When? 2027!

LuftManu

Reserved

  • Like 1
  • Thanks 1

Rig: RTX 5090 ASUS TUF / Ryzen 9850 X3D /Gigabyte X870E Pro X3D Motherboard / 48 GB DDR5 Teamgroup 8000 MT/s / MSI 321 URX QD-OLED 32" 4K

Posted

This looks like yet another fantastic project by you Manu! I don't know you come up with these inspired ideas 🙂

  • Like 1
Posted
19 minutes ago, Haluter said:

This looks like yet another fantastic project by you Manu! I don't know you come up with these inspired ideas 🙂

Thank you my friend! I coulnd't do this with the support from the community and inspiration from its greatest guys! 🙂 CB is one of those!

  • Like 1

Rig: RTX 5090 ASUS TUF / Ryzen 9850 X3D /Gigabyte X870E Pro X3D Motherboard / 48 GB DDR5 Teamgroup 8000 MT/s / MSI 321 URX QD-OLED 32" 4K

Posted

Hory mory! 😃

  • Like 1

Gigabyte Aorus Elite Mobo. No mods.
AMD 9800X3D CPU. No mods.
RTX 5090 GPU. No mods.
64GB G-Skill RAM at 6000mhz. XMP on.
Samsung SSD.

Monitor at 3840x2160.
Pimax Crystal Super.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...