Quick and easy Double-Blaster


Posted by Maj.Bitch (24.95.222.*) at 2:30 PM, 5/3/2001:


Are you tired of just one blaster bolt shooting out when you fire that weapon? If so, you can quickly and easily make 2 bolts shoot out with a single trigger pull by making this quick change.

Find your Think_Blaster() function. (or, it may be named weapon_blaster_fire() )

Anyway, change this:

fire_frames[]={5,0};

to this:

fire_frames[]={5,8,0};

What we did was to add another firing frame to the blaster's firing sequence which is handled in Weapon_Generic (at the bottom). Each firing frame causes the fire_func() function to be called. So, add another firing frame to this weapon and you'll fire twice!

Also, you can add another firing frame (or remove them) from your other weapons as well. Experiment around and find what works for your particular mod..

That's it!

Have fun!

Maj.Bitch