homing torps, bubble trail

This commit is contained in:
Chris Forbes
2010-09-23 22:06:59 +12:00
parent 45c77e64ee
commit 846371cf3e
4 changed files with 15 additions and 4 deletions

View File

@@ -123,7 +123,8 @@ namespace OpenRA.Mods.RA.Effects
public IEnumerable<Renderable> Render()
{
yield return new Renderable(anim.Image, Pos - 0.5f * anim.Image.size - new float2(0, Altitude), "effect", (int)Pos.Y);
yield return new Renderable(anim.Image, Pos - 0.5f * anim.Image.size - new float2(0, Altitude),
Args.weapon.Underwater ? "shadow" : "effect", (int)Pos.Y);
}
}
}

BIN
mods/ra/bits/bubbles.shp Normal file

Binary file not shown.

View File

@@ -1811,4 +1811,10 @@ ftrk:
Facings: 32
turret:
Start: 32
Facings: 32
Facings: 32
bubbles:
idle:
Start: 0
Length: *
Tick: 120

View File

@@ -696,9 +696,13 @@ TorpTube:
Underwater: yes
Burst: 2
BurstDelay: 1
Projectile: Bullet
Projectile: Missile
Image: MISSILE
Speed: 6
Arm: 3
Speed: 8
Trail: bubbles
ROT: 5
RangeLimit: 100
Warhead:
Spread: 3
Versus: