Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0

burst chaingun-whacked4


so ive been learning how to use whacked4 but i want to learn how to make the chaingun a burst rifle is it possible? if yes please help me.

Share this post

Link to post

2 answers to this question

Recommended Posts

  • 3

Basically, you'd just need to use additional frames between the "FireCGun" action but before the "Refire" action. The chaingun shoots twice by default, but by reallocating some other frames, you could make it shoot a 3rd time, then call a frame with a ~20 tic duration as the "cool down" between bursts.


Since examples are often easier than explanations, here's an old wad called CoopBuild which replaces the pistol with a burst-fire rifle. If you open the included DEH file in WhackEd, you can see how it works - from the moment the player clicks "fire", it goes through many frames, ending with a 20 tic cooldown frame, before it finally goes back into the "WeaponReady" state (which means the gun has stopped firing, and is ready to be fired again).


Hopefully the included example makes it clear - make sure you follow each frame, and pay close attention to the "next" frame to see all that happens when the player simply fires the gun.



Share this post

Link to post

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