From dac231405101d010febe4dccaaaf2c54c8d2a044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 6 Jul 2014 19:00:43 +0200 Subject: [PATCH] add blossom trees to Tiberian Sun --- mods/ts/maps/blank-conquest/map.yaml | 9 ++++++++ mods/ts/mod.yaml | 2 ++ mods/ts/rules/defaults.yaml | 20 +++++++++++++++++ mods/ts/rules/trees.yaml | 9 ++++++++ mods/ts/sequences/trees.yaml | 32 ++++++++++++++++++++++++++++ 5 files changed, 72 insertions(+) create mode 100644 mods/ts/rules/trees.yaml create mode 100644 mods/ts/sequences/trees.yaml diff --git a/mods/ts/maps/blank-conquest/map.yaml b/mods/ts/maps/blank-conquest/map.yaml index 1f575b9014..cb9819d917 100644 --- a/mods/ts/maps/blank-conquest/map.yaml +++ b/mods/ts/maps/blank-conquest/map.yaml @@ -67,6 +67,15 @@ Actors: Actor3: mpspawn Location: 88,-62 Owner: Neutral + Actor4: tibtre01 + Location: 60,-24 + Owner: Neutral + Actor5: tibtre02 + Location: 68,-24 + Owner: Neutral + Actor6: tibtre03 + Location: 106,-24 + Owner: Neutral Smudges: diff --git a/mods/ts/mod.yaml b/mods/ts/mod.yaml index d9a0aa62e1..48ef394f9b 100644 --- a/mods/ts/mod.yaml +++ b/mods/ts/mod.yaml @@ -72,6 +72,7 @@ Rules: mods/ts/rules/infantry.yaml mods/ts/rules/structures.yaml mods/ts/rules/vehicles.yaml + mods/ts/rules/trees.yaml Sequences: mods/ts/sequences/aircraft.yaml @@ -79,6 +80,7 @@ Sequences: mods/ts/sequences/misc.yaml mods/ts/sequences/structures.yaml mods/ts/sequences/vehicles.yaml + mods/ts/sequences/trees.yaml VoxelSequences: mods/ts/sequences/voxels.yaml diff --git a/mods/ts/rules/defaults.yaml b/mods/ts/rules/defaults.yaml index 1b1ebddacd..8d29afc290 100644 --- a/mods/ts/rules/defaults.yaml +++ b/mods/ts/rules/defaults.yaml @@ -253,3 +253,23 @@ LuaScriptEvents: ScriptTriggers: +^BlossomTree: + Tooltip: + Name: Blossom Tree + RenderBuilding: + Palette: player + Building: + Footprint: x + Dimensions: 1,1 + AppearsOnRadar: + RadarColorFromTerrain: + Terrain: Tiberium + BodyOrientation: + FrozenUnderFog: + StartsRevealed: true + LuaScriptEvents: + SeedsResource: + ResourceType: Tiberium + Interval: 55 + WithActiveAnimation: + diff --git a/mods/ts/rules/trees.yaml b/mods/ts/rules/trees.yaml new file mode 100644 index 0000000000..bc22ae62aa --- /dev/null +++ b/mods/ts/rules/trees.yaml @@ -0,0 +1,9 @@ +TIBTRE01: + Inherits: ^BlossomTree + +TIBTRE02: + Inherits: ^BlossomTree + +TIBTRE03: + Inherits: ^BlossomTree + diff --git a/mods/ts/sequences/trees.yaml b/mods/ts/sequences/trees.yaml new file mode 100644 index 0000000000..1cef62aa49 --- /dev/null +++ b/mods/ts/sequences/trees.yaml @@ -0,0 +1,32 @@ +tibtre01: + idle: + Start: 0 + Length: 1 + ShadowStart: 10 + active: + Start: 1 + Length: 10 + ShadowStart: 11 + Tick: 160 + +tibtre02: + idle: + Start: 0 + Length: 1 + ShadowStart: 10 + active: + Start: 1 + Length: 10 + ShadowStart: 11 + Tick: 160 + +tibtre03: + idle: + Start: 0 + Length: 1 + ShadowStart: 10 + active: + Start: 1 + Length: 10 + ShadowStart: 11 + Tick: 160 \ No newline at end of file