Machine Posted January 8, 2022 Share Posted January 8, 2022 is there anyway to remove the animation that player make when shooting , i am trying first person shooter mod , and the camera keep shaking cuz of the animation , is there anyway to disable that by code ? Link to comment
NeXuS™ Posted January 8, 2022 Share Posted January 8, 2022 I'm not sure if it possible to disable that animation, maybe you could try to cancel the shooting itself and create your own projectile for weapons, essentially, creating your own weapon handling system. Are you 100% sure the camera shake is because of this animation? Link to comment
Moderators IIYAMA Posted January 8, 2022 Moderators Share Posted January 8, 2022 1 hour ago, NeXuS™ said: Are you 100% sure the camera shake is because of this animation? Good observation. If it is an old resource. The shaking is probably created by createExplosion. The explosion was set to tiny, damage + sound disabled and placed behind the camera. Which is the old method for making the camera shake. Link to comment
Machine Posted January 9, 2022 Author Share Posted January 9, 2022 5 hours ago, IIYAMA said: Good observation. If it is an old resource. The shaking is probably created by createExplosion. The explosion was set to tiny, damage + sound disabled and placed behind the camera. Which is the old method for making the camera shake. that did the trick thank you so much 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now