Jump to content

Recommended Posts

Posted

Hi guys,

 I've been meddling with creating some campaigns for DCG to play with online and I've run into a problem with campaign generation that I don't know how to fix and could use some help with.

 I've created some simple routes on the Tobruk map and I've populated all of the files that I think I need to for a third party campaign based on the various guides out there about DCG.

 However, when I try to generate the campaign DCG enters what appears to be an infinite loop. You can see an example of this in the attached dcgerror.txt.

 I've recreated these routes several times in an attempt to fix it so I suspect it may be something other than the routes file that is wrong. I have committed the files I used as the third-party campaign folder here (see Libya40). I also created a really simple web app that allows you to paste in RDS files to create a template mission so you can look at the routes in the FMB.

dcgerror.txt

Posted

The only thing in the dcgerror.txt that seems unusual is the following line:

[2020/04/11 15:32:55.72] No entry found for Player Squadron in the squadids.dcg file.

Is there something that I need to do to configure the player squadron? In offline generation DCG does this based on the squadron the player selects in the campaign UI in IL-2 I guess but I don't know how to configure that for a campaign that I will run on a dogfight server.

Posted

The Red side has two airfields, on on-map and one off-map airfield, as far as I know (Buq_Buq_Airfield and Sidi_Barrani_Airfield) - they are configured in the allcampaigns.dcg as Locale1 and Locale2 respectively for the attacker (Red).

Posted
On 4/11/2020 at 11:54 AM, TheGrunch said:

I have committed the files I used as the third-party campaign folder here (see Libya40)

Are those all the files you have in the third party folder? Shouldn't you also have a class.dcg and a squadids.dcg files?

Posted
1 hour ago, Fhechene said:

Are those all the files you have in the third party folder? Shouldn't you also have a class.dcg and a squadids.dcg files?

Ah I see, I thought from Tailspin's guide that:

Quote

DCG will always look in your third party data folder first before looking for files in the DCG\Data and DCG\Master folders.  If it can’t find a specific file, say a crimea.rds file in your data folder, it will then look in the DCG\Data folder for the data.

Is there a list of the files that are absolutely compulsory for creating a third-party campaign somewhere?
4 minutes ago, Lowengrin said:

One thing I noticed immediately is empty lines between your location entries. Remove them.   There should be no empty lines in the file at all.  Not even at the end.

 

 

Good to know, I'll give that a try! Thanks

Posted
41 minutes ago, TheGrunch said:
Quote

DCG will always look in your third party data folder first before looking for files in the DCG\Data and DCG\Master folders.  If it can’t find a specific file, say a crimea.rds file in your data folder, it will then look in the DCG\Data folder for the data.

 

 

Is there a list of the files that are absolutely compulsory for creating a third-party campaign somewhere?

Yes. Lonestar's guide says

Quote

Insert the standard DCG files
These files must also in each external DCG campaign:
class.dcg
payloads.dcg
squadids.dcg

 

This file should be in each external DCG campaign:
crewseats.dcg
 

Just copy and paste the stock DCG files.

Posted

Hmm, unfortunately that hasn't resolved the issue either, I'll keep digging and see if there's anything else I can spot. In a guide I managed to dig up from AllAircraftArcade Scharnhorst1943 mentions that grandcampaign.dcg is compulsory, maybe that's it.

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...