Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn Off Unlimited Ammo. #381

Open
bigniiggaa opened this issue Dec 27, 2023 · 1 comment
Open

Turn Off Unlimited Ammo. #381

bigniiggaa opened this issue Dec 27, 2023 · 1 comment

Comments

@bigniiggaa
Copy link

Why is Unlimited Ammo turned on and how do i turn it off...

@griha41
Copy link

griha41 commented Jan 7, 2024

Why is Unlimited Ammo turned on and how do i turn it off...

Because this mission was made not for a single player.
So if you're developer and creating weapons (models/configs), you'll anyway will reach the testing stage (the damage for the barrel, speed of realoading between shots and lots more) for that reason there's a bind on R (reloading mag), that keybind checks is mag empty and if so - it will fill it to the full state.

You can disable it manually, search for key bind: DayZCommunity...../core/modules/ComKeybinds/COMKeyBinds.c

Method: override void RegisterKeyMouseBindings()

Comment next lines:
reload.AddBinding( "kR" );
RegisterKeyMouseBinding( reload );

Or simply reassign the bind from kR to any other letter you want, for example "kBackSpace" (reloading if you'll click the Backspace keyb button.

Wish you luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants