Magnum Express Posted June 23, 2011 I have been trying to create weapons that are semi-auto (the fire button must be pressed for each shot) or burst-fire (only shoot three or so rounds, and the fire button must be pressed again for another burst). I have run into a few problems: - Weapons will continue to fire when I hold the fire button down. - Weapons have no bullet spread, but instead each shot lands exactly where I'm aiming at. For burst-fire, I tried the following on a custom M16: Fire: M16G A 0 A_ZoomFactor(0.99) M16F A 1 bright A_FireBullets (3.6, 3.6, 1, 4, "BulletPuff") M16G A 0 A_ZoomFactor(1.0) M16F B 1 bright A_FireBullets (3.6, 3.6, 1, 4, "BulletPuff") M16G A 0 A_ZoomFactor(0.99) M16F A 1 bright A_FireBullets (3.6, 3.6, 1, 4, "BulletPuff") M16G A 0 A_ZoomFactor(1.0) I know the problem is in the last frame of the animation, but I just don't know what to do. Please help if you can. 0 Share this post Link to post
bgraybr Posted June 23, 2011 Use Weapon.NOAUTOFIRE ...and as for the bullet spread, IIRC the first bullet fired in the fire state normally ignores the spread and is always perfectly accurate. Setting numbullets to a negative value removes this effect. 0 Share this post Link to post