bitbubbler / yet-another-dcs-server

YADS: A work in progress dcs server
The Unlicense
5 stars 3 forks source link

Reinforcements route logic/behaviour #49

Open Alighierian opened 1 year ago

Alighierian commented 1 year ago

After a unit has been killed and successfully respawned, it attempts to return to its previous location.

To avoid clusters of wrecks, and easy re-targeting, the reinforcement destination should be at a random location near the site of destruction. Optimally not inside buildings/trees, but that may be too annoying/impossible to reasonably get sorted, and should be a separate issue.

Additional conditions: If possible/available, group the unit with another unit. Should one of the units be damaged/killed en-route, disperse the remaining units for 2-5 minutes (DCS mission editor flag - disperse under fire?) In the event a unit is killed en-route, set reinforcement location to new death location.

bitbubbler commented 1 year ago

I haven't been able to find the mission flag for disperse under fire, it doesn't look like it's a per unit setting? image

Alighierian commented 1 year ago

Default DCS has it as a group setting: (with a unit selected) Advanced (Waypoint actions) ADD Type: Set option Action: disperse under fire