Home » MODDING HQ 1.13 » v1.13 Coding Talk » [IDEA] New Magazine System
Re: [IDEA] New Ammunition System[message #282646] Wed, 08 June 2011 02:45 Go to previous messageGo to previous message
ctiberious is currently offline ctiberious

 
Messages:605
Registered:March 2007
I'm planning on including a new tag for "default quantity" or something similar to deal with weight, item size and purchasing, but the "ammo crate" and "ammo box" options are still relevant.

Examples:
Let's assume we determine that the "default quantity" for .45ACP is 10 rounds, and that it has a itemsize=12
You can only hold 20 rounds (10rnd default quantity X 2 hands) in a mercs hands since a hand can only hold a single item, regardless of item size. And those 20 rounds (or at least 10 per hand) would have to be all the same type. So up to 10 AP rnds per hand, for instance.
But if you get an "ammo crate" (which in this form would have to be purchased just like any other "magazine"), you could stuff 3000 .45ACP rounds into it, of varrying types, and carry the crate in your mercs hands. For that matter, depending on how the xml files were setup, you could put 3000 rounds of mixed type and caliber into the crate and still be able to carry them all in a mercs hands. No more lugging 6 different "200rnd stacks" of ammo from one sector to another.
The "ammo box" option is just as relevant, but on a smaller scale. Again, a pocket can only hold a single stack, though you might be able to fit multiple "items" into a single stack. For instance, a "Small General" pocket can have 3 itemsize=12 items or 2 itemsize=15 items in a single stack. So you could fit up to 30 rounds of .45ACP into a "Small General" pocket, but all 30 rounds would be of identicaly type (AP, HP, AET, etc).
But if we have an "ammo box" that's ItemSize=15 and can hold 30 rnds, then that same "Small General" pocket can actually hold up to 60 rounds of any type and/or caliber ammo, again depending on how the xml files were setup.
Even at their most restrictive (just a single caliber per box/crate) both of these special "magazines" would have the advantage of letting you consolidate lots of small "ammo piles" into a single stack. Need to move 50rnds of .45ACP, 20rnds of .45ACP AP, and 100rnds of .45ACP HP? Buy a couple "ammo boxes" and potentially fit all 170rnds into a single pocket (obviously depending on pocket stacking limits and box capacity) instead of needing a minimum of 3 seperate pockets. The only real disadvantage to these is the same as the disadvantage all "magazines" are going to face; you have to remove ammo in the opposite order from the way it was put into the mag. If you want to reach the 2 AET rounds you put into the "magazine" before you put 200 other rounds "on top", you'll have to first remove the 200 "top" rounds to get down to the AET. Hopefully that makes sense.

Report message to a moderator

First Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: (New) Common Attachment Framework (new title; was The NAS Receiver)
Next Topic: Path finding problems in 1.13
Goto Forum:
  


Current Time: Sat Jan 25 13:40:03 GMT+2 2025

Total time taken to generate the page: 0.09802 seconds