Skip to content

Support Rearm Pool, Limits, and Other Features#7249

Open
MjnMixael wants to merge 11 commits intoscp-fs2open:masterfrom
MjnMixael:support_rearm_upgrades
Open

Support Rearm Pool, Limits, and Other Features#7249
MjnMixael wants to merge 11 commits intoscp-fs2open:masterfrom
MjnMixael:support_rearm_upgrades

Conversation

@MjnMixael
Copy link
Contributor

@MjnMixael MjnMixael commented Feb 26, 2026

Fulfills several feature requests and fixes #7248 .

  • The new weapon.tbl entry $Disallow Support Rearm: can prevent a weapon from ever being rearmed.
  • Support ships can be prevented from ever rearming, making them purely a repair ship.
  • Support ships can draw from a "Rearm Pool" for rearms and when the rearm pool runs out of a weapon, that weapon can no longer be rearmed. Additionally the "Rearm Pool" can be automatically filled based on the Team Loadout Pool.
  • If using the Rearm Pool, the mission designer can optionally allow the support ship to reload a different weapon if the Rearm Pool is out of the current weapon. The weapon selected to swap to is based on the weapon hierarchy in weapons.tbl.
  • Full FRED and QtFRED support for this feature included moving all support ship options to a Mission Specs sub dialog.
  • Added Lua access to the Rearm Pool as well as two new hooks, On Support Rearm Started and On Support Rearm Finished. Both hooks provide the support ship and the ship to rearm as hook variables.
image

Below are the retail-compatible missions (and a table file) I used to test the features including testing standard support ship behavior.
RearmUpgradeTestFiles.zip

@MoerasGrizzly
Copy link

This is so bleeping cool

@MjnMixael MjnMixael force-pushed the support_rearm_upgrades branch from 6d7dadf to 77c5964 Compare February 28, 2026 22:37
@MjnMixael
Copy link
Contributor Author

Latest commit adds support for multiple teams.

@MoerasGrizzly
Copy link

I have been testing this and thus far, everything seems good.

@MoerasGrizzly
Copy link

I've tested this and so far, it all seems to work fine.

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.

FR: ways to limit support ships rearm capabilities.

2 participants