Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
liam11232

Ammo Type - Bullets vs Magazines

Question

Hey, I've been looking though the code and messing with the ammo type, but I still don't understand the difference between the two? Could anyone explain the difference, and when you'd use one over the other? Thank you, much appreciated. 

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 3

I'm not sure if you don't understand how it would work or just when to use one over the other but anyways here are some examples:

 

Ammo counted in bullets:

 Max 30 bullets/mag, 120 bullets in inventory.

 You shoot 10 bullets -> now you have 20 bullets in mag, 120 bullets in inventory.

 You reload -> now you have 30 bullets in mag, 110 bullets in inventory.

 

Ammo counted in mags:

 Max 30 bullets/mag, 5 mags in inventory.

 You shoot 10 bullets -> now you have 20 bullets in mag, 5 mags in inventory.

 You reload -> now you have 30 bullets in mag, 4 mags in inventory.

 

There are no "rules" when to use on over the other. Counting the ammo in mags is more realistic since when you reload you drop the mag which was in the gun and put in a new one. So you lost the bullets which were in the dropped mag. Of course you can make a more complex system which stores each mag separately so when you reload you don't drop the mag but instead you put it back to the inventory, and when you reload you check how much bullets the mag has. If you are going for a more casual style fps, then definetaly count the ammo in bullets.

Share this post


Link to post
Share on other sites

  • 0

Bullets are the thing you fire. Mags are the chargers that have the bullets inside and have to be loaded in a gun so it can fire bullets

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...