This commit is contained in:
70000hp 2023-09-01 16:17:20 -04:00
parent 9e2d2dba01
commit ad826215ee
2 changed files with 1 additions and 10 deletions

View File

@ -96,6 +96,7 @@ public class GunConfiguration implements Cloneable {
public static final int FIRE_MANUAL = 0;
public static final int FIRE_AUTO = 1;
public static final int FIRE_BURST = 2;
public static final int RELOAD_NONE = 0;
public static final int RELOAD_FULL = 1;

View File

@ -88,16 +88,6 @@ public class Gun45ACPFactory {
.addKeyframe(new BusAnimationKeyframe(15, 0, 0, 10))
.addKeyframe(new BusAnimationKeyframe(0, 0, 0, 40))));
//faster version of the main one, so it doesn't cut out much on the bursts
config.animations.put(AnimType.ALT_CYCLE, new BusAnimation()
.addBus("SLIDE", new BusAnimationSequence()
.addKeyframe(new BusAnimationKeyframe(0, 0, 0, 5))// Wait for hammer
.addKeyframe(new BusAnimationKeyframe(0, 0, -3.5, 20))// Slide back
.addKeyframe(new BusAnimationKeyframe(0, 0, 0, 20)))// Return
.addBus("HAMMER", new BusAnimationSequence()
.addKeyframe(new BusAnimationKeyframe(15, 0, 0, 5))
.addKeyframe(new BusAnimationKeyframe(0, 0, 0, 20))));
return config;
}