Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for DCS 2.9's AI unlimited fuel. #3227

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

DanAlbert
Copy link
Member

This is enabled by default because I can't think of a time where it's ever been more fun to watch the AI run out of fuel after cycling between afterburner and speedbrake for twenty minutes.

This is only lightly tested (I verified that the task shows up appropriately in the ME when set, not when unset, and never for players), since the interesting part of the implementation is up to ED.

Fixes #3201.

The new version has support for the unlimited fuel option for AI
flights.
This is enabled by default because I can't think of a time where it's
ever been more fun to watch the AI run out of fuel after cycling between
afterburner and speedbrake for twenty minutes.

This is only lightly tested (I verified that the task shows up
appropriately in the ME when set, not when unset, and never for
players), since the interesting part of the implementation is up to ED.

Fixes dcs-liberation#3201.
@DanAlbert DanAlbert marked this pull request as ready for review November 2, 2023 01:02
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #3227 (169ecf7) into develop (c2c0119) will decrease coverage by 0.01%.
The diff coverage is 44.44%.

@@             Coverage Diff             @@
##           develop    #3227      +/-   ##
===========================================
- Coverage    46.10%   46.10%   -0.01%     
===========================================
  Files          474      474              
  Lines        26015    26022       +7     
  Branches      4526     4527       +1     
===========================================
+ Hits         11995    11998       +3     
- Misses       13999    14003       +4     
  Partials        21       21              
Files Coverage Δ
game/settings/settings.py 70.30% <100.00%> (+0.18%) ⬆️
...ssiongenerator/aircraft/flightgroupconfigurator.py 26.47% <0.00%> (ø)
game/missiongenerator/aircraft/aircraftbehavior.py 25.56% <42.85%> (+0.36%) ⬆️

@DanAlbert DanAlbert enabled auto-merge (rebase) November 2, 2023 01:04
@DanAlbert DanAlbert merged commit c010ef9 into dcs-liberation:develop Nov 2, 2023
@Starfire13
Copy link
Contributor

Regarding "never for players", is that aircraft-specific or flight-specific?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AI unlimited fuel option
2 participants