Description

Automatic reloading of weapons with an empty clip on the fire key. Automatic reloading of grenade launchers after firing.

Preview
Weapon Auto Reload v1.1
Post comment Comments
frostvlad13
frostvlad13 - - 18 comments

Got an error the instant I finished repairing an empty pistol.

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: ...maly/anomaly hardcore\gamedata\scripts\autoreload.script:25: attempt to index local 'obj' (a nil value)

Reply Good karma Bad karma+1 vote
maslinupoymal Author
maslinupoymal - - 60 comments

I will fix and test.

Reply Good karma+1 vote
maslinupoymal Author
maslinupoymal - - 60 comments

Try it now. If it happens again, name the exact conditions for a repeat crash, if not difficult.

Reply Good karma+1 vote
massimogrecoab
massimogrecoab - - 515 comments

Not related, but any possibility to fix the 2 horrid bugs of the game?
when you add/remove a scope from a weapon with detachable grenade launcher, either "eat" a grenade (if loaded and if weapons is NOT switched on grenade launcher mode) or "eat" a mag (if you add/remove scope and its in grenade launcher mode). Grozas are immune because grenade laucher it's not removable.
There is a secondary bug: when you add/remove a scope, the selective fire mode change back to default (Auto). So, if you have e.g. selected 3 round burst and add a scope, it change back to auto.
Thanks in advance.

Reply Good karma Bad karma+1 vote
Uxie
Uxie - - 10 comments

Along the same vein it's annoying that the weapons change slots and unequip when you do stuff with attachments.

Reply Good karma Bad karma+1 vote
maslinupoymal Author
maslinupoymal - - 60 comments

As far as I remember, this happens if the weapon was not in the default slot. For example, a shotgun in 2 is removed, in 3 (it is by default) remains. This can be fixed by binding a specific weapon class to only one slot. If I have time, I'll try to do it while maintaining support for different slots.

Reply Good karma+1 vote
maslinupoymal Author
maslinupoymal - - 60 comments

1. I am planning to fix this.
2. I think it's not so scary, but if the time comes, I'll try it too.

Reply Good karma+1 vote
massimogrecoab
massimogrecoab - - 515 comments

Well, thanks. Anyway, the scope problem was fixed by this new mod: Moddb.com

Now, remain only the big bug of the grenade launcher.

Reply Good karma Bad karma+1 vote
gobravo
gobravo - - 144 comments

Thank you! I never understood why he can't auto reload.

Reply Good karma Bad karma+1 vote
GabeCPB0
GabeCPB0 - - 354 comments

Is this "Anomaly Magazines" friendly?

Reply Good karma Bad karma+1 vote
maslinupoymal Author
maslinupoymal - - 60 comments

I have not tested it, but I think so. Check with any assault rifle. The script simply clicks the "reload" button instead of you when the magazine is empty.

Reply Good karma+1 vote
GabeCPB0
GabeCPB0 - - 354 comments

Hey, maslinupoymal, I tested it, and unfortunately, it doesn't appear they work well together.

With "Anomaly Magazines" on, when you're out of bullets and press mouse 1, the default action button, it'll lower the character's weapon. The very same animation as when you're out of bullets, or unjamming. But it won't reload, no matter how many times you try.

Can you make a patch for your addon to work with "Anomaly Magazines"?

Cheers, mate!

Reply Good karma Bad karma+1 vote
maslinupoymal Author
maslinupoymal - - 60 comments

Are you using the Anomaly Magazines correctly? Have you played with Anomaly Magazines before and everything was ok? Check:
1.you have some (more then 1) magazines for your weapons
2.they are charged
3.they are added to the unload (marked with a green circle)
I checked just now on AK74 and SR25, it works ok.
On an empty click, as expected, I automatically replace magazine.

Reply Good karma+1 vote
Kentucky2510
Kentucky2510 - - 124 comments

У меня установлен аддон на магазины, версия игры 1.5.2, оружие автоматические перезаряжается, всё работает. Но буду тестировать дальше

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: