dcs-liberation / dcs_liberation

DCS World dynamic campaign.
GNU Lesser General Public License v3.0
718 stars 184 forks source link

Problems in mission generator #2357

Open Raffson opened 2 years ago

Raffson commented 2 years ago

Affected versions

Development build

Development build

No response

Description

Running a standard Golan Heights campaign with no changes except for auto-purchase/repair options I've noticed a number of issues in the past. I've decided to investigate this a little further and I concluded the following:

  1. There's a 2-ship Su-17 flight that spawns inside one another, sending them both down to the ground.
  2. A whole lot of flights are spawning in-flight over Marj Ruhayyil (including the one above), but they seem to be entering a holding pattern to land. As soon as I touch them in the mission editor, i.e. simply clicking on them, the mission seems to somehow repair itself and those flights actually start flying towards their holding point. However, the mission suggests the "holding" stops at 12:57 (mission starts at 12), and I can also find a trigger to push a given group's task, so I wonder if these flights aren't spawning in too soon.
  3. Point 2 applies to both sides, I've had a similar issue with another campaign while testing the Su-30 mod.
  4. Trying to start a given aircraft from the ramp puts it at Damascus, so that means there's no more room at Marj Ruhayyil, which explains why so many aircraft are starting in-flight. However that still doesn't explain why those flights are entering a holding pattern to land unless I "touch" them in the ME.

This suggests there's 2 problems to be tackled:

Save game and other files

GH-standard-v6.zip

Starfire13 commented 2 years ago

This is a long-term problem with that campaign because a lot of the parking spots at Marj Ruhayyil are not suitable for larger aircraft but Pydcs doesn't differentiate between parking spots of different sizes, so when aircraft get assigned a parking spot it can't fit in, DCS force-spawns them in mid-air over the runway at the exact same coordinates.

Raffson commented 2 years ago

Pydcs doesn't differentiate between parking spots of different sizes

I just looked at pydcs and there's definitely extra info available that we're not using, definitely something I'll be looking at.