Page MenuHomeFeedback Tracker

Add BaseMagazineComponent::SetAmmoCount()
Closed, ResolvedPublic

Description

If I am not mistaken there is no way to set the ammo count on a magazine right now via script. A function on the BaseMagazineComponent like SetAmmoCount would nice.

Details

Severity
Major
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

Arkensor created this task.Aug 23 2022, 7:13 PM

Another kind of solution is to implement realistic ammo, or at least make it possible. Example:

  • Unpack ammunition boxes.
  • Unload ammo from a magazine, or chamber.
  • load differet types of ammunition into a single mag

Alright, my ideas are very simple.

at first:

  • Make magazines "persistent", so that it doesn't disappear into the void after unloading an empty mag
  • Create at least a scripted way to increment or set the magazine ammo count.

Secondly:

  • create "new" entities for bullets of different callibers.
  • Associate with current String names of each mag. Like if making a "Hash variable" where each mag to it's bullet caliber, otherwise it won't load in. (pop up maybe?)

thirdly and not last:

  • Add Ammunition boxes or crates.
  • Add ways to interact with a dropped mag.

I mean... Just the first step will do for easing the modding community work proccess of ammunition handling.

thx for the attention :)
cheeeeers

Geez changed the task status from New to Reviewed.Aug 30 2022, 1:25 PM
Arkensor added a subscriber: Geez.Oct 5 2022, 10:39 AM

@Geez fixed as of 0.9.6

Geez closed this task as Resolved.Oct 6 2022, 2:15 PM
Geez claimed this task.