Skip to content

Commit 5eec28d

Browse files
committed
Sound renaming fixes
1 parent 1ad2e48 commit 5eec28d

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ dependencies {
4040

4141
implementation "com.github.liplum:MultiCrafterLib:v1.7"
4242

43-
// annotationProcessor "com.github.Anuken:jabel:$jabelVersion"
43+
annotationProcessor "com.github.Anuken:jabel:$jabelVersion"
4444
}
4545

4646
configurations.configureEach{

src/UAW/content/blocks/UAWBlocksDefence.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ Items.pyratite, new SplashArtilleryBulletType(2.5f, 3500) {{
985985

986986
}};
987987
makeFire = true;
988-
applySound = Sounds.fire;
988+
applySound = Sounds.loopFire;
989989
}};
990990
}},
991991
UAWItems.cryogel, new SplashArtilleryBulletType(2.5f, 3500) {{
@@ -1034,7 +1034,7 @@ UAWItems.cryogel, new SplashArtilleryBulletType(2.5f, 3500) {{
10341034

10351035
}};
10361036
makeFire = true;
1037-
applySound = Sounds.fire;
1037+
applySound = Sounds.loopFire;
10381038
}};
10391039
}},
10401040
Items.plastanium, artilleryLargeFrag,
@@ -1086,7 +1086,7 @@ Items.thorium, new SplashArtilleryBulletType(2.5f, 5500) {{
10861086

10871087
}};
10881088
makeFire = true;
1089-
applySound = Sounds.fire;
1089+
applySound = Sounds.loopFire;
10901090
}};
10911091
}}
10921092
);
@@ -1383,7 +1383,7 @@ Items.silicon, new TrailBulletType(10, 30) {{
13831383
splashDamage = this.damage * 0.75f;
13841384
splashDamageRadius = 2 * tilesize;
13851385

1386-
hitSound = Sounds.dullExplosion;
1386+
hitSound = Sounds.explosionDull;
13871387

13881388
collidesAir = false;
13891389
collideTerrain = true;
@@ -1705,7 +1705,7 @@ Items.surgeAlloy, new BuckshotBulletType(18, 6f, 60f) {{
17051705
shootEffect = UAWFx.shootHugeColor;
17061706
despawnEffect = UAWFx.empExplosion(splashDamageRadius, 3, backColor);
17071707
status = UAWStatusEffects.EMP;
1708-
hitSound = Sounds.plasmaboom;
1708+
hitSound = Sounds.beamPlasma;
17091709
statusDuration = 0.3f * 60;
17101710
ammoMultiplier = 6f;
17111711
collidesAir = false;

src/UAW/entities/bullet/AftershockBulletType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class AftershockBulletType extends BulletType {
2929
*/
3030
public int splashAmount = 3;
3131

32-
public Sound applySound = Sounds.shotgun;
32+
public Sound applySound = Sounds.shootToxopidShotgun;
3333
/** Adjust circle light color */
3434
public Color frontColor = Pal.lightishOrange;
3535
/** Adjust circle dark color */

src/UAW/entities/bullet/ArmorPiercingBulletType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ public class ArmorPiercingBulletType extends TrailBulletType {
1010
static final EventType.UnitDamageEvent bulletDamageEvent = new EventType.UnitDamageEvent();
1111

1212
/**
13-
* Refers to how much damage will ignores armour, if the damage is 50 and the {@code armorPierceScl} is 0.5 thats
14-
* mean 25 damage will still be dealt despite of armour
13+
* Refers to how much damage will ignores armour, if the damage is 50 and the {@code armorPierceScl} is 0.5 that's
14+
* mean 25 damage will still be dealt despite armour
1515
*/
1616
public float armorPierceScl = -1;
1717

src/UAW/entities/bullet/CanisterBulletType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public CanisterBulletType(BulletType bulletType, int projectileCount, float spee
2828
hitEffect = new MultiEffect(Fx.generatespark, Fx.steam, Fx.flakExplosionBig);
2929
smokeEffect = new MultiEffect(Fx.shootBigSmoke2, Fx.blastsmoke);
3030
shootEffect = UAWFx.shootSmoke(width, backColor, true);
31-
hitSound = Sounds.mineDeploy;
31+
// hitSound = Sounds.mineDeploy;
3232
trailColor = backColor;
3333
displayAmmoMultiplier = false;
3434
}

src/UAW/entities/bullet/HighVelocityShellBulletType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public HighVelocityShellBulletType(float speed, float damage, String bulletSprit
1616
this.speed = speed;
1717
this.damage = damage;
1818
this.sprite = bulletSprite;
19-
hitSound = Sounds.artillery;
19+
hitSound = Sounds.explosionArtillery;
2020
pierceArmor = true;
2121
height = 16f;
2222
width = hitSize = height / 2;

src/UAW/entities/bullet/MineBulletType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public MineBulletType(float splashDamage, float splashRadius, float lifetime, St
5151
speed = 3f;
5252
drag = 0.055f;
5353
hitShake = 8f;
54-
hitSound = Sounds.plasmaboom;
54+
hitSound = Sounds.explosionPlasmaSmall;
5555
fragAngle = 360;
5656
pierceArmor = true;
5757
}

src/UAW/entities/bullet/TorpedoBulletType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public TorpedoBulletType(float speed, float damage) {
5757
statusDuration = 3 * 60;
5858
hitSoundVolume = 2.5f;
5959
hitSoundPitch = 0.7f;
60-
hitSound = Sounds.explosionbig;
60+
hitSound = Sounds.explosionArtilleryShockBig;
6161
}
6262

6363
@Override

src/UAW/entities/bullet/presets/StandardBullets.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ public StandardBullets(float speed, float damage, String bulletSprite, int prese
1313
buildingDamageMultiplier = 0.3f;
1414

1515
switch (presets) {
16-
default -> {
17-
}
18-
case 0 ->{
16+
case 0 ->{
1917
height = 10;
2018
width = 5.5f;
2119

@@ -75,7 +73,9 @@ public StandardBullets(float speed, float damage, String bulletSprite, int prese
7573
}};
7674
trailLengthScale = 0.8f;
7775
}
78-
}
76+
default -> {
77+
}
78+
}
7979
}
8080

8181
public StandardBullets(float speed, float damage, int presets) {

src/UAW/entities/units/CruiseMissileUnitType.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public CruiseMissileUnitType(String name, String spriteName, int presets) {
3030
range = maxRange = 3 * tilesize;
3131
engineLayer = Layer.effect;
3232
lowAltitude = true;
33-
loopSound = Sounds.missileTrail;
33+
loopSound = Sounds.loopMissileTrail;
3434
loopSoundVolume = 0.4f;
3535
fogRadius = 3f;
3636
deathExplosionEffect = Fx.none;
@@ -42,19 +42,19 @@ public CruiseMissileUnitType(String name, String spriteName, int presets) {
4242
engineSize = 5.5f * px;
4343
engineOffset = 12f * px;
4444
trailLength = 5;
45-
deathSound = Sounds.explosionbig;
45+
deathSound = Sounds.explosionMissile;
4646
}
4747
case 2 -> {
4848
engineSize = 12 * px;
4949
engineOffset = 35f * px;
5050
trailLength = 9;
51-
deathSound = Sounds.largeExplosion;
51+
deathSound = Sounds.explosionReactor;
5252
}
5353
case 3 -> {
5454
engineSize = 18 * px;
5555
engineOffset = 57f * px;
5656
trailLength = 15;
57-
deathSound = Sounds.largeExplosion;
57+
deathSound = Sounds.explosionReactor;
5858
}
5959
}
6060
}

0 commit comments

Comments
 (0)