The stand-alone mod S.T.A.L.K.E.R. Anomaly aims to be the most stable and customizable experience for fans of the S.T.A.L.K.E.R. games. It's powered by the Monolith 64-bit engine, a custom fork of the X-Ray engine.

Description

Customizable weapon sway with million MCM options.

Preview
Weapon Sway 1.0
Post comment Comments  (0 - 50 of 210)
IgorDolvich
IgorDolvich - - 62 comments

Looks very interesting, can't wait to try it out. Good job bro!

One thing of note, would it be possible to "cancel" out the sway if you were up against a box/wall/sandbags/etc? Canceling sway would change up combat dynamics. If you wanted to take a more difficult shot, you would need to maneuver to some kind of cover to rest the weapon upon. Also, does the sway go away if you're prone? Crouching/Standing obviously there should be sway, but prone you'd be able to have a prone supported position and pretty much reduce most sway in real life.

Reply Good karma Bad karma+5 votes
bvcx Author
bvcx - - 2,140 comments

Prone is Low Crouch in settings, you can set it to 0 to disable sway while in low crouch body state ;]

About sandbags and walls I'm not really sure if it's possible. Will take a look.

Reply Good karma+4 votes
Grokitach
Grokitach - - 896 comments

I think it's possible with ray casting and adding an angle from center ray casting to the bottom and left right side of the screen versus ray cast center of the screen.

If ray casted center distance > ray casted distance bottom or right / left side of the screen it means actor is near a wall.

Reply Good karma Bad karma+9 votes
bvcx Author
bvcx - - 2,140 comments

Added, but only for obstacles infront of you (with a small side radius), x z axises are pain to play with.
tnx Grok for a tip ;]

Reply Good karma+9 votes
reter
reter - - 615 comments

you're a genius!

Reply Good karma Bad karma+3 votes
Guest
Guest - - 690,483 comments

Damn bro, that's awesome. Thank you!

Reply Good karma Bad karma+2 votes
Skieppy
Skieppy - - 80 comments

Edit: Damn beat me to the first comment ↑

Nice

Reply Good karma Bad karma+2 votes
IgorDolvich
IgorDolvich - - 62 comments

lol

Reply Good karma Bad karma0 votes
Ishmaeel
Ishmaeel - - 282 comments

I already cannot hit the broad side of a barn, knowing this exists and there is a nonzero possibility that it can be downloaded and installed on top of my game makes me seriously nervous.

Good job.

Reply Good karma Bad karma+3 votes
bvcx Author
bvcx - - 2,140 comments

for even better experience multiply ammo dispersion by 10 ;]
(but honestly even that won't feel too much of a difference...well, still better than vanilla values)

Reply Good karma+3 votes
Guest
Guest - - 690,483 comments

When I try to load my game, it crashes. I have BHS Installed and below that your BHS Version. Here is the error log:

FATAL ERROR

[error]Expression : xml_doc.NavigateToNode(path,index)
[error]Function : CUIXmlInit::InitStatic
[error]File : ui\UIXmlInit.cpp
[error]Line : 154
[error]Description : XML node not found
[error]Argument 0 : body_health_system
[error]Argument 1 : ui\ui_custom_msgs.xml

stack trace:

Reply Good karma Bad karma0 votes
bvcx Author
bvcx - - 2,140 comments

Forgot that text based BHS version is different and need patch too, sorry, fixed.

Reply Good karma+1 vote
]{oNtrAst
]{oNtrAst - - 261 comments

(Google translator) Do you remember in some version of RC# there was a swing of weapons when the character was walking? Then the developers removed it. I've been trying to get this swing back for three weeks now, but it doesn't work out. Could you do that?

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

What swing? You mean when you stand still the weapon swing (like from breathing)?

Reply Good karma+1 vote
]{oNtrAst
]{oNtrAst - - 261 comments

Youtu.be Using the example of the desolation mod, this is exactly what I want to do - swinging the sight when walking, but not only with the sight on, but also without. In older versions of anomaly, this was

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

That's... something entirely different of what this addon does xd I have no clue how to manipulate the gun itself sorry. This addon simply plays camera animation.

Reply Good karma+1 vote
]{oNtrAst
]{oNtrAst - - 261 comments

I see, thank you for the quick answer. Can you suggest someone who can tell me how to do it?))

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

Anomaly devs maybe.

Reply Good karma+1 vote
RuJohnny
RuJohnny - - 26 comments

i think it's weapon_sway console command that you're talking about

Reply Good karma Bad karma+1 vote
mirror1992
mirror1992 - - 85 comments

Compatible with BaS?

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

Yea

Reply Good karma+1 vote
Ekkaia!
Ekkaia! - - 301 comments

Dead Air had a nice sway mechanics, when depending your stamina it was higher or lower and if you wanna "mantain breath" for reduce it, it consumes stamina faster.

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

Gonna look wonky coz u have to reset animation to play its new power of effect. Will try to replace animation for camera direction in the future, this will open a lot of new possibilities as hold breath, stamina dependency etc. ;]

Reply Good karma+1 vote
Guest
Guest - - 690,483 comments

I keep getting this error:

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CObjectAnimator::LoadMotions
[error]File : ObjectAnimator.cpp
[error]Line : 47
[error]Description : fatal error
[error]Arguments : Can't find motion file 'weapon_sway\sway_3.anm'.

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

Ye well, it's because there is no sway_3.anm in files.
There are currently only 2, I left these options open for people to add their own (which I described in description).

Reply Good karma+2 votes
AyeBlin
AyeBlin - - 364 comments

What's the difference between this one and Beef's one?

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

Beef's addon using vanilla's sway, which you can change but it's very hard to do because it's in ltx and you gotta refresh game for every single change, plus it's not very understandable (on paper) which values do what or how they change certain thing. Some other thing is that vanilla's sway breaks up animations once you set it too high (the value I desired did it for me, that's why I had to make my own).

This addon is controlled by script and have a lot of MCM options so you can change it in game to your liking, add different camera animations (there are plenty in Anomaly files or you can yoink from other mods). Plus some new features that I want to add and the one I just added (to put a weapon on obstacle to decrease sway), with the intention to make all of them adjustable via MCM. ;]

Reply Good karma+2 votes
AyeBlin
AyeBlin - - 364 comments

Oh I see thank you so much

Reply Good karma Bad karma+1 vote
TySG
TySG - - 110 comments

There's any way to install the addon without MCM?

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

You can install it without MCM, it's gonna work but if you'd like to change anything you'd need to do it manually in "_mcm.script", it's not hard but why? MCM is a simple drag and drop tool that does not conflict with anything and many addons use it.

Reply Good karma+2 votes
Mantruffle83
Mantruffle83 - - 55 comments

What’s the correct load order to use with groks bhs?

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

1. BHS
2. Weapon sway BHS
(and if u use text version of BHS then 3. Weapon sway BHS text ver)

Reply Good karma+1 vote
someonethatdied
someonethatdied - - 123 comments

Getting a CTD after zooming in a ACOG scope with an BaS M4A1. Using the BHS normal version patch.

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

ctrl+v error here

Reply Good karma+1 vote
someonethatdied
someonethatdied - - 123 comments

FATAL ERROR

[error]Expression : <no expression>
[error]Function : CObjectAnimator::LoadMotions
[error]File : ObjectAnimator.cpp
[error]Line : 47
[error]Description : fatal error
[error]Arguments : Can't find motion file 'weapon_sway\sway_3.anm'.

stack trace:

Is this enough info? I'm using default settings btw

Reply Good karma Bad karma+1 vote
someonethatdied
someonethatdied - - 123 comments

actually duping one of the anims and renaming it did the trick, so the game thinks it exists.

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

There are only 2 existing sway animations, all "custom" ones are for people to add their own.

I should probably delete custom options xd

Reply Good karma+1 vote
Legapon
Legapon - - 69 comments

Together with Grok's Body Health System Redux_1.6.7 this works well only when there are no injuries to the limbs. If the limbs are damaged, the swing of the weapon completely stops. But it is necessary to cure the injury and the swing of the weapon resumes.
Without your addon, but with Grok's Body Health System Redux_1 installed.6.7 it was the opposite. In healthy hands, the weapon did not swing, and if the hands were damaged, it was very difficult to aim.

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

****, sorry ;[
fixed.

Reply Good karma+1 vote
Legapon
Legapon - - 69 comments

Thanks for the feedback, but the problem persists.
Now there is a swing of weapons on damaged hands, but it is much less than on healthy ones.

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

Yup the intention wasn't to make this addon be based on BHS, patch just makes it work with it cause otherwise it would play both animations. If you wana play with BHS you need to tweak down some MCM configs. Default values in BHS version are same as in non-BHS version.
(I really didn't want to change BHS script itself, more like making it compatible only)

Although, there is MCM coming for BHS too soon (hopefully) ;p
Which will make it easier to tweak BHS's sway instead.

Reply Good karma+1 vote
reter
reter - - 615 comments

Can you also do something that reduce the sway if you're near a wall using the leaning movement? i mean, like if you're standing the weapon on the side of the wall when aiming...

dunno if it's realistic, but this is what i would do if i do need more stability with my weapon but i don't have any objects around

Edit: should be even more awesome if you manage to do the shift key while aiming to hold breath and getting more stability, i noticed there's already the heartbeat sound while aiming dunno if is your addon or the prpject inertia addon, but is a great addition! Now i can feel the tension behind aiming a dude

Reply Good karma Bad karma+4 votes
MarcosniGP1
MarcosniGP1 - - 42 comments

I think it is a good idea

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

Walls are hard to make, only playing with y-axis was easy ;[

I have a script with "hold breath" feature ready, it just looks weird because I wanted to do it correctly: like, to increase sway power afterwards by the amount of time you held your breath. The problem here is that we can't set power factor to animations like we do to post-process effectors. We have to reset animation to play its new power and when sway is big (after holding breath) and we reset animation, camera then jumps into the middle every time. You can see it now too even without this feature, it just isn't very noticeable and doesn't look that bad right now because of sway not being that big.
So, I can't really make it look like it isn't buggy as hell.

I spent 2 days on it and then scratched the idea only because how bad it looks, really tried sorry ;[

(Will try to think of a light version of this feature without animation power as penalty, idk maybe stamina decrease? This one is weird too when you can't run after aiming xd)

Reply Good karma+2 votes
bvcx Author
bvcx - - 2,140 comments

Okay I decided to still add the hold breath feature with a few tweaks to make it look less "bad". Will leave it up to you if you still want to play with it ;]
It doesn't actually look that bad with small multipliers...

Reply Good karma+2 votes
jluka1000
jluka1000 - - 54 comments

For the next update can make that the hold breath key be configurable? i really would appreciate it

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

If I add it to options I will then need to add tons of compatibility patches for every single addon that does that. Also (that's how it works in vanilla) when you hold some key during aiming, then stop aiming while still holding that key and release it - you will perform that action. For example if I bind it to jump and you release button after aiming - the actor will jump. "Use" to me seemed like the less harmful.

Reply Good karma+1 vote
reter
reter - - 615 comments

Ok for some reason i don't hear the heartbeat when aim anymore :( , dunno what addon does that feature but now is missed, does someone know what addon adds that?

Reply Good karma Bad karma+1 vote
Guest
Guest - - 690,483 comments

Wow. Unfortunately I'm away on holiday, but this mod looks awesome. The ability to use obstacles to steady your aim is terrific. There's a game called Post Scriptum that does this and it's one of my favorite gameplay feature. Can't wait to get home and try this.

Reply Good karma Bad karma+1 vote
Theo_the_Dog
Theo_the_Dog - - 176 comments

Would it be possible to rebind the key to the "sprint" key? I was thinking if you wanted to add key options for the hold breath feature, you could add a dropdown with acceptable functions to share a key with (sprint, use, etc.)

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

The thing is - I don't want to add key options ;]
But will add anyway soon... Other actions just gonna be buggy and I'll have reports that are already in description (once I add it) ;[

Reply Good karma+1 vote
Theo_the_Dog
Theo_the_Dog - - 176 comments

I dunno if you can limit it to keys/actions that aren't buggy. I feel like the sprint key would work fine, it really doesn't do anything while you're ADS. There's probably others.

Reply Good karma Bad karma+1 vote
bvcx Author
bvcx - - 2,140 comments

It does, once you cancel aim you gonna sprint (if option for toggle turned on... or off I don't remember) ;]
Jump and sprint were my initial thoughts, both are buggy.

Reply Good karma+1 vote
Theo_the_Dog
Theo_the_Dog - - 176 comments

Ah poop.

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

Weapon Sway 1.0 has not been tagged yet.