Skip to content

Return weapon settings from payload lua files and save weapon settings to pylon data in miz file#442

Merged
rp- merged 1 commit into
pydcs:masterfrom
zhexu14:payload_settings
Jun 29, 2026
Merged

Return weapon settings from payload lua files and save weapon settings to pylon data in miz file#442
rp- merged 1 commit into
pydcs:masterfrom
zhexu14:payload_settings

Conversation

@zhexu14

@zhexu14 zhexu14 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR expands support for DCS weapon settings (e.g. fuze settings) by:

  • Returns weapon settings, if present, in UnitType.loadout and UnitType.loadout_by_name. These settings are already loaded by UnitType.load_payloads but are stripped out by these functions, which previously only returned the pylon number and clsid.
  • Sets weapons settings in FlyingUnit.load_pylon so that when passed in, weapons settings are stored in the miz file.
  • Fixes a bug in test_smoke_required_modules where a miz file was not cleaned up after tests run.

@rp- rp- merged commit 412952c into pydcs:master Jun 29, 2026
2 checks passed
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.

2 participants