Skip to content

Launchers: Cartridge Ammo + Trajectory and Reload Options#322

Merged
themrdemonized merged 9 commits intothemrdemonized:all-in-one-vs2022-wpofrom
Lander-Modding:shotgun-launchers
Aug 9, 2025
Merged

Launchers: Cartridge Ammo + Trajectory and Reload Options#322
themrdemonized merged 9 commits intothemrdemonized:all-in-one-vs2022-wpofrom
Lander-Modding:shotgun-launchers

Conversation

@ProfLander
Copy link
Contributor

@ProfLander ProfLander commented Aug 8, 2025

  • Implement CWeaponRG6 and CWeaponMagazinedWGrenade cartridge ammo support for @ZoulKrystal
    • Now capable of loading and firing buckshot, slugs, and other non-explosive ammo
    • Also applies to M79 and other subclasses
  • Implement CWeaponGrenadeLauncher to hold common GL code
  • Factor CWeaponRG6 and CWeaponMagazinedWGrenade GL launch code into CWeaponGrenadeLauncher
  • Parametrize launcher trajectory assist machinery
    • g_launcher_dynamic_range - Enable while unaimed
    • g_launcher_dynamic_range_zoom - Enable while aimed
    • g_launcher_dynamic_range_max - Maximum assist range
    • g_launcher_dynamic_range_mode - Target dynamic objects
  • Implement g_fire_reloads_ubgl to control nonstandard UBGL reload behaviour
  • Reinstate disabled auto-reload functionality, gated behind the g_auto_reload cvar

@ProfLander ProfLander changed the title Launcher Cartridge Ammo & Reload Options Launchers: Cartridge Ammo + Trajectory and Reload Options Aug 8, 2025
@themrdemonized themrdemonized merged commit 6937ec0 into themrdemonized:all-in-one-vs2022-wpo Aug 9, 2025
9 of 10 checks passed
@themrdemonized
Copy link
Owner

I reverted this PR, reasons:

  • RG-6 consumes twice of grenades, and presumably shoots 2 grenades as well
  • M79 doesn't play shoot sound and animation
    Needs to be fixes

themrdemonized added a commit that referenced this pull request Jan 24, 2026
Launchers: Cartridge Ammo + Trajectory and Reload Options
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