From 53fec131833dccb950caa654b86402edff417f87 Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 10 Mar 2013 17:55:54 -0700 Subject: [PATCH 1/2] added a blue tiberium blossom tree. --- mods/cnc/rules/trees.yaml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/mods/cnc/rules/trees.yaml b/mods/cnc/rules/trees.yaml index 1e0058bb0c..8c37a79c66 100644 --- a/mods/cnc/rules/trees.yaml +++ b/mods/cnc/rules/trees.yaml @@ -22,6 +22,18 @@ SPLIT3: RadarColorFromTerrain: Terrain: Tiberium +SPLITBLUE: + Inherits: ^Tree + RenderBuilding: + Palette: staticterrain + SeedsResource: + ResourceType:BlueTiberium + Interval: 55 + Tooltip: + Name: Blossom Tree (blue) + RadarColorFromTerrain: + Terrain: BlueTiberium + ROCK1: Inherits: ^Rock ROCK2: @@ -136,4 +148,4 @@ TC05: Inherits: ^Tree Building: Footprint: __x_ xxx_ _xx_ - Dimensions: 4,3 \ No newline at end of file + Dimensions: 4,3 From 09bef2d4c2e9262d3419e74379dc22aaa2e52cd1 Mon Sep 17 00:00:00 2001 From: psydev Date: Sun, 10 Mar 2013 18:00:21 -0700 Subject: [PATCH 2/2] Gave blue tiberium blossom a sequence; changed #2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Blossom tree has a sequence. There are two blossom trees in C&C, so I will use the first one (split2) for green tiberium and the 2nd one (split3) for blue tiberium. The old split3 still exists for backwards-compatibility, but will now show the split2 image. Only the blue tiberium blossom tree will show the split3 image. --- mods/cnc/sequences/map.yaml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/mods/cnc/sequences/map.yaml b/mods/cnc/sequences/map.yaml index 5bbdef8a35..41d458683e 100644 --- a/mods/cnc/sequences/map.yaml +++ b/mods/cnc/sequences/map.yaml @@ -9,13 +9,23 @@ split2: Start: 54 split3: - make: + make: split2 Start: 0 Length: 30 - active: + active: split2 Start: 30 Length: 24 - idle: + idle: split2 + Start: 54 + +splitblue: + make: split3 + Start: 0 + Length: 30 + active: split3 + Start: 30 + Length: 24 + idle: split3 Start: 54 rock1: @@ -649,4 +659,4 @@ miss: miss.husk: idle: miss - Start: 2 \ No newline at end of file + Start: 2