A wrapper around DGen to include new planes
#1

I was thinking that in lieu of cracking DGen, a simple wrapper could be made to re-write the mission files after DGen has created them...

e.g. DGen creates a mission with the Beaufighter 21 and then the wrapper re-writes the file to change the Beau 21 references in the mission file to a Beaufighter 10.

It could also perhaps add the necessary lines for the wind mod and perhaps the line to get specific sound files to play during briefings etc...

It could also re-write the campaign.ini file to add in intro movies and the like.

I don't have the necessary programming skills to do this myself unfortunately but I'd be happy to help in any other way I can. I believe it would be a case of calling the wrapper DGen.exe and the original DGen something like DGen_original.exe and having the new DGen intercept calls from IL2, run the original DGen, perform the edits and pass back certain parameters to IL2 again.

Any coding experten interested in this?
Reply
#2

Interesting idea, but i'm not sure that'll work.
Reply
#3

Give up DGen and get DCG.

You can have ALL your new plaens operate in campaigns as both AI and Human flights. It's worth it. If you have any questions on starting or setting it up for the first time I can help you out via PM. That is if your interested. The only thing you have to decide now is whether to take the red pill or the blue pill :wink:
Reply
#4

....But some people likes DGEN!
Reply
#5

Absolutely.. I use Dgen alot, wouldn't want to give it up at all!
Reply
#6

I hate DCG sometimes...as it sends you around routes you'd never imagine, like going 5 miles to trhe south, while ypour target is 15 miles to the north of your base....and as well as this, some DCG briefings are awful...
Reply
#7

I think that if someone could update the Europlanes and Pacificplanes files in the Dgen
folder with data for the new planes they could be used in dgen campaigns.
Reply
#8

gbollin Wrote:I think that if someone could update the Europlanes and Pacificplanes files in the Dgen
folder with data for the new planes they could be used in dgen campaigns.

You are right!

If you add the Beau10 to Europlanes.dat with the correct loadouts it works!

I have been working on a re-working of the Battle over Europe RAF campaign and the Beau10 works great! I've added the new ships like the British and German Destroyers, and I have re-written all the briefings so that they are more coherent. Actually, the entire campaign has been completely re-done from scratch and now that I got the Beau to work it's just a matter of testing and tweaking.

I'll be posting more about that soon in the campaigns section.

Really, we need a new, more flexible dynamic campaign generator. Something with the options that DCG gives, but with the ability to 'script' the way that the campaign unfolds as is possible in DGen. Also for me an offline campaign isn't enjoyable unless there is some kind of narrative in the briefings and DCG fails miserably at this. But DGen also has many severe limitations, especially regarding the number of objects that can be used and the kind of uses a particular a/c can have on a particular map, the squadrons that can be selected are very limited (particularly on the western front) and of course it isn't possible to add any new maps - which renders it useless for a great part of the work being done on this site.

If I had the time and the skills, this would be something I'd love to do. But unfortunately I don't so I'll just have to wait patiently until someone else gets the urge to do it Idea

P.S. I only got the Beau10 to work as an AI plane so far. Maybe it's not possible to have it as a flyable. I will be trying it out.
Reply
#9

Really hope that you can make it. If only we could add new maps...
Reply
#10

DGEN.exe has the maps and planes hardcoded. So, if you include new planes (or change planes into "skin-hacks" as in the "Fokker D-XXI" or the "Ki-44 Shoki") via Europlanes or Pacificplanes you can do it only as AI planes. I have tried in some of my sub-campaigns, and not possible to make them flyable (at the moment)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)