Description

Auto-lower weapon after X seconds (MCM) :: AIM - SHOOT - MOVE to override

Preview
Put that DOWN [1.5+ compatible / MCM]
Post comment Comments
crowsrmad
crowsrmad - - 5 comments

Hey Shoostar813, very nice mod! I always roll around with the low-ready for the professional and confident feel so your mod makes it a smooth deal. One thing though, if it could happen so when aiming down sight would not lower the weapon period regardless of movement or standing still and without having to press the button would be even more fantastic, I have aim toggle on btw. It became an essensial mod for me, so thank you very much for making it! And extra points for the preview!!! Good hunting Stalker!

Reply Good karma Bad karma+4 votes
shoostar813 Author
shoostar813 - - 16 comments

Thanks for pointing out the toggle bit. I think that was something I'd accidentally messed with a bit, but hadn't noticed as I do not use aim toggle.

I will take a look into it here shortly and will see what I can do for you :)

Reply Good karma+3 votes
crowsrmad
crowsrmad - - 5 comments

ooh yeah! "rubbining hands together"

Reply Good karma Bad karma+1 vote
shoostar813 Author
shoostar813 - - 16 comments

Hi, I had to revert a lot of the code back to its original state as I work out the bugs, however, it DOES work as it properly should now. Basically, there's just a ton of leftover code in there that I'll have to remove on my own time, but it doesn't affect how the script works anyway. Go ahead and download it, and let me know if that fixes you up.

Thanks again for pointing this out!

Reply Good karma+2 votes
crowsrmad
crowsrmad - - 5 comments

Ma man! It works like a charm now. 10/10 for the mod and your efforts!

Reply Good karma Bad karma+3 votes
shoostar813 Author
shoostar813 - - 16 comments

I'm glad it works and appreciate the kind words; however, I've only supplied a couple simple fixes, the credit should go to the original author ;)

Reply Good karma+2 votes
2-ton
2-ton - - 144 comments

dumb question but anyway we could have a script that just checks if im close to a frendly non companion AI and just lowers my weapon when im facing him? or is that too much of a perf hog?

Reply Good karma Bad karma+1 vote
shoostar813 Author
shoostar813 - - 16 comments

Not a dumb question, this would be pretty cool. Maybe if I study another mod like Crook's Faction ID system (or something that already has scripting for visual identification of factions), I could learn how to do it. To me, it seems like that could be a useful route to go, and maybe not entirely the most difficult.

However, I'm very unskilled at scripting, so while I don't mind giving it a shot, I highly doubt that I'm going to be the guy to figure it out.

Reply Good karma+2 votes
2-ton
2-ton - - 144 comments

Yeah fair enough, not easy to figure this stuff out for sure!

Reply Good karma Bad karma+1 vote
shoostar813 Author
shoostar813 - - 16 comments

Correct you are! However, part of the reason I made this edited addon is because, well, I wanted the proper functionality, but also to hopefully learn a thing or two, so I can maybe contribute a couple more simple scripts. The one you have sounds like a good idea (and one that I would also use), so again... no promises, but I'll give it a shot!

Reply Good karma+2 votes
2-ton
2-ton - - 144 comments

thanks!

Reply Good karma Bad karma+1 vote
L4U6H1N6-LUN4T1C
L4U6H1N6-LUN4T1C - - 1,183 comments

this is super cool!

Reply Good karma Bad karma+2 votes
SniperHellscream
SniperHellscream - - 981 comments

Hello friend, I get this message in the console when using the latest version, with the previous version this did not happen:

!Found nil option value [autolower/override]

occurs when aiming and when lowering or raising the soul with the default button

Reply Good karma Bad karma+2 votes
shoostar813 Author
shoostar813 - - 16 comments

Yes, I've noticed this as well. It doesn't seem to affect anything, either the function of the script or the game itself, so for now we'll have to put up with this console error.

However, this is something I am aware of, and am actively working to fix. Thanks for pointing this out :)

Reply Good karma+2 votes
Ivan_Castler
Ivan_Castler - - 12 comments

shoostar813, брат, я хотел такой мод, но проблема в том, что он не прячет оружие во время бега или ходьбы, а только если стоять смирно. Не мог бы ты это исправить?

shoostar813, bro, I wanted such a mod, but the problem is that it doesn't hide the weapon while running or walking, but only if standing still. Could you fix that?

Reply Good karma Bad karma+2 votes
shoostar813 Author
shoostar813 - - 16 comments

Yes, this was done intentionally. However, there is an easy fix for you. Please open the file gamedata/scripts/autolower.script and look for this on line 15:

if (is_empty(xr_combat_ignore.fighting_with_actor_npcs) and not IsMoveState("mcAnyMove") and not axr_main.weapon_is_zoomed) then

change to this:

if (is_empty(xr_combat_ignore.fighting_with_actor_npcs) and not axr_main.weapon_is_zoomed) then

Your weapon should now lower while walking or running :)

Reply Good karma+2 votes
shoostar813 Author
shoostar813 - - 16 comments

Hello again, I have uploaded a new version of this addon. You may download it now, it includes two versions: normal Put that DOWN, or Put that DOWN while you move.

You will want to install Put that DOWN while you move, and you should be ok now :)

Reply Good karma+3 votes
Ivan_Castler
Ivan_Castler - - 12 comments

shoostar813, thanks, but it still need fixing. It doesn't hide weapons after walk+aiming. And the mod shouldn't hide binoculars.

Reply Good karma Bad karma+2 votes
Ivan_Castler
Ivan_Castler - - 12 comments

shoostar813, thanks, but it still need fixing. It doesn't hide weapons after walk+aiming. And the mod shouldn't hide binoculars.

Reply Good karma Bad karma+1 vote
ST0NER
ST0NER - - 212 comments

Great, much better than the one I was using, thank you very much. 10/10

Reply Good karma Bad karma+1 vote
RobThom
RobThom - - 128 comments

Thats such an iconic picture at this point, that you would almost think that it was staged. That they posed for it. But they're serious. Missouri.

Reply Good karma Bad karma+1 vote
crpchas
crpchas - - 16 comments

Great mod, a nice QoL improvement.

What would make it perfect would be if it remained lowered even after stopping sprinting. Also, changing the time in the MCM options seems to nullify the mod entirely, I reduced the time from default (7 seconds) to 3, and the weapon no longer lowered.

Reply Good karma Bad karma+1 vote
serenityspace0
serenityspace0 - - 4 comments

Is there a way to modify this so that it will not autolower when reloading? I've noticed since I installed that when reloading a shotgun ( I have the timer set to 15 )
that it will swing all the way to the side.

Reply Good karma Bad karma+1 vote
GrishaFilin
GrishaFilin - - 47 comments

Thank you! It is very comfortable.

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:

Tags