mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-12-15 15:20:57 -08:00
Compare commits
2 commits
ed860e8395
...
d4d2a5e54c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d4d2a5e54c | ||
|
|
98b6ac2d94 |
10 changed files with 16 additions and 11 deletions
|
|
@ -110,6 +110,7 @@ dsmolenaers (freesound.org)
|
||||||
Headphaze (freesound.org)
|
Headphaze (freesound.org)
|
||||||
Michel Baradari (opengameart.org)
|
Michel Baradari (opengameart.org)
|
||||||
Michael Klier (opengameart.org)
|
Michael Klier (opengameart.org)
|
||||||
|
Lee Barkovich (opengameart.org)
|
||||||
Neoqueto (Darktech LDR Font)
|
Neoqueto (Darktech LDR Font)
|
||||||
Nikolass
|
Nikolass
|
||||||
VolasYouKnow
|
VolasYouKnow
|
||||||
|
|
|
||||||
BIN
core/assets/sounds/bombDrop.ogg
Normal file
BIN
core/assets/sounds/bombDrop.ogg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
core/assets/sounds/flamePlasma.ogg
Normal file
BIN
core/assets/sounds/flamePlasma.ogg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -47,10 +47,13 @@ public class SoundPriority{
|
||||||
//very loud
|
//very loud
|
||||||
laser.setMaxConcurrent(5);
|
laser.setMaxConcurrent(5);
|
||||||
|
|
||||||
|
sameGroup(flame, flamePlasma);
|
||||||
|
|
||||||
//sameGroup(hit1, hit2, hit3);
|
//sameGroup(hit1, hit2, hit3);
|
||||||
//max(4, hit1, hit2, hit3);
|
//max(4, hit1, hit2, hit3);
|
||||||
|
|
||||||
sameGroup(missile, missileShort, missilePlasmaShort);
|
sameGroup(missile, missileShort, missilePlasmaShort);
|
||||||
|
sameGroup(spark, shock);
|
||||||
|
|
||||||
for(var sound : Core.assets.getAll(Sound.class, new Seq<>())){
|
for(var sound : Core.assets.getAll(Sound.class, new Seq<>())){
|
||||||
sound.setMinConcurrentInterrupt(Math.min(0.25f, sound.getLength() * 0.5f));
|
sound.setMinConcurrentInterrupt(Math.min(0.25f, sound.getLength() * 0.5f));
|
||||||
|
|
|
||||||
|
|
@ -2023,18 +2023,18 @@ public class Fx{
|
||||||
shootSmallFlame = new Effect(32f, 80f, e -> {
|
shootSmallFlame = new Effect(32f, 80f, e -> {
|
||||||
color(Pal.lightFlame, Pal.darkFlame, Color.gray, e.fin());
|
color(Pal.lightFlame, Pal.darkFlame, Color.gray, e.fin());
|
||||||
|
|
||||||
randLenVectors(e.id, 8, e.finpow() * 60f, e.rotation, 10f, (x, y) -> {
|
randLenVectors(e.id, 12, e.finpow() * 60f, e.rotation, 10f, (x, y) -> {
|
||||||
Fill.circle(e.x + x, e.y + y, 0.65f + e.fout() * 1.5f);
|
Fill.circle(e.x + x, e.y + y, 0.65f + e.fout() * 1.5f);
|
||||||
});
|
});
|
||||||
}),
|
}).followParent(false),
|
||||||
|
|
||||||
shootPyraFlame = new Effect(33f, 80f, e -> {
|
shootPyraFlame = new Effect(33f, 80f, e -> {
|
||||||
color(Pal.lightPyraFlame, Pal.darkPyraFlame, Color.gray, e.fin());
|
color(Pal.lightPyraFlame, Pal.darkPyraFlame, Color.gray, e.fin());
|
||||||
|
|
||||||
randLenVectors(e.id, 10, e.finpow() * 70f, e.rotation, 10f, (x, y) -> {
|
randLenVectors(e.id, 13, e.finpow() * 70f, e.rotation, 10f, (x, y) -> {
|
||||||
Fill.circle(e.x + x, e.y + y, 0.65f + e.fout() * 1.6f);
|
Fill.circle(e.x + x, e.y + y, 0.65f + e.fout() * 1.6f);
|
||||||
});
|
});
|
||||||
}),
|
}).followParent(false),
|
||||||
|
|
||||||
shootLiquid = new Effect(15f, 80f, e -> {
|
shootLiquid = new Effect(15f, 80f, e -> {
|
||||||
color(e.color);
|
color(e.color);
|
||||||
|
|
|
||||||
|
|
@ -123,24 +123,23 @@ public class UnitTypes{
|
||||||
health = 550;
|
health = 550;
|
||||||
armor = 4f;
|
armor = 4f;
|
||||||
ammoType = new ItemAmmoType(Items.coal);
|
ammoType = new ItemAmmoType(Items.coal);
|
||||||
|
|
||||||
immunities.add(StatusEffects.burning);
|
immunities.add(StatusEffects.burning);
|
||||||
|
|
||||||
weapons.add(new Weapon("flamethrower"){{
|
weapons.add(new Weapon("flamethrower"){{
|
||||||
top = false;
|
top = false;
|
||||||
shootSound = Sounds.flame;
|
shootSound = Sounds.flame;
|
||||||
shootY = 2f;
|
shootY = 2f;
|
||||||
reload = 11f;
|
reload = 22f;
|
||||||
recoil = 1f;
|
recoil = 1f;
|
||||||
ejectEffect = Fx.none;
|
ejectEffect = Fx.none;
|
||||||
bullet = new BulletType(4.2f, 37f){{
|
bullet = new BulletType(4.2f, 37f*2f){{
|
||||||
ammoMultiplier = 3f;
|
ammoMultiplier = 3f;
|
||||||
hitSize = 7f;
|
hitSize = 7f;
|
||||||
lifetime = 13f;
|
lifetime = 13f;
|
||||||
pierce = true;
|
pierce = true;
|
||||||
pierceBuilding = true;
|
pierceBuilding = true;
|
||||||
pierceCap = 2;
|
pierceCap = 2;
|
||||||
statusDuration = 60f * 4;
|
statusDuration = 60f * 5;
|
||||||
shootEffect = Fx.shootSmallFlame;
|
shootEffect = Fx.shootSmallFlame;
|
||||||
hitEffect = Fx.hitFlameSmall;
|
hitEffect = Fx.hitFlameSmall;
|
||||||
despawnEffect = Fx.none;
|
despawnEffect = Fx.none;
|
||||||
|
|
@ -1013,7 +1012,7 @@ public class UnitTypes{
|
||||||
shoot.shotDelay = 3f;
|
shoot.shotDelay = 3f;
|
||||||
ejectEffect = Fx.casing1;
|
ejectEffect = Fx.casing1;
|
||||||
mirror = false;
|
mirror = false;
|
||||||
bullet = new BasicBulletType(2.5f, 15){{
|
bullet = new BasicBulletType(2.5f, 16){{
|
||||||
width = 7f;
|
width = 7f;
|
||||||
height = 9f;
|
height = 9f;
|
||||||
lifetime = 45f;
|
lifetime = 45f;
|
||||||
|
|
@ -1055,7 +1054,8 @@ public class UnitTypes{
|
||||||
ejectEffect = Fx.none;
|
ejectEffect = Fx.none;
|
||||||
inaccuracy = 15f;
|
inaccuracy = 15f;
|
||||||
ignoreRotation = true;
|
ignoreRotation = true;
|
||||||
shootSound = Sounds.none;
|
shootSound = Sounds.bombDrop;
|
||||||
|
soundPitchMax = 1.2f;
|
||||||
bullet = new BombBulletType(27f, 25f){{
|
bullet = new BombBulletType(27f, 25f){{
|
||||||
width = 10f;
|
width = 10f;
|
||||||
height = 14f;
|
height = 14f;
|
||||||
|
|
@ -1987,7 +1987,8 @@ public class UnitTypes{
|
||||||
rotateSpeed = 5f;
|
rotateSpeed = 5f;
|
||||||
inaccuracy = 10f;
|
inaccuracy = 10f;
|
||||||
ejectEffect = Fx.casing1;
|
ejectEffect = Fx.casing1;
|
||||||
shootSound = Sounds.flame;
|
shootSound = Sounds.flamePlasma;
|
||||||
|
shootSoundVolume = 0.9f;
|
||||||
shootCone = 30f;
|
shootCone = 30f;
|
||||||
|
|
||||||
bullet = new BulletType(3.4f, 23f){{
|
bullet = new BulletType(3.4f, 23f){{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue