Jump to content

Is it possible to make an iron sight sway like scopes do?


kingharvest

Recommended Posts

I'm interested in how sway works with scopes and how I can get that to work for iron sights. The three simplest things are changing the player ActorValue AimStability, the weapon's aim model stability, and the weapon's "HasScope" property. I tried changing those in different combinations and it seems like the two aim stability values don't do anything unless "HasScope" is set to true, and setting "HasScope" to true forces you into the scope visual overlay when you aim down sights (thus making it not iron sights anymore).

 

I feel like iron sights sway should be possible to implement, since the "See Through Scopes" mod has a sway option and shows your raised weapon without the vanilla scope overlay. I took a look at what that mod is doing, but it appears that by default sway is off and something in a script is responsible for turning it on and the version of the mod that I found didn't have sources. The documentation I found for See Through Scopes didn't cover how sway is implemented.

 

I think limb damage does something similar in iron sights, but every time I've tried to find how limb damage is hooked up in the CK I made no progress, leading me to assume it's largely hard-coded. If someone can point me in the direction of documentation on limb damage that would be awesome.

 

Any ideas greatly appreciated!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...