Skip to content

Commit

Permalink
Merge pull request #7998 from Mailaender/ts-proc-dock
Browse files Browse the repository at this point in the history
Added the Tiberian Sun docking overlays
  • Loading branch information
obrakmann committed May 3, 2015
2 parents 622685c + d999617 commit 62b3592
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
1 change: 1 addition & 0 deletions OpenRA.Mods.Common/OpenRA.Mods.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@
<Compile Include="Traits\Render\WithMakeAnimation.cs" />
<Compile Include="Traits\Render\WithCrateBody.cs" />
<Compile Include="Traits\Render\WithDeathAnimation.cs" />
<Compile Include="Traits\Render\WithDockingOverlay.cs" />
<Compile Include="Traits\Render\WithHarvestAnimation.cs" />
<Compile Include="Traits\Render\WithIdleOverlay.cs" />
<Compile Include="Traits\Render\WithMuzzleFlash.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@

using OpenRA.Effects;
using OpenRA.Graphics;
using OpenRA.Mods.Common.Traits;
using OpenRA.Traits;

namespace OpenRA.Mods.D2k.Traits
namespace OpenRA.Mods.Common.Traits
{
[Desc("Rendered when a harvester is docked.")]
public class WithDockingOverlayInfo : ITraitInfo, Requires<RenderSpritesInfo>, Requires<IBodyOrientationInfo>
Expand Down
1 change: 0 additions & 1 deletion OpenRA.Mods.D2k/OpenRA.Mods.D2k.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@
<Compile Include="Traits\Carryable.cs" />
<Compile Include="Traits\Player\HarvesterInsurance.cs" />
<Compile Include="Traits\Render\WithCrumbleOverlay.cs" />
<Compile Include="Traits\Render\WithDockingOverlay.cs" />
<Compile Include="Traits\Render\WithDeliveryOverlay.cs" />
<Compile Include="Traits\Sandworm.cs" />
<Compile Include="Traits\TemporaryOwnerManager.cs" />
Expand Down
3 changes: 3 additions & 0 deletions mods/ts/rules/shared-structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ PROC:
Sequence: idle-redlights
WithIdleOverlay@BIB:
Sequence: bib
WithDockingOverlay@flame:
Sequence: flame
Palette: effect
Power:
Amount: -30

Expand Down
6 changes: 5 additions & 1 deletion mods/ts/sequences/structures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -846,7 +846,7 @@ nahpad:
Offset: 0, 0
UseTilesetCode: false

proc: # TODO: unused narefn_a, narefn_b
proc: # TODO: unused narefn_a
Defaults:
Offset: -12, -42
UseTilesetCode: true
Expand All @@ -862,15 +862,19 @@ proc: # TODO: unused narefn_a, narefn_b
make: ntrefnmk
Length: 20
ShadowStart: 20
flame: ntrefn_b
Length: *
idle-redlights: ntrefn_c
Length: 16
Tick: 120
damaged-idle-redlights: ntrefn_c
Length: 16
Tick: 120
bib: ntrefnbb
ZOffset: -1024
damaged-bib: ntrefnbb
Start: 1
ZOffset: -1024
icon: reficon
Offset: 0, 0
UseTilesetCode: false
Expand Down

0 comments on commit 62b3592

Please sign in to comment.