Hi,
It's possible to change a weapon fire recoil time with just the mutators functions? Or do I need to subclass the weapon?
Change weapon fire recoil time
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Change weapon fire recoil time
Do you mean the actual refire time or the animation time?
So long, and thanks for all the fish
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Change weapon fire recoil time
OK here's the problem with that: You might ruin the weapon fire anims unless you also deal with that code too. Some weapons have PlayAnim built into the firing code but some don't. You'll likely end up subclassing depending on the desired changes, since your local view will see the desired change in fire rate but your replicated animations that other players see might not be correct.
Drop me an email if you don't want it public and I'll help you sort through it.
Drop me an email if you don't want it public and I'll help you sort through it.
So long, and thanks for all the fish
Re: Change weapon fire recoil time
The problem is that I can't subclass the weapon that I want.
Well I tried but seems zp packages have headers corrupted/obfuscated or something like that and don't allow me to use them in the editpackages to subclass the weapon. That's why I asked if I can't do it with just mutators functions.
Well I tried but seems zp packages have headers corrupted/obfuscated or something like that and don't allow me to use them in the editpackages to subclass the weapon. That's why I asked if I can't do it with just mutators functions.
-
- Godlike
- Posts: 3774
- Joined: Fri Jan 14, 2011 1:53 pm
- Personal rank: -Retired-
Re: Change weapon fire recoil time
Yep the zp code is stripped. Still what were you trying to subclass, perhaps we can work around it?
So long, and thanks for all the fish