mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-11 08:15:35 +03:00
Improved vanquish weapon style
This commit is contained in:
parent
32cb25af62
commit
0e99e121e8
@ -23,8 +23,8 @@ buildscript{
|
||||
}
|
||||
|
||||
plugins{
|
||||
id 'org.jetbrains.kotlin.jvm' version '1.6.0-RC'
|
||||
id "org.jetbrains.kotlin.kapt" version "1.6.0-RC"
|
||||
id "org.jetbrains.kotlin.jvm" version "1.6.0"
|
||||
id "org.jetbrains.kotlin.kapt" version "1.6.0"
|
||||
}
|
||||
|
||||
allprojects{
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 556 B |
BIN
core/assets-raw/sprites/units/vanquish-weapon-old.png
Normal file
BIN
core/assets-raw/sprites/units/vanquish-weapon-old.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 1.8 KiB |
@ -2438,17 +2438,36 @@ public class UnitTypes{
|
||||
weapons.add(new Weapon("vanquish-weapon"){{
|
||||
layerOffset = 0.0001f;
|
||||
reload = 120f;
|
||||
shootY = 7f;
|
||||
shake = 2f;
|
||||
shootY = 71f / 4f;
|
||||
shake = 3f;
|
||||
recoil = 4f;
|
||||
rotate = true;
|
||||
rotateSpeed = 1f;
|
||||
mirror = false;
|
||||
x = 0f;
|
||||
y = -4;
|
||||
y = 0;
|
||||
shadow = 30f;
|
||||
|
||||
bullet = new BasicBulletType(7f, 50){{
|
||||
sprite = "missile-large";
|
||||
width = 9f;
|
||||
height = 15f;
|
||||
lifetime = 33f;
|
||||
hitSize = 6f;
|
||||
shootEffect = Fx.shootTitan;
|
||||
smokeEffect = Fx.shootSmokeTitan;
|
||||
pierceCap = 2;
|
||||
pierce = true;
|
||||
pierceBuilding = true;
|
||||
hitColor = backColor = trailColor = Color.valueOf("feb380");
|
||||
frontColor = Color.white;
|
||||
trailWidth = 3f;
|
||||
trailLength = 8;
|
||||
hitEffect = despawnEffect = Fx.blastExplosion;
|
||||
}};
|
||||
|
||||
//TODO better bullet / weapon
|
||||
/*
|
||||
bullet = new ArtilleryBulletType(2f, 20, "shell"){{
|
||||
hitEffect = Fx.massiveExplosion;
|
||||
knockback = 0.8f;
|
||||
@ -2476,15 +2495,15 @@ public class UnitTypes{
|
||||
|
||||
fragBullets = 9;
|
||||
fragVelocityMin = 0.7f;
|
||||
fragLifeMin = 0.1f;
|
||||
fragBullet = new BasicBulletType(5f, 15){{
|
||||
fragLifeMin = 0f;
|
||||
fragBullet = new BasicBulletType(3.5f, 15){{
|
||||
width = 7f;
|
||||
height = 9f;
|
||||
lifetime = 20f;
|
||||
lifetime = 25f;
|
||||
backColor = Color.valueOf("feb380");
|
||||
frontColor = Color.white;
|
||||
}};
|
||||
}};
|
||||
}};*/
|
||||
}});
|
||||
|
||||
int i = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user