ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.74k stars 631 forks source link

Common ammo pool for mp5 smg and terrorist glock pistol #3153

Closed pingumaharaj closed 3 years ago

pingumaharaj commented 3 years ago

Hi, counter-Strike 1.6 : Buying ammo for the glock pistol in terrorists also buys ammo for the mp5 smg. Spending the mp5 ammo also reduces the glock reserve ammo count, even if you are not firing the glock.

As far as i know this is not supposed to happen. they seem to have a common pool of extra ammo or something.

Example : say i have 20 / 100 bullets of glock , i will get 100 of mp5 too. after firing the glock and reloading , i get 20/80 after reload , and 30/80 of the mp5 too despite not having used the mp5 . the mp5 counter shouldnt be deducted unless you are spending mp5 bullets and reloading.

Can this be resolved?

rtxa commented 3 years ago

They both share the same bullet which is 9mm, and that's the max ammunition you can carry of that type, that's the normal behaviour.

pingumaharaj commented 3 years ago

Yes , but if i am firing the mp5 , and not using the glock at all , why does it reduce the counter for the glock which has not been used at all ? This is was not so before as far as I can tell. Attaching relevant screenshots :

On Fri, Oct 15, 2021 at 6:17 PM rtxa @.***> wrote:

They both share the same bullet which is 9mm, and that's the max ammunition you can carry of that type, that's the normal behaviour.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/halflife/issues/3153#issuecomment-944269347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAEK5YX4GDHP4OFZITYD7LUHAPFXANCNFSM5GB2QURA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

SamVanheer commented 3 years ago

That's intentional behavior, and has been for all of Counter-Strike's existence. Half-Life also does this.

pingumaharaj commented 3 years ago

Awesome, thanks!

On Sat, Oct 16, 2021 at 8:24 PM kisak-valve @.***> wrote:

Closed #3153 https://github.com/ValveSoftware/halflife/issues/3153.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ValveSoftware/halflife/issues/3153#event-5473157245, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAEK57ZMDSE65HBT2SRP4LUHGGYRANCNFSM5GB2QURA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.