Blox's BFG isn't bad, but there should be more frames to smooth out the barrel transition between the recoil and going back to the ready state,
Re: Improving PerK's smooth animations mod
Posted: Wed May 02, 2012 8:15 pm
by Blue Shadow
The following code makes the plasma rifle fire one round instead of two per fire sequence while keeping the 6-tic fire animation. Though, the "cool down" animation had to be reduced to 17 tics which isn't that bad, IMO.
Fire:
PLSF C 1 Bright A_FirePlasma
PLSF D 2 Bright
TNT1 A 0 A_ReFire
PLSF E 1 Bright
PLSF F 1 Bright
PLSF E 1 Bright
PKPL B 1
PKPL DEF 1
PKPL G 3
PKPL FEDC 2
PKPL BA 1
Goto Ready
Hold:
PLSF E 1 Bright A_FirePlasma
PLSF F 1 Bright
PLSF E 1 Bright
PKPL B 1 A_ReFire("Fire")
PKPL DEF 1
PKPL G 3
PKPL FEDC 2
PKPL BA 1
Goto Ready
Note that you don't have to use this if you don't want to. It's merely a suggestion.
Re: Improving PerK's smooth animations mod
Posted: Thu May 03, 2012 5:20 am
by JoeyTD
Updated with a new pistol frame and fixed them to likes look the original PK animation, fixed the decorate for it too.
Re: Improving PerK's smooth animations mod
Posted: Fri May 04, 2012 4:13 am
by NightFright
Hmmm, well actually the pistol looked fine to me after Blox' latest tweaks. I think I have to get working on the BFG on my own.
Re: Improving PerK's smooth animations mod
Posted: Fri May 04, 2012 4:18 am
by Blox
It's a bit hard to fit all of that into 10 tics, which is the original delay after firing the BFG. (AFAIR)
Which is why it's so damn silly, I had to cramp all the recoil frames, and some of the black-thingy-goes-up frames into 10 tics.
That can't end well. :v
Re: Improving PerK's smooth animations mod
Posted: Sat May 05, 2012 8:28 am
by NightFright
And updated the pistol once more, again with the extra frame and additional muzzleflash frame from JoeyTD's last post. I hope I got the muzzleflash part somewhat right.
Re: Improving PerK's smooth animations mod
Posted: Sun May 06, 2012 10:34 am
by DenisBelmondo
Hi.
I implemented Blue Shadow's plasma rifle code into both WADs and I also extended one of its frames so the "cool off" time would be 20 tics like the original. I also slightly repositioned one of the pistol's frames and sped up the muzzle flash animation. I'm not sure if you're willing to update your first post with these, but here you go anyway.