Improved vanquish weapon style

This commit is contained in:
Anuken 2021-12-13 10:33:46 -05:00
parent 32cb25af62
commit 0e99e121e8
5 changed files with 28 additions and 9 deletions

View File

@ -23,8 +23,8 @@ buildscript{
} }
plugins{ plugins{
id 'org.jetbrains.kotlin.jvm' version '1.6.0-RC' id "org.jetbrains.kotlin.jvm" version "1.6.0"
id "org.jetbrains.kotlin.kapt" version "1.6.0-RC" id "org.jetbrains.kotlin.kapt" version "1.6.0"
} }
allprojects{ allprojects{

Binary file not shown.

Before

Width:  |  Height:  |  Size: 555 B

After

Width:  |  Height:  |  Size: 556 B

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

View File

@ -2438,17 +2438,36 @@ public class UnitTypes{
weapons.add(new Weapon("vanquish-weapon"){{ weapons.add(new Weapon("vanquish-weapon"){{
layerOffset = 0.0001f; layerOffset = 0.0001f;
reload = 120f; reload = 120f;
shootY = 7f; shootY = 71f / 4f;
shake = 2f; shake = 3f;
recoil = 4f; recoil = 4f;
rotate = true; rotate = true;
rotateSpeed = 1f; rotateSpeed = 1f;
mirror = false; mirror = false;
x = 0f; x = 0f;
y = -4; y = 0;
shadow = 30f; 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 //TODO better bullet / weapon
/*
bullet = new ArtilleryBulletType(2f, 20, "shell"){{ bullet = new ArtilleryBulletType(2f, 20, "shell"){{
hitEffect = Fx.massiveExplosion; hitEffect = Fx.massiveExplosion;
knockback = 0.8f; knockback = 0.8f;
@ -2476,15 +2495,15 @@ public class UnitTypes{
fragBullets = 9; fragBullets = 9;
fragVelocityMin = 0.7f; fragVelocityMin = 0.7f;
fragLifeMin = 0.1f; fragLifeMin = 0f;
fragBullet = new BasicBulletType(5f, 15){{ fragBullet = new BasicBulletType(3.5f, 15){{
width = 7f; width = 7f;
height = 9f; height = 9f;
lifetime = 20f; lifetime = 25f;
backColor = Color.valueOf("feb380"); backColor = Color.valueOf("feb380");
frontColor = Color.white; frontColor = Color.white;
}}; }};
}}; }};*/
}}); }});
int i = 0; int i = 0;