by Snarboo » Sun Jun 12, 2011 11:55 am
I noticed there are a couple [wiki=CVARs:Configuration]CVARs[/wiki] that change how view bobbing is handled, namely movebob and stillbob. Would it be possible to expand this to apply to weapons too? There are times when you want the bobbing to vary based on weapon. For example, a heavy weapon should in theory bob less than a light pistol.
The new weapon properties might look like this:
Weapon.MoveBob Horizontal (x) weapon bobbing, Vertical (y) weapon bobbing
Weapon.StillBob Weapon still bob value
Weapon.StillBobDelay Delay in tics before still bob takes over
If the weapon does not have these properties set, the weapon uses the defaults.
Edit:
Had weapon bobbing and view bobbing confused, so I updated the post with a more relevant suggestion.
I noticed there are a couple [wiki=CVARs:Configuration]CVARs[/wiki] that change how view bobbing is handled, namely movebob and stillbob. Would it be possible to expand this to apply to weapons too? There are times when you want the bobbing to vary based on weapon. For example, a heavy weapon should in theory bob less than a light pistol.
The new weapon properties might look like this:
[b]Weapon.MoveBob[/b] [i]Horizontal (x) weapon bobbing[/i], [i]Vertical (y) weapon bobbing[/i]
[b]Weapon.StillBob[/b] [i]Weapon still bob value[/i]
[b]Weapon.StillBobDelay[/b] [i]Delay in tics before still bob takes over[/i]
If the weapon does not have these properties set, the weapon uses the defaults.
[b]Edit:[/b]
Had weapon bobbing and view bobbing confused, so I updated the post with a more relevant suggestion.