Machine Posted January 8, 2022 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 ?
NeXuS™ Posted January 8, 2022 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? Did I help you? NeXuS™#0001
Moderators IIYAMA Posted January 8, 2022 Moderators 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. Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
Machine Posted January 9, 2022 Author 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
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