Merge pull request #10119 from RoosterDragon/sort-effects-with-actors

Interleave renderables for effects and actors
This commit is contained in:
Matthias Mailänder
2015-12-31 12:31:47 +01:00
14 changed files with 153 additions and 76 deletions

View File

@@ -94,10 +94,7 @@ namespace OpenRA.Graphics
List<IFinalizedRenderable> GenerateRenderables() List<IFinalizedRenderable> GenerateRenderables()
{ {
var actors = World.ScreenMap.ActorsInBox(Viewport.TopLeft, Viewport.BottomRight) var actors = World.ScreenMap.ActorsInBox(Viewport.TopLeft, Viewport.BottomRight).Append(World.WorldActor);
.Append(World.WorldActor);
// Include player actor for the rendered player
if (World.RenderPlayer != null) if (World.RenderPlayer != null)
actors = actors.Append(World.RenderPlayer.PlayerActor); actors = actors.Append(World.RenderPlayer.PlayerActor);
@@ -105,19 +102,14 @@ namespace OpenRA.Graphics
if (World.OrderGenerator != null) if (World.OrderGenerator != null)
worldRenderables = worldRenderables.Concat(World.OrderGenerator.Render(this, World)); worldRenderables = worldRenderables.Concat(World.OrderGenerator.Render(this, World));
worldRenderables = worldRenderables.Concat(World.Effects.SelectMany(e => e.Render(this)));
worldRenderables = worldRenderables.OrderBy(RenderableScreenZPositionComparisonKey); worldRenderables = worldRenderables.OrderBy(RenderableScreenZPositionComparisonKey);
// Effects are drawn on top of all actors
// HACK: Effects aren't interleaved with actors.
var effectRenderables = World.Effects
.SelectMany(e => e.Render(this));
if (World.OrderGenerator != null) if (World.OrderGenerator != null)
effectRenderables = effectRenderables.Concat(World.OrderGenerator.RenderAfterWorld(this, World)); worldRenderables = worldRenderables.Concat(World.OrderGenerator.RenderAfterWorld(this, World));
Game.Renderer.WorldVoxelRenderer.BeginFrame(); Game.Renderer.WorldVoxelRenderer.BeginFrame();
var renderables = worldRenderables.Concat(effectRenderables) var renderables = worldRenderables.Select(r => r.PrepareRender(this)).ToList();
.Select(r => r.PrepareRender(this)).ToList();
Game.Renderer.WorldVoxelRenderer.EndFrame(); Game.Renderer.WorldVoxelRenderer.EndFrame();
return renderables; return renderables;

View File

@@ -59,6 +59,9 @@ namespace OpenRA.Mods.Common.Effects
[Desc("Should the beam be visuall rendered? False = Beam is invisible.")] [Desc("Should the beam be visuall rendered? False = Beam is invisible.")]
public readonly bool RenderBeam = true; public readonly bool RenderBeam = true;
[Desc("Equivalent to sequence ZOffset. Controls Z sorting.")]
public readonly int ZOffset = 0;
[Desc("Color of the beam.")] [Desc("Color of the beam.")]
public readonly Color Color = Color.Red; public readonly Color Color = Color.Red;
@@ -193,7 +196,7 @@ namespace OpenRA.Mods.Common.Effects
{ {
if (!IsBeamComplete && info.RenderBeam && !(wr.World.FogObscures(tailPos) && wr.World.FogObscures(headPos))) if (!IsBeamComplete && info.RenderBeam && !(wr.World.FogObscures(tailPos) && wr.World.FogObscures(headPos)))
{ {
var beamRender = new BeamRenderable(headPos, 0, tailPos - headPos, info.Shape, info.Width, color); var beamRender = new BeamRenderable(headPos, info.ZOffset, tailPos - headPos, info.Shape, info.Width, color);
return new[] { (IRenderable)beamRender }; return new[] { (IRenderable)beamRender };
} }

View File

@@ -69,6 +69,7 @@ namespace OpenRA.Mods.Common.Effects
public readonly bool TrailUsePlayerPalette = false; public readonly bool TrailUsePlayerPalette = false;
public readonly int ContrailLength = 0; public readonly int ContrailLength = 0;
public readonly int ContrailZOffset = 2047;
public readonly Color ContrailColor = Color.White; public readonly Color ContrailColor = Color.White;
public readonly bool ContrailUsePlayerColor = false; public readonly bool ContrailUsePlayerColor = false;
public readonly int ContrailDelay = 1; public readonly int ContrailDelay = 1;
@@ -134,7 +135,7 @@ namespace OpenRA.Mods.Common.Effects
if (info.ContrailLength > 0) if (info.ContrailLength > 0)
{ {
var color = info.ContrailUsePlayerColor ? ContrailRenderable.ChooseColor(args.SourceActor) : info.ContrailColor; var color = info.ContrailUsePlayerColor ? ContrailRenderable.ChooseColor(args.SourceActor) : info.ContrailColor;
contrail = new ContrailRenderable(world, color, info.ContrailWidth, info.ContrailLength, info.ContrailDelay, 0); contrail = new ContrailRenderable(world, color, info.ContrailWidth, info.ContrailLength, info.ContrailDelay, info.ContrailZOffset);
} }
trailPalette = info.TrailPalette; trailPalette = info.TrailPalette;

View File

@@ -23,6 +23,9 @@ namespace OpenRA.Mods.Common.Effects
[Desc("Position relative to body")] [Desc("Position relative to body")]
public readonly WVec Offset = WVec.Zero; public readonly WVec Offset = WVec.Zero;
[Desc("Offset for Z sorting.")]
public readonly int ZOffset = 0;
[Desc("Length of the trail (in ticks).")] [Desc("Length of the trail (in ticks).")]
public readonly int TrailLength = 25; public readonly int TrailLength = 25;
@@ -51,7 +54,7 @@ namespace OpenRA.Mods.Common.Effects
this.info = info; this.info = info;
var color = info.UsePlayerColor ? ContrailRenderable.ChooseColor(self) : info.Color; var color = info.UsePlayerColor ? ContrailRenderable.ChooseColor(self) : info.Color;
trail = new ContrailRenderable(self.World, color, info.TrailWidth, info.TrailLength, 0, 0); trail = new ContrailRenderable(self.World, color, info.TrailWidth, info.TrailLength, 0, info.ZOffset);
body = self.Trait<BodyOrientation>(); body = self.Trait<BodyOrientation>();
} }

View File

@@ -49,7 +49,8 @@ namespace OpenRA.Mods.Common.Effects
if (wr.World.FogObscures(pos)) if (wr.World.FogObscures(pos))
yield break; yield break;
yield return new TextRenderable(font, pos, 0, color, text); // Arbitrary large value used for the z-offset to try and ensure the text displays above everything else.
yield return new TextRenderable(font, pos, 4096, color, text);
} }
public static string FormatCashTick(int cashAmount) public static string FormatCashTick(int cashAmount)

View File

@@ -27,6 +27,9 @@ namespace OpenRA.Mods.Common.Effects
[Desc("The shape of the beam. Accepts values Cylindrical or Flat.")] [Desc("The shape of the beam. Accepts values Cylindrical or Flat.")]
public readonly BeamRenderableShape Shape = BeamRenderableShape.Cylindrical; public readonly BeamRenderableShape Shape = BeamRenderableShape.Cylindrical;
[Desc("Equivalent to sequence ZOffset. Controls Z sorting.")]
public readonly int ZOffset = 0;
public readonly int BeamDuration = 10; public readonly int BeamDuration = 10;
public readonly bool UsePlayerColor = false; public readonly bool UsePlayerColor = false;
@@ -102,7 +105,7 @@ namespace OpenRA.Mods.Common.Effects
if (ticks < info.BeamDuration) if (ticks < info.BeamDuration)
{ {
var rc = Color.FromArgb((info.BeamDuration - ticks) * 255 / info.BeamDuration, color); var rc = Color.FromArgb((info.BeamDuration - ticks) * 255 / info.BeamDuration, color);
yield return new BeamRenderable(args.Source, 0, target - args.Source, info.Shape, info.Width, rc); yield return new BeamRenderable(args.Source, info.ZOffset, target - args.Source, info.Shape, info.Width, rc);
} }
if (hitanim != null) if (hitanim != null)

View File

@@ -111,6 +111,8 @@ namespace OpenRA.Mods.Common.Effects
public readonly int ContrailLength = 0; public readonly int ContrailLength = 0;
public readonly int ContrailZOffset = 2047;
public readonly WDist ContrailWidth = new WDist(64); public readonly WDist ContrailWidth = new WDist(64);
public readonly Color ContrailColor = Color.White; public readonly Color ContrailColor = Color.White;
@@ -217,7 +219,7 @@ namespace OpenRA.Mods.Common.Effects
if (info.ContrailLength > 0) if (info.ContrailLength > 0)
{ {
var color = info.ContrailUsePlayerColor ? ContrailRenderable.ChooseColor(args.SourceActor) : info.ContrailColor; var color = info.ContrailUsePlayerColor ? ContrailRenderable.ChooseColor(args.SourceActor) : info.ContrailColor;
contrail = new ContrailRenderable(world, color, info.ContrailWidth, info.ContrailLength, info.ContrailDelay, 0); contrail = new ContrailRenderable(world, color, info.ContrailWidth, info.ContrailLength, info.ContrailDelay, info.ContrailZOffset);
} }
trailPalette = info.TrailPalette; trailPalette = info.TrailPalette;

View File

@@ -1,6 +1,7 @@
fb4: fb4:
idle: idle:
Length: 4 Length: 4
ZOffset: 1023
fire: fire:
1: fire1 1: fire1
@@ -14,6 +15,7 @@ fire:
120mm: 120mm:
idle: idle:
ZOffset: 1023
smoke_m: smoke_m:
idle: idle:
@@ -33,30 +35,37 @@ smoke_m:
laserfire: laserfire:
idle:veh-hit3 idle:veh-hit3
Length: * Length: *
ZOffset: 511
dragon: dragon:
idle: idle:
Facings: 32 Facings: 32
ZOffset: 1023
smokey: smokey:
idle: idle:
Length: * Length: *
ZOffset: 1023
bomb: bomb:
idle: idle:
Length: * Length: *
ZOffset: 1023
missile: missile:
idle: idle:
Facings: 32 Facings: 32
ZOffset: 1023
patriot: patriot:
idle: idle:
Facings: 32 Facings: 32
ZOffset: 1023
explosion: explosion:
Defaults: Defaults:
Length: * Length: *
ZOffset: 511
nuke_explosion: atomsfx nuke_explosion: atomsfx
piff: piff piff: piff
piffs: piffpiff piffs: piffpiff
@@ -79,18 +88,23 @@ rank:
Length: * Length: *
rallypoint: rallypoint:
flag:flagfly flag: flagfly
Length: * Length: *
Offset: 10,-5 Offset: 10,-5
circles:fpls ZOffset: 2535
circles: fpls
Length: * Length: *
ZOffset: 2047
beacon: beacon:
Defaults:
ZOffset: 2535
arrow: mouse2 arrow: mouse2
Start: 5 Start: 5
Offset: 1,-12 Offset: 1,-12
circles: fpls circles: fpls
Length: * Length: *
ZOffset: 2047
airstrike: bombicon airstrike: bombicon
Offset: 0,-42 Offset: 0,-42
atomic: atomicon atomic: atomicon
@@ -107,6 +121,7 @@ allyrepair:
repair: repair:
Length: * Length: *
Tick: 160 Tick: 160
ZOffset: 2047
crate: crate:
idle: idle:
@@ -134,6 +149,7 @@ xcrated:
crate-effects: crate-effects:
Defaults: Defaults:
Length: * Length: *
ZOffset: 2047
airstrike: deviator airstrike: deviator
nuke: missile2 nuke: missile2
dollar: dollar dollar: dollar
@@ -149,17 +165,10 @@ crate-effects:
armorup: armorcrate armorup: armorcrate
speedup: speedcrate speedup: speedcrate
atomicup:
idle:
Length: *
atomicdn:
idle:
Length: *
atomic: atomic:
Defaults: Defaults:
Length: * Length: *
ZOffset: 1023
up: atomicup up: atomicup
down: atomicdn down: atomicdn
@@ -167,11 +176,12 @@ ionsfx:
idle: idle:
Length: * Length: *
Offset: 0, -78 Offset: 0, -78
ZOffset: 1 ZOffset: 1023
bomblet: bomblet:
idle: idle:
Length: * Length: *
ZOffset: 1023
mpspawn: mpspawn:
idle: idle:
@@ -233,6 +243,7 @@ poweroff:
offline: offline:
Length: * Length: *
Tick: 160 Tick: 160
ZOffset: 2047
icon: icon:
Defaults: Defaults:
@@ -245,6 +256,7 @@ moveflsh:
idle: idle:
Length: * Length: *
Tick: 80 Tick: 80
ZOffset: 2047
resources: resources:
Defaults: Defaults:

View File

@@ -125,6 +125,7 @@ Laser:
Projectile: LaserZap Projectile: LaserZap
Width: 85 Width: 85
HitAnim: laserfire HitAnim: laserfire
ZOffset: 2047
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 42 Spread: 42
Damage: 360 Damage: 360

View File

@@ -2,6 +2,7 @@ explosion:
Defaults: Defaults:
BlendMode: Additive BlendMode: Additive
Tick: 80 Tick: 80
ZOffset: 511
piff: DATA.R8 piff: DATA.R8
Start: 3626 Start: 3626
Length: 5 Length: 5
@@ -52,6 +53,7 @@ explosion:
Tick: 120 Tick: 120
Offset: 0, -16 Offset: 0, -16
corpse: DATA.R8 corpse: DATA.R8
ZOffset: -511
Start: 430 Start: 430
Length: 12 Length: 12
Tick: 1600 Tick: 1600
@@ -62,36 +64,42 @@ large_trail:
Length: 4 Length: 4
Tick: 80 Tick: 80
BlendMode: Additive BlendMode: Additive
ZOffset: 1023
small_trail: small_trail:
idle: DATA.R8 idle: DATA.R8
Start: 3735 Start: 3735
Length: 4 Length: 4
Tick: 80 Tick: 80
ZOffset: 1023
small_trail2: small_trail2:
idle: DATA.R8 idle: DATA.R8
Start: 3540 Start: 3540
Length: 4 Length: 4
Tick: 80 Tick: 80
ZOffset: 1023
bazooka_trail: bazooka_trail:
idle: DATA.R8 idle: DATA.R8
Start: 3381 Start: 3381
Length: 4 Length: 4
Tick: 80 Tick: 80
ZOffset: 1023
bazooka_trail2: bazooka_trail2:
idle: DATA.R8 idle: DATA.R8
Start: 3544 Start: 3544
Length: 4 Length: 4
Tick: 80 Tick: 80
ZOffset: 1023
deviator_trail: deviator_trail:
idle: DATA.R8 idle: DATA.R8
Start: 3535 Start: 3535
Length: 5 Length: 5
Tick: 80 Tick: 80
ZOffset: 1023
laserfire: laserfire:
idle: DATA.R8 idle: DATA.R8
@@ -99,6 +107,7 @@ laserfire:
Length: 4 Length: 4
Tick: 80 Tick: 80
BlendMode: Additive BlendMode: Additive
ZOffset: 511
pips: pips:
groups: DATA.R8 groups: DATA.R8
@@ -123,11 +132,13 @@ clock:
powerdown: powerdown:
disabled: speed.shp disabled: speed.shp
Start: 3 Start: 3
ZOffset: 2047
poweroff: poweroff:
offline: poweroff.shp offline: poweroff.shp
Length: * Length: *
Tick: 160 Tick: 160
ZOffset: 2047
rank: rank:
rank: rank.shp rank: rank.shp
@@ -156,31 +167,40 @@ rallypoint:
flag: flagfly.shp flag: flagfly.shp
Length: * Length: *
Offset: 11,-5 Offset: 11,-5
ZOffset: 2535
circles: fpls.shp circles: fpls.shp
Length: * Length: *
ZOffset: 2047
beacon: beacon:
arrow: MOUSE.R8 arrow: MOUSE.R8
Start: 148 Start: 148
Offset: -24,-24 Offset: -24,-24
ZOffset: 2535
circles: fpls.shp circles: fpls.shp
Length: * Length: *
ZOffset: 2047
rpg: rpg:
idle: DATA.R8 idle: DATA.R8
Start: 3015 Start: 3015
Facings: -32 Facings: -32
ZOffset: 1023
120mm: 120mm:
idle: DATA.R8 idle: DATA.R8
Start: 3014 Start: 3014
BlendMode: Additive BlendMode: Additive
ZOffset: 1023
155mm: 155mm:
idle: DATA.R8 idle: DATA.R8
Start: 3081 Start: 3081
ZOffset: 1023
crate-effects: crate-effects:
Defaults:
ZOffset: 2047
dollar: DATA.R8 dollar: DATA.R8
Start: 3679 Start: 3679
Length: 8 Length: 8
@@ -203,22 +223,27 @@ allyrepair:
Length: 2 Length: 2
Tick: 300 Tick: 300
Offset: -11,-10 Offset: -11,-10
ZOffset: 2047
missile: missile:
idle: DATA.R8 idle: DATA.R8
Start: 3088 Start: 3088
Facings: -32 Facings: -32
ZOffset: 1023
missile2: missile2:
idle: DATA.R8 idle: DATA.R8
Start: 3306 Start: 3306
Facings: -32 Facings: -32
ZOffset: 1023
atomic: atomic:
up: DATA.R8 up: DATA.R8
Start: 2147 Start: 2147
ZOffset: 1023
down: DATA.R8 down: DATA.R8
Start: 2148 Start: 2148
ZOffset: 1023
fire: fire:
1: DATA.R8 1: DATA.R8
@@ -247,6 +272,8 @@ fire:
BlendMode: Additive BlendMode: Additive
smoke_m: smoke_m:
Defaults:
ZOffset: 511
idle: DATA.R8 idle: DATA.R8
Start: 3418 Start: 3418
Length: 2 Length: 2
@@ -264,31 +291,37 @@ bombs:
idle: DATA.R8 idle: DATA.R8
Start: 3280 Start: 3280
Length: 4 Length: 4
ZOffset: 1023
grenade: grenade:
idle: grenade.shp # frames 3618-3621 from patch 1.06 DATA.R8 idle: grenade.shp # frames 3618-3621 from patch 1.06 DATA.R8
Length: 4 Length: 4
Tick: 80 Tick: 80
ZOffset: 1023
shrapnel: shrapnel:
idle: DATA.R8 idle: DATA.R8
Start: 3290 Start: 3290
Length: 4 Length: 4
ZOffset: 1023
shrapnel2: shrapnel2:
idle: DATA.R8 idle: DATA.R8
Start: 3294 Start: 3294
Length: 1 Length: 1
ZOffset: 1023
shrapnel3: shrapnel3:
idle: DATA.R8 idle: DATA.R8
Start: 3295 Start: 3295
Length: 8 Length: 8
ZOffset: 1023
shrapnel4: shrapnel4:
idle: DATA.R8 idle: DATA.R8
Start: 3303 Start: 3303
Length: 1 Length: 1
ZOffset: 1023
mpspawn: mpspawn:
idle: mpspawn.shp idle: mpspawn.shp
@@ -316,12 +349,14 @@ doubleblast:
Start: 3279 Start: 3279
Facings: -16 Facings: -16
BlendMode: Additive BlendMode: Additive
ZOffset: 511
doubleblastbullet: doubleblastbullet:
idle: DATA.R8 idle: DATA.R8
Start: 3248 Start: 3248
Facings: -16 Facings: -16
BlendMode: Additive BlendMode: Additive
ZOffset: 1023
icon: icon:
ornistrike: DATA.R8 ornistrike: DATA.R8
@@ -371,6 +406,7 @@ moveflsh:
Length: 5 Length: 5
Tick: 80 Tick: 80
BlendMode: Multiply BlendMode: Multiply
ZOffset: 2047
resources: resources:
spice: BLOXBASE.R8 spice: BLOXBASE.R8

View File

@@ -5,16 +5,20 @@ clock:
powerdown: powerdown:
disabled: speed disabled: speed
Start: 3 Start: 3
ZOffset: 2047
120mm: 120mm:
idle: idle:
ZOffset: 1023
50cal: 50cal:
idle: idle:
ZOffset: 1023
explosion: explosion:
Defaults: Defaults:
Length: * Length: *
ZOffset: 511
piff: piff piff: piff
piffs: piffpiff piffs: piffpiff
water_piff: wpiff water_piff: wpiff
@@ -39,6 +43,7 @@ explosion:
small_napalm: napalm1 small_napalm: napalm1
large_napalm: napalm3 large_napalm: napalm3
corpse: corpse1 corpse: corpse1
ZOffset: -512
Tick: 1600 Tick: 1600
UseTilesetExtension: true UseTilesetExtension: true
TilesetOverrides: TilesetOverrides:
@@ -80,20 +85,26 @@ pips:
v2: v2:
idle: idle:
Facings: 32 Facings: 32
ZOffset: 1023
rallypoint: rallypoint:
flag:flagfly flag:flagfly
Length: * Length: *
Offset: 11,-5 Offset: 11,-5
ZOffset: 2535
circles:fpls circles:fpls
Length: * Length: *
ZOffset: 2047
beacon: beacon:
Defaults:
ZOffset: 2535
arrow: mouse arrow: mouse
Start: 5 Start: 5
Offset: 1,-12 Offset: 1,-12
circles: fpls circles: fpls
Length: * Length: *
ZOffset: 2047
atomicon: lores-atomicon atomicon: lores-atomicon
Length: * Length: *
Offset: 0,-42 Offset: 0,-42
@@ -128,6 +139,7 @@ smoke_m:
dragon: dragon:
idle: idle:
Facings: 32 Facings: 32
ZOffset: 1023
smokey: smokey:
idle: idle:
@@ -137,26 +149,37 @@ smokey:
bomb: bomb:
idle: idle:
Length: * Length: *
ZOffset: 1023
missile: missile:
idle: idle:
Facings: 32 Facings: 32
ZOffset: 1023
torpedo:
idle: missile
Facings: 32
ZOffset: -1023
litning: litning:
bright: bright:
Length: 4 Length: 4
ZOffset: 1023
dim: dim:
Start: 4 Start: 4
Length: 4 Length: 4
ZOffset: 1023
fb1: fb1:
idle: idle:
Length: * Length: *
ZOffset: 1023
moveflsh: moveflsh:
idle: idle:
Length: * Length: *
Tick: 80 Tick: 80
ZOffset: 2047
UseTilesetExtension: true UseTilesetExtension: true
TilesetOverrides: TilesetOverrides:
DESERT: TEMPERAT DESERT: TEMPERAT
@@ -169,11 +192,13 @@ poweroff:
offline: offline:
Length: * Length: *
Tick: 160 Tick: 160
ZOffset: 2047
allyrepair: allyrepair:
repair: repair:
Length: * Length: *
Tick: 160 Tick: 160
ZOffset: 2047
tabs: tabs:
left-normal: left-normal:
@@ -184,6 +209,7 @@ sputnik:
idle: idle:
Length: * Length: *
Offset: -4,0 Offset: -4,0
ZOffset: 1023
dd-crnr: dd-crnr:
idle: idle:
@@ -199,13 +225,17 @@ dd-crnr:
fb2: fb2:
idle: idle:
Length: * Length: *
ZOffset: 1023
fb3: fb3:
idle: idle:
Facings: 32 Facings: 32
ZOffset: 1023
fb4: fb4:
idle: idle:
Length: * Length: *
ZOffset: 1023
scrate: scrate:
idle: idle:
@@ -272,40 +302,26 @@ xcrated:
ZOffset: -511 ZOffset: -511
crate-effects: crate-effects:
Defaults:
ZOffset: 2047
Length: *
speed: speed speed: speed
Length: *
dollar: dollar dollar: dollar
Length: *
reveal-map: earth reveal-map: earth
Length: *
hide-map: empulse hide-map: empulse
Length: *
fpower: fpower fpower: fpower
Length: *
gps: gpsbox gps: gpsbox
Length: *
invuln: invulbox invuln: invulbox
Length: *
heal: invun heal: invun
Length: *
nuke: missile2 nuke: missile2
Length: *
parabombs: parabox parabombs: parabox
Length: *
sonar: sonarbox sonar: sonarbox
Length: *
stealth: stealth2 stealth: stealth2
Length: *
timequake: tquake timequake: tquake
Length: *
armor: armor armor: armor
Length: *
chrono: chronbox chrono: chronbox
Length: *
airstrike: deviator airstrike: deviator
Length: *
levelup: levelup levelup: levelup
Length: *
Tick: 200 Tick: 200
parach: parach:
@@ -319,24 +335,19 @@ parach-shadow:
idle: idle:
Length: * Length: *
atomicup:
idle:
Length: *
atomicdn:
idle:
Length: *
bomblet: bomblet:
idle: idle:
Length: * Length: *
ZOffset: 1023
parabomb: parabomb:
open: open:
Length: 8 Length: 8
ZOffset: 1023
idle: idle:
Start: 8 Start: 8
Length: 5 Length: 5
ZOffset: 1023
smokland: smokland:
open: playersmoke open: playersmoke
@@ -378,8 +389,10 @@ iconchevrons:
atomic: atomic:
up: atomicup up: atomicup
Length: * Length: *
ZOffset: 1023
down: atomicdn down: atomicdn
Length: * Length: *
ZOffset: 1023
bubbles: bubbles:
idle: idle:

View File

@@ -367,7 +367,7 @@ TorpTube:
Burst: 2 Burst: 2
BurstDelay: 20 BurstDelay: 20
Projectile: Missile Projectile: Missile
Image: MISSILE Image: torpedo
Arm: 3 Arm: 3
MaximumLaunchSpeed: 85 MaximumLaunchSpeed: 85
TrailImage: bubbles TrailImage: bubbles

View File

@@ -18,25 +18,30 @@ poweroff:
offline: offline:
Length: * Length: *
Tick: 160 Tick: 160
ZOffset: 2047
allyrepair: allyrepair:
repair: wrench repair: wrench
Length: * Length: *
Tick: 160 Tick: 160
ZOffset: 2047
rallypoint: rallypoint:
flag: mouse flag: mouse
Start: 221 Start: 221
Length: 8 Length: 8
ZOffset: 3072
circles: null circles: null
beacon: beacon:
arrow: mouse arrow: mouse
Start: 6 Start: 6
Offset: 1,-12 Offset: 1,-12
ZOffset: 2535
circles: ring circles: ring
Length: 12 Length: 12
BlendMode: Additive BlendMode: Additive
ZOffset: 2047
crate: crate:
idle: idle:
@@ -47,6 +52,7 @@ crate:
crate-effects: crate-effects:
Defaults: Defaults:
Length: * Length: *
ZOffset: 2047
dollar: money dollar: money
reveal-map: reveal reveal-map: reveal
hide-map: shroudx hide-map: shroudx
@@ -126,6 +132,7 @@ pips:
explosion: explosion:
Defaults: Defaults:
Length: * Length: *
ZOffset: 511
building: twlt070 building: twlt070
ionring: ring1 ionring: ring1
BlendMode: Additive BlendMode: Additive
@@ -172,54 +179,66 @@ explosion:
discus: discus:
idle: idle:
Length: * Length: *
ZOffset: 1023
canister: canister:
idle: idle:
Length: * Length: *
ZOffset: 1023
pulsball: pulsball:
idle: idle:
Length: * Length: *
BlendMode: Additive BlendMode: Additive
ZOffset: 1023
dragon: dragon:
idle: idle:
Facings: 32 Facings: 32
ZOffset: 1023
crystal4: crystal4:
idle: idle:
Length: 15 Length: 15
ShadowStart: 15 ShadowStart: 15
UseTilesetExtension: true UseTilesetExtension: true
ZOffset: 1023
120mm: 120mm:
idle: idle:
ZOffset: 1023
torpedo: torpedo:
idle: idle:
Length: * Length: *
ZOffset: 1023
flameall: flameall:
idle: idle:
Length: 19 Length: 19
Facings: -8 Facings: -8
Tick: 160 Tick: 160
ZOffset: 1023
largesmoke: largesmoke:
idle: lgrysmk1 idle: lgrysmk1
Length: * Length: *
ZOffset: 1023
smallsmoke: smallsmoke:
idle: sgrysmk1 idle: sgrysmk1
Length: * Length: *
ZOffset: 1023
large_smoke_trail: large_smoke_trail:
idle: smokey idle: smokey
Length: * Length: *
ZOffset: 1023
small_smoke_trail: small_smoke_trail:
idle: smokey2 idle: smokey2
Length: * Length: *
ZOffset: 1023
largefire: largefire:
idle: fire1 idle: fire1
@@ -241,11 +260,13 @@ moveflsh:
idle: ring idle: ring
Length: * Length: *
Tick: 30 Tick: 30
ZOffset: 2047
wake: wake:
idle: wake2 idle: wake2
Length: * Length: *
Tick: 180 Tick: 180
ZOffset: 2047
resources: resources:
Defaults: Defaults:
@@ -354,7 +375,7 @@ ionbeam:
idle: idle:
Length: * Length: *
Offset: 0, -78 Offset: 0, -78
ZOffset: 1 ZOffset: 1023
trock01: trock01:
idle: idle:
@@ -417,48 +438,34 @@ srock05:
Offset: 0, -12 Offset: 0, -12
dbrissm: dbrissm:
Defaults:
ZOffset: 1023
Length:*
1: dbris1sm 1: dbris1sm
Length:*
2: dbris2sm 2: dbris2sm
Length:*
3: dbris3sm 3: dbris3sm
Length:*
4: dbris4sm 4: dbris4sm
Length:*
5: dbris5sm 5: dbris5sm
Length:*
6: dbris6sm 6: dbris6sm
Length:*
7: dbris7sm 7: dbris7sm
Length:*
8: dbris8sm 8: dbris8sm
Length:*
9: dbris9sm 9: dbris9sm
Length:*
10: dbrs10sm 10: dbrs10sm
Length:*
dbrislg: dbrislg:
Defaults:
ZOffset: 1023
Length:*
1: dbris1lg 1: dbris1lg
Length:*
2: dbris2lg 2: dbris2lg
Length:*
3: dbris3lg 3: dbris3lg
Length:*
4: dbris4lg 4: dbris4lg
Length:*
5: dbris5lg 5: dbris5lg
Length:*
6: dbris6lg 6: dbris6lg
Length:*
7: dbris7lg 7: dbris7lg
Length:*
8: dbris8lg 8: dbris8lg
Length:*
9: dbris9lg 9: dbris9lg
Length:*
10: dbrs10lg 10: dbrs10lg
Length:*
crat01: crat01:
idle: idle:

View File

@@ -75,6 +75,7 @@ SonicZap:
DamageInterval: 5 # Roughly 18 impacts. DamageInterval: 5 # Roughly 18 impacts.
Width: 0c384 Width: 0c384
Shape: Flat Shape: Flat
ZOffset: 2047
BeyondTargetRange: 0c256 BeyondTargetRange: 0c256
Blockable: true Blockable: true
Color: 00FFFFC8 Color: 00FFFFC8
@@ -176,6 +177,7 @@ ObeliskLaserFire:
Report: OBELRAY1.AUD Report: OBELRAY1.AUD
Projectile: LaserZap Projectile: LaserZap
Width: 170 Width: 170
ZOffset: 2047
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 42 Spread: 42
Damage: 250 Damage: 250
@@ -188,6 +190,7 @@ TurretLaserFire:
Projectile: LaserZap Projectile: LaserZap
Width: 85 Width: 85
BeamDuration: 5 BeamDuration: 5
ZOffset: 2047
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
Spread: 42 Spread: 42
Damage: 30 Damage: 30