Skip to content

Commit

Permalink
Add a frame with shadow to both TD crate types
Browse files Browse the repository at this point in the history
And remove the crate.shp in return
(which was just scrate.shp with shadow).

Also fixes WCRATE actor to actually use the correct .shp.
  • Loading branch information
reaperrr authored and pchote committed Apr 3, 2021
1 parent 35a0a3c commit 13a101f
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
Binary file removed mods/cnc/bits/crate.shp
Binary file not shown.
Binary file added mods/cnc/bits/scrate.shp
Binary file not shown.
Binary file added mods/cnc/bits/wcrate.shp
Binary file not shown.
2 changes: 1 addition & 1 deletion mods/cnc/rules/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,7 @@
TerrainTypes: Clear, Rough, Road, Tiberium, BlueTiberium, Beach
RenderSprites:
Palette: effect
Image: crate
Image: scrate
WithCrateBody:
XmasImages: xcratea, xcrateb, xcratec, xcrated
MapEditorData:
Expand Down
2 changes: 2 additions & 0 deletions mods/cnc/rules/misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ WCRATE:
Inherits: ^Crate
Tooltip:
Name: Wooden Crate
RenderSprites:
Image: wcrate

SCRATE:
Inherits: ^Crate
Expand Down
6 changes: 2 additions & 4 deletions mods/cnc/sequences/misc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,14 @@ allyrepair:
Tick: 160
ZOffset: 2047

crate:
idle:
ZOffset: -511

scrate:
idle:
Start: 1
ZOffset: -511

wcrate:
idle:
Start: 1
ZOffset: -511

xcratea:
Expand Down

0 comments on commit 13a101f

Please sign in to comment.