Posts: 18
Threads: 3
Joined: Aug 2012
Reputation:
0
12-20-2012, 11:41
Hello guys.
I am facing issue with moving weapons to weaponType\projectile\weaponClass\rifle (Call of Duty 4). When shooting from such weapon I'm getting kick back effect. Is there any possibility to remove this kickback effect? I'll appreciate any help. Thanks.
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
As i know 'kickback' effect is animation.
Did you mean "recoil?"
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 87
Threads: 6
Joined: May 2011
Reputation:
0
12-21-2012, 12:37
(This post was last modified: 12-21-2012, 12:38 by tadej.)
he means this:
or Rpg bost glitch is sam it splash u from floor 2 m up...
Same is with ray gun but its only few cm...
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
12-21-2012, 12:48
(This post was last modified: 12-21-2012, 13:20 by Nekochan.)
About video -
Is it destribuctible_car_mp ?
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 18
Threads: 3
Joined: Aug 2012
Reputation:
0
Hello guys. I've found that this kickback is tied with weapon's fireTime value. This could be workaround for this issue. But works well only with fireType\single shot. So my question is. Is there any possibility to make player attack using scripts. Something like "+attack;wait-attack" only from script. Maybe via notify. I'll appreciate any help. Cheers.
Posts: 619
Threads: 30
Joined: Oct 2010
Reputation:
85
12-24-2012, 20:34
(This post was last modified: 12-24-2012, 20:36 by Nukem.)
Does the g_knockback dvar exist in CoD4? Just set that to 0 and it should work.
edit:
Dvar is only when you shoot another player, not when you shoot