HDest-Community / reusable-ammoboxes

An addon for Hideous Destructor that brings back the re-usable ammo boxes from Ugly as Sin, now with HDBulletLib support!!
zlib License
2 stars 3 forks source link

A method of "converting" ammo boxes to similar types #31

Open Underqualified-Gunman opened 9 months ago

Underqualified-Gunman commented 9 months ago

Not sure how this would function but allowing similar boxes for ammo to be converted into other blank boxes so freely converting empty boxes of buck to slugs and such. Other canidates are having 45, 9mm, ndm, 355 convert between each other.

UndeadZeratul commented 9 months ago

hmm, ok yeah 12ga ammunition is all theoretically interchangeable so I can see the logic behind swapping them out. I'm curious how you'd do that with them simply being HDMagAmmo items...

Underqualified-Gunman commented 9 months ago

Thinking a bit more perhaps this would be better served as a new mode for the URL instead? Perhaps call it the relabeling mode?

UndeadZeratul commented 8 months ago

hmm, I wonder if we could take a page out of the recast system for this and add other modifier keys to insert the other round types?

Given that there's shells, slugs, flare shells, and explosive shells, and that the box holds 20 rounds, you'd need 20,202,020 to be able to count them all. Since the max value of a 32-bit integer is 2,147,483,647, we'd actually have enough room to store all 4 types, and extracting them all out randomly does somewhat make sense as a loose box rather than a strict mag.

I'll mull it over a bit and see what I can come up with.