Dan Albert 656a98675e Rework sim status update to not need a thread.
Rather than polling at 60Hz (which may be faster than the tick rate,
wasting cycles; and also makes synchronization annoying), collect events
during the tick and emit them after (rate limited, pooling events until
it is time for another event to send).

This can be improved by paying attention to the aircraft update list,
which would allow us to avoid updating aircraft that don't have a status
change. To do that we need to be able to quickly lookup a FlightJs
matching a Flight through, and Flight isn't hashable.

We should also be removing dead events and de-duplicating. Currently
each flight has an update for every tick, but only the latest one
matters. Combat update events also don't matter if the same combat is
new in the update.

https://github.com/dcs-liberation/dcs_liberation/issues/1680
2021-12-23 17:46:24 -08:00
2020-10-30 13:51:18 -07:00
2021-12-23 11:19:56 +00:00
2021-12-22 13:01:51 -08:00
2020-12-19 20:57:55 +01:00
2020-12-19 11:56:13 -08:00
2021-08-01 15:42:14 -07:00
2021-06-06 13:37:01 -07:00
2021-12-21 14:51:45 -08:00

Logo

Patreon

Download

Discord

GitHub pull requests GitHub issues GitHub stars

About DCS Liberation

DCS Liberation is a DCS World turn based single-player or co-op dynamic campaign. It is an external program that generates full and complex DCS missions and manage a persistent combat environment.

Screenshot

Downloads

Latest release is available here : https://github.com/dcs-liberation/dcs_liberation/releases

To download preview builds of the next version of DCS Liberation, see https://github.com/dcs-liberation/dcs_liberation/wiki/Preview-builds.

DCS bugs

These DCS bugs prevent us from improving AI behavior. Please upvote them! (But please don't spam them with comments):

Bugs and feature requests

If you need to report a bug or want to suggest a new feature, you can do this on our bug tracker. In either case, please use the search bar at the top of the page to see if it has already been reported. Note that you may need to remove the filter for open bugs if it's something we've recently fixed.

Roadmap

Our plans for future releases can be found on our Projects page. Each planned release has a Project, and the page for that project has columns for to do, in progress, and done. Items in the Done column are in the preview build for that release. Items in the To do column are planned to be added to that release.

Resources

Tutorials, contributors and developer's guides are available in the project's Wiki

Special Thanks

First, a big thanks to shdwp, for starting the original DCS Liberation project.

Then, DCS Liberation uses pydcs for mission generation, and nothing would be possible without this. It also uses the popular Mist lua framework for mission scripting.

Excellent lua scripts DCS Liberation uses as plugins:

  • For the JTAC feature, DCS Liberation embeds Ciribob's JTAC Autolase script.
  • Walder's Skynet-IADS is used for Integrated Air Defense System.

Please also show some support to these projects !

Description
DCS World dynamic campaign.
Readme 273 MiB
Languages
Python 62.4%
Lua 32.8%
TypeScript 3.7%
Jinja 0.6%
CSS 0.4%