The sprint animations for stcop weapon pack is very inconsistent. This addon is a script that will use the lower weapon feature as the sprint animation. The result is a consistent sprint animation across all the weapons.
This addon will work with any weapon pack as it basically replicates pressing the lower weapon (default 'b' keybind) and sprint
Before:
After:
CHANGELOG
version 1.2.0.3:
- fixed the bug where weapon will shoot or aim while using the 2d pda and sprinting
version 1.2.0.2:
- fixed the bug where weapons with inspect animations will inspect after sprint
version 1.2.0.1:
- removed unintentional print_f of weapon state on every tick
version 1.2:
- fixed issue where aiming and shooting was delayed when starting sprint
- changed the way the weapon raises to prevent issues with the menu's and weapon grenade launchers
version 1.1:
- fixed aim being ignored while weapon is lowering (both sprint and manual lowering).
- For non toggle aim users it will aim if the aim button is still being pressed when weapon is fully lowered.
- For toggle aim users it will aim as soon as it was lowered completely after tapping right click.
- fixed issue where lowerable melee weapons would swing after sprint
version 1.0.4:
- material changes to prevent causing issues with addons using zoom in and out callback (eft rattle excessively rattling as example)
version 1.0.3:
- fixed weapon raising after sprint when weapon was lowered via the "Lower/Raise Weapon" button
version 1.0.2:
- fixed weapon aiming automatically after sprint when "toggle aim" is enabled
version 1.0.0/1.0.1:
Смотрится круто намного лучше! совместим ли с этим аддоном Moddb.com и этим Moddb.com ?
I don't understand Russian so I used google translate. Yes this should be functional as it's a script that forces the weapon to lowered when sprinting. It's basically like using lower weapon keybind and then sprint.
Окей спасибо большое я протестирую! извини за не знание английского!
Thanks for this.Much better than this buggy original animation. Good work:)
Is there any way to make a script version for weapon animations reloading etc...? This would be awesome:)
Unfortunately all weapons has a unique reload and a script won't be able to resolve that. The lowered weapon function is basically the weapon idle animation rotated and the running adds the sway. Which is why this is possible without touching the weapon animations.
The reload(and original sprint) animations would have to be recreated using 3d model and animation software. Something I attempted but it turned out to be horribly complicated due the lack of knowledge using 3d modeling tools.
I understand its very heavy:()
But there must be a way to put addons like reloading animations rebalance in an db file without overwriting things from view models
From what I understand the meshes for the weapon contains the various animations in omf format.
There is a addon called anomaly weapons animation redux which takes smooth animations from various weapon packs. Can't remember if some of the animations are completely overhauled or just smoothed out. It replaces the majority but not all of the weapons(ak_74, ak_105 etc) and manual changes to the weapon configs are required if you want to use it with stcop only.
Thx for your help:) I actually use your addon with better camera, newest liement view, jsrs, tacticool scopes and so many more balancing addons. Its all more immersive now. The only thing i miss: some new attachments like frontgrips, lasers, new scopes and drum magazines. That would be awesome if somebody would release this:) and some not included weapons like mp40, m60, uzi, stg44...:)
anomaly has engine functionality for scripted partial reloads, doing this looks awful though.
Another mod that I didn't know I needed until it got released, Works great with the EFT RE-POSITION mod, thanks for your contribution stalker!
Really good mod
Отличный мод
Humans can still surprise you, this community is an example, it seems that everything is invented, but every day a guy comes out that forces me to include one more addon (I have 105 with JSGME and 42 in db / mods)
Yours is great and it works, I have B&S (March update) and when I run I hit the b key of the game to bring the weapon closer, your addon does it automatically, it is a more natural way to carry the weapon when running. THANK YOU for your work and sharing.
After running, my weapon switches to aiming mode automatically, is that how it should be?
Seems like the toggle aim enabled does not release the zoom used to break out of the lowered weapon state. Will have a look into that.
Not in my case, you mean by "pointing the gun" to the action of the right mouse button?
After running the weapon returns to the normal position, running picks up the weapon as if you pressed the B key, default in the game, at least in my game with all the addons I have installed.
I have prepared this video in my game:
Easyupload.io
The B&S lowered weapon sprint actually looks quite cool. The issue that is present in this case is when you enable the 'Toggle aim mode' in Settings > Control > General. It will aim automatically after you stopped sprinting. The bind that I'm using to raise the weapon is aim. Might need to use another bind to raise the weapon.
I could be wrong, since I don't know coding... The line in the script is "level.press_action(bind_to_dik(key_bindings.kWPN_ZOOM))" if followed by "level.release_action(bind_to_dik(key_bindings.kWPN_ZOOM))" but doesn't release? If you change "release_action" to "press_action" would that fix it? Like pressing the zoom key twice... Just a thought. Again, I don't know coding.
Changing the 1st reference to that line fixed the weapon switching to aiming mode automatically for me.
Yes with the 'Toggle aim mode' enabled 2 x "level.press_action(bind_to_dik(key_bindings.kWPN_ZOOM))" will cancel the sprint without aiming. The release action is still present after the 2 zoom presses to cancel the zoom for non toggle aim players. Added that to the next version I'm working on.
That change will be uploaded after completing the workaround for the aiming not registering while weapon is being lowered. Otherwise I could just upload the current version with the 'Toggle aim mode' fix.
Cool. Thanks for your mod and work!!
I have uploaded the fix for the toggle aim. Let me know if it solved the issue for you
This is amazing stuff!!!!!! love this mod really makes the game immersive, keep up the good modding!!!
going to buy some biltong later today so happy lol
A suggestion. You should add a check that looks if you already have the weapon lowered. The script should be skipped if that is the case.
Also can confirm that with aim toggle enabled when you stop sprinting you get pushed into aim.
Hey man, are you referring to the `game.actor_weapon_lowered()` condition? Basically just move it up as the first check to prevent doing the other checks and sets(if weapon is lowerable)?
Are you sure it doesn't affect animations? In the fashion (BLINDSIDE'S WEAPON REANIMATION AND REBALANCE - "LONER"), when a character runs with a gun, he removes it from the screen. And when I put your mod, the gun he holds as in the video
(yandex translator)
The sprint animations of all weapons regardless of the weapon pack will use lowered weapon animation(default keybind 'b'). I recall the makarov and other pistols in (BLINDSIDE'S WEAPON REANIMATION AND REBALANCE - "LONER") lower weapon is just tilting the pistol downward. I think it would be possible to exclude all pistols.
с этим модом BLINDSIDE'S WEAPON REANIMATION AND REBALANCE он не убирает пистолет но с этим модом смотрится вмести ани намного лучше и это круто ! СПАСИБО БРО
good addon you make here :)
just asking ? will it working well with Anomaly Weapons Animation Redux V0.97 without any error or bug ?
Should work without issues. The script is basically like pressing b (lower weapon keybind) when sprinting.
It would be perfect if it 'remembers' if you already have the weapon lowered so when you release the sprinting key it stays lowered. understand?
Thanks for the great little mod.
Theoretically I can see how it's possible to do that. My first priority is to fix the Toggle aim mode and prevention of aim on the action of lowering the weapon when sprint issue. I'll probably add that on the next version if it's doable.
Very Awesome And Handy Addon That You've Published Thanks A Bunch ! Skieppy !
somewhat breakes my primary fast-mutants dealing tactic with shotguns method, sprint>jump>ads
Unfortunately it's the result of using lowering and raising weapon. I don't think I can speed up the action. I would like to bypass the execution of 'safemode' and just replicate the hand animations but, I lack the knowledge to do that or even know if it's possible using only lua scripting.
If player is pressing ads then
Don't raise weapon?
endif
??
It should raise the weapon but, there is a small time frame(about 1 second) on the weapon lower action that will ignore key down. Another key stroke is require to ads. only after weapon is lowered completely it registers the ads.
Unless he is referring to the speed of the lowered to ads outside of this edge case
must have 10/10 thx pro
an amzing simple yet impactful change. would love to see a fix for the bug where, if your weapon is already lowered and you begin sprinting and once finished sprinting, it raises the gun back to its defualt state. once thats done id say this'd be perfect.
On the version I'm working now that is already been fixed.
Still trying to fully resolve the issue where right click is ignored while the weapon is going in lowered state. Which is why I haven't uploaded the fix for the mentioned issue yet.
I can upload that later today.
glad to hear nice work
cheekibreekiivdamk @nb79 The new version will remember the lowered state when you lower it manually
Thanks for the mod. downloaded the update.
I play with aim rattle, and after the sprint, the rattling of weapons is played, can this be somehow fixed?
I had a look at the 'EFT_Aim_Rattle_1.2' script and tested it out. The issue is that aim key presses are used to break out the lowered state(2 for the toggle aim players). That with the weapon raising is playing 3 sounds. I have tested the lowered weapon sprint using weapon fire rather than aim to break out of the lowered state. Seems to be better. But it's given that running with your weapon down and then aim will play the rattle of raise and aim.
Will upload this change soon.
This comment is currently awaiting admin approval, join now to view.
Thank you bro. This is 10\10
axe is autofiring after sprint is stops. is it bug or feature?
Streamable.com
A bug... Might need to use the default raise function if it's a lowerable melee weapon or ignore melee weapons completely. Will have a look and upload a fix when ready
The axe autofiring has been fixed in 1.1. It is also now possible to queue aim when weapon is lowering and it will aim once it's fully lowered.
thx for the fixes.
same wit underbarel gl. it is also autofiring.
On my attempt it only reloaded the under barrel gl when it was empty. It didn't fire off the grenade when using the ak 74 (alternate). Which gun were you using?