Jump to content

Recommended Posts

Posted

srd file; where am I wrong?

Attached in a zip file:
- the mis file with the ships roads.
- the matching srd file.

In the maps.dcg file, MapAxis=North  

Blue ships spawn at Genova_Harbor and follow the blue paths. It's correct.
I want that Red ships spawn at Crotone_Supply_Depot_Harbor and follow the red paths.
But they spawn at 200_Tyrrhenian_Sea. It isn't correct.

200_Tyrrhenian_Sea: 57000.00 1000.00
Crotone_Supply_Depot_Harbor: 75000.00 500.00

Crotone_Supply_Depot_Harbor is lower than 200_Tyrrhenian_Sea.
Where am I wrong?

I use the IL2DCG 3.48 version.

CDG_Italy.zip

Posted

Crotone_Supply_Depot_Harbor is probably the issue.  Even though the location is in the srd file, because it uses the key words "Supply_Depot", I think DCG is treating it like a land location.  Try renaming it just "Crotone_Harbor" and see if that fixes it.

Posted

Ok.

Now the lowest location name is Crotone_Harbor.

 

And it's the same problem.

Allied ships move forward to Cagliari_Bay (from 200_Tyrrhenian_Sea).

 

An other idea?

It's like if DCG ignores the red paths...

 

May be important: I use DCG in Dogfight Mode.

CDG_Italy v2.zip

Posted

I see an issue with your file which may or may not solve the problem.  You need at least eight waypoints for each route and I noticed many of yours only have three or four.  Example:

 

[Crotone_Bay to Crotone_Harbor]
  73000.00 4000.00 120.00 0 2 2.7777777777777777
  73000.00 1000.00 120.00 0 2 2.7777777777777777
  75000.00 500.00 120.00

 

Stick a few more waypoints between each of these three waypoints.

Posted

I see an issue with your file which may or may not solve the problem.  You need at least eight waypoints for each route and I noticed many of yours only have three or four.  Example:

 

[Crotone_Bay to Crotone_Harbor]

  73000.00 4000.00 120.00 0 2 2.7777777777777777

  73000.00 1000.00 120.00 0 2 2.7777777777777777

  75000.00 500.00 120.00

 

Stick a few more waypoints between each of these three waypoints.

 

Done Sir.

 

Each road has 9 or 10 waypoints now.

 

But the problem isn't fixed...

CDG_Italy v3.zip

Posted

When DCG generates the mission, it puts the X/Y coordinates of each location into the locations.dcg file.  According to this file:

 

200_Tyrrhenian_Sea 0 59000.00 1000.00

Crotone_Harbor 2 73000.00 4000.00

Crotone_Bay 0 74000.00 3000.00

 

While you have this:

 

[Crotone_Bay to Crotone_Harbor]
  73000.00 4000.00 120.00 0 2 2.7777777777777777
  71000.00 4000.00 120.00 0 2 2.7777777777777777
  69000.00 4000.00 120.00 0 2 2.7777777777777777
  67000.00 3000.00 120.00 0 2 2.7777777777777777
  67000.00 1000.00 120.00 0 2 2.7777777777777777
  69000.00 2000.00 120.00 0 2 2.7777777777777777
  71000.00 2000.00 120.00 0 2 2.7777777777777777
  73000.00 2000.00 120.00 0 2 2.7777777777777777
  75000.00 500.00 120.00

 

It appears Crotone_Harbor is taking from the first waypoint in this series and not the last one.  This is definitely a bug.  You could probably solve it by adding another "dummy" location just north of Crotone_Harbor that links to Crotone_Harbor.  But I will look into fixing the bug.

Posted

Ok. I've downloaded and updated my IL2 DCG to 3.49b4 version.

 

I'm sorry, but this bug isn't fixed.

 

When the sea road is:

[Crotone_Bay to Crotone_Harbor]
  73000.00 4000.00 120.00 0 2 2.7777777777777777
  71000.00 4000.00 120.00 0 2 2.7777777777777777
  69000.00 4000.00 120.00 0 2 2.7777777777777777
  67000.00 3000.00 120.00 0 2 2.7777777777777777
  67000.00 1000.00 120.00 0 2 2.7777777777777777
  69000.00 2000.00 120.00 0 2 2.7777777777777777
  71000.00 2000.00 120.00 0 2 2.7777777777777777
  73000.00 2000.00 120.00 0 2 2.7777777777777777
  75000.00 500.00 120.00
 

I get:

Crotone_Harbor 1 73000.00 2000.00

 

So, I add one line:

[Crotone_Bay to Crotone_Harbor]
  73000.00 4000.00 120.00 0 2 2.7777777777777777
  71000.00 4000.00 120.00 0 2 2.7777777777777777
  69000.00 4000.00 120.00 0 2 2.7777777777777777
  67000.00 3000.00 120.00 0 2 2.7777777777777777
  67000.00 1000.00 120.00 0 2 2.7777777777777777
  69000.00 2000.00 120.00 0 2 2.7777777777777777
  71000.00 2000.00 120.00 0 2 2.7777777777777777
  73000.00 2000.00 120.00 0 2 2.7777777777777777
  75000.00 500.00 120.00 0 2 2.7777777777777777
  75000.00 100.00 120.00
 

and get:

Crotone_Harbor 1 75000.00 500.00

 

The X/Y coordinates don't come from the last line but from the second to last line... :(

 

A mistake in a loop, may be. ;)

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...