Skip to content

Draft: Added Guided Resupply Weapon for LAATs

Aria Bounds requested to merge dev/soyvolon/guided-resupply into dev/razor/phoenix

Description

Added a Guided Resupply weapon for LAATs to deliver ammo and med boxes to infantry without having to land or pause in the air.

Details

  • Updated addons/RD501_Vehicle_Weapons/_ammo/config.cpp to include guided resupply munitions ammo configuration.
  • Updated addons/RD501_Vehicle_Weapons/_mags/config.cpp to include magazine configurations.
  • Updated addons/RD501_Vehicle_Weapons/config.cpp to include script (.sqf) references.
  • Added addons/RD501_Vehicle_Weapons/_scripts to hold guided resupply munitions scripts
    • Added _scripts/grpl_fired.sqf which handles tracking the resupply bomb as it falls then calling the spawn resupply script.
    • Added _scripts/spawn_resupply.sqf which handles the spawning of the proper resupply box on the last know position of the bomb.
  • Updated addons/RD501_Vehicles/air/LAAT/config.cpp to include the resupply weapon and a single mag of each ammunition type.

Video

https://youtu.be/hC9syHXcNao

Notes

  • This PR should not have many conflicts with Power's refactoring, but it was built on the commit before ceb99ff8

Merge request reports