Jump to content

Help with Swaying


Recommended Posts

Posted

The option in the main menu to turn Swaying on/off, basically provides camera movement when you move around in first person mode using a gun/detonator.

 

How can I activate "Swaying" mode without needing to be in First Person Gun mode?

 

I found out it is activated by these commands:

 

cg_runpitch 0.002
cg_runroll 0.005
cg_bobup 0.005
cg_bobpitch 0.002
cg_bobroll 0.002

 

I want it to work in Third Person. Any ideas?

Posted

As I said earlier, I'm pretty sure this programming is tied to the first person (gun) view, but I'd love to have someone who knows more about the code challenge me on this.

Posted

Yeah, those cvars only make your gun appear to sway as you run. All it's doing is moving the position of where it's drawn in first person. The aiming isn't affected at all. It wouldn't make sense to apply it to third person because the gun is attached to the player which doesn't move

Daedra, eezstreet and Cerez like this

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...