diff --git a/OpenRA.Game/GameRules/RulesetCache.cs b/OpenRA.Game/GameRules/RulesetCache.cs index be63ffd5bf..e817689b3c 100644 --- a/OpenRA.Game/GameRules/RulesetCache.cs +++ b/OpenRA.Game/GameRules/RulesetCache.cs @@ -21,7 +21,7 @@ namespace OpenRA { public sealed class RulesetCache { - static readonly List NoMapRules = new List(); + static readonly string[] NoMapRules = new string[0]; readonly ModData modData; @@ -94,12 +94,12 @@ namespace OpenRA Dictionary LoadYamlRules(IReadOnlyFileSystem fileSystem, Dictionary itemCache, - string[] files, List nodes, + string[] files, string[] mapFiles, Func f) { RaiseProgress(); - var inputKey = string.Concat(string.Join("|", files), "|", nodes.WriteToString()); + var inputKey = string.Concat(string.Join("|", files.Append(mapFiles)), "|"); Func wrap = wkv => { var key = inputKey + wkv.Value.ToLines(wkv.Key).JoinWith("|"); @@ -114,7 +114,7 @@ namespace OpenRA return t; }; - var tree = MiniYaml.Merge(files.Select(s => MiniYaml.FromStream(fileSystem.Open(s))).Append(nodes)) + var tree = MiniYaml.Merge(files.Append(mapFiles).Select(s => MiniYaml.FromStream(fileSystem.Open(s)))) .ToDictionaryWithConflictLog(n => n.Key, n => n.Value, "LoadYamlRules", null, null); RaiseProgress(); diff --git a/OpenRA.Game/Graphics/Minimap.cs b/OpenRA.Game/Graphics/Minimap.cs deleted file mode 100644 index 1802275968..0000000000 --- a/OpenRA.Game/Graphics/Minimap.cs +++ /dev/null @@ -1,149 +0,0 @@ -#region Copyright & License Information -/* - * Copyright 2007-2016 The OpenRA Developers (see AUTHORS) - * This file is part of OpenRA, which is free software. It is made - * available to you under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. For more - * information, see COPYING. - */ -#endregion - -using System; -using System.Drawing; -using System.Drawing.Imaging; -using System.Linq; -using OpenRA.Traits; - -namespace OpenRA.Graphics -{ - public static class Minimap - { - public static Bitmap TerrainBitmap(TileSet tileset, Map map, bool actualSize = false) - { - var isRectangularIsometric = map.Grid.Type == MapGridType.RectangularIsometric; - var b = map.Bounds; - - // Fudge the heightmap offset by adding as much extra as we need / can. - // This tries to correct for our incorrect assumption that MPos == PPos - var heightOffset = Math.Min(map.Grid.MaximumTerrainHeight, map.MapSize.Y - b.Bottom); - var width = b.Width; - var height = b.Height + heightOffset; - - var bitmapWidth = width; - if (isRectangularIsometric) - bitmapWidth = 2 * bitmapWidth - 1; - - if (!actualSize) - bitmapWidth = height = Exts.NextPowerOf2(Math.Max(bitmapWidth, height)); - - var terrain = new Bitmap(bitmapWidth, height); - - var bitmapData = terrain.LockBits(terrain.Bounds(), - ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb); - - var mapTiles = map.MapTiles.Value; - - unsafe - { - var colors = (int*)bitmapData.Scan0; - var stride = bitmapData.Stride / 4; - for (var y = 0; y < height; y++) - { - for (var x = 0; x < width; x++) - { - var uv = new MPos(x + b.Left, y + b.Top); - var type = tileset.GetTileInfo(mapTiles[uv]); - var leftColor = type != null ? type.LeftColor : Color.Black; - - if (isRectangularIsometric) - { - // Odd rows are shifted right by 1px - var dx = uv.V & 1; - var rightColor = type != null ? type.RightColor : Color.Black; - if (x + dx > 0) - colors[y * stride + 2 * x + dx - 1] = leftColor.ToArgb(); - - if (2 * x + dx < stride) - colors[y * stride + 2 * x + dx] = rightColor.ToArgb(); - } - else - colors[y * stride + x] = leftColor.ToArgb(); - } - } - } - - terrain.UnlockBits(bitmapData); - return terrain; - } - - // Add the static resources defined in the map; if the map lives - // in a world use AddCustomTerrain instead - static Bitmap AddStaticResources(TileSet tileset, Map map, Ruleset resourceRules, Bitmap terrainBitmap) - { - var terrain = new Bitmap(terrainBitmap); - var isRectangularIsometric = map.Grid.Type == MapGridType.RectangularIsometric; - var b = map.Bounds; - - // Fudge the heightmap offset by adding as much extra as we need / can - // This tries to correct for our incorrect assumption that MPos == PPos - var heightOffset = Math.Min(map.Grid.MaximumTerrainHeight, map.MapSize.Y - b.Bottom); - var width = b.Width; - var height = b.Height + heightOffset; - - var resources = resourceRules.Actors["world"].TraitInfos() - .ToDictionary(r => r.ResourceType, r => r.TerrainType); - - var bitmapData = terrain.LockBits(terrain.Bounds(), - ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb); - - unsafe - { - var colors = (int*)bitmapData.Scan0; - var stride = bitmapData.Stride / 4; - for (var y = 0; y < height; y++) - { - for (var x = 0; x < width; x++) - { - var uv = new MPos(x + b.Left, y + b.Top); - if (map.MapResources.Value[uv].Type == 0) - continue; - - string res; - if (!resources.TryGetValue(map.MapResources.Value[uv].Type, out res)) - continue; - - var color = tileset[tileset.GetTerrainIndex(res)].Color.ToArgb(); - if (isRectangularIsometric) - { - // Odd rows are shifted right by 1px - var dx = uv.V & 1; - if (x + dx > 0) - colors[y * stride + 2 * x + dx - 1] = color; - - if (2 * x + dx < stride) - colors[y * stride + 2 * x + dx] = color; - } - else - colors[y * stride + x] = color; - } - } - } - - terrain.UnlockBits(bitmapData); - - return terrain; - } - - public static Bitmap RenderMapPreview(TileSet tileset, Map map, bool actualSize) - { - return RenderMapPreview(tileset, map, map.Rules, actualSize); - } - - public static Bitmap RenderMapPreview(TileSet tileset, Map map, Ruleset resourceRules, bool actualSize) - { - using (var terrain = TerrainBitmap(tileset, map, actualSize)) - return AddStaticResources(tileset, map, resourceRules, terrain); - } - } -} diff --git a/OpenRA.Game/Graphics/SequenceProvider.cs b/OpenRA.Game/Graphics/SequenceProvider.cs index c5c16e49d8..97a31f8899 100644 --- a/OpenRA.Game/Graphics/SequenceProvider.cs +++ b/OpenRA.Game/Graphics/SequenceProvider.cs @@ -100,14 +100,13 @@ namespace OpenRA.Graphics public Sequences LoadSequences(IReadOnlyFileSystem fileSystem, Map map) { using (new Support.PerfTimer("LoadSequences")) - return Load(fileSystem, map != null ? map.SequenceDefinitions : new List()); + return Load(fileSystem, map != null ? map.SequenceDefinitions : new string[0]); } - Sequences Load(IReadOnlyFileSystem fileSystem, List sequenceNodes) + Sequences Load(IReadOnlyFileSystem fileSystem, string[] mapSequences) { - var nodes = MiniYaml.Merge(modData.Manifest.Sequences - .Select(s => MiniYaml.FromStream(fileSystem.Open(s))) - .Append(sequenceNodes)); + var nodes = MiniYaml.Merge(modData.Manifest.Sequences.Append(mapSequences) + .Select(s => MiniYaml.FromStream(fileSystem.Open(s)))); var items = new Dictionary(); foreach (var n in nodes) diff --git a/OpenRA.Game/Graphics/VoxelProvider.cs b/OpenRA.Game/Graphics/VoxelProvider.cs index d846eb31e9..0f6aca848b 100644 --- a/OpenRA.Game/Graphics/VoxelProvider.cs +++ b/OpenRA.Game/Graphics/VoxelProvider.cs @@ -21,7 +21,7 @@ namespace OpenRA.Graphics { static Dictionary> units; - public static void Initialize(VoxelLoader loader, IReadOnlyFileSystem fileSystem, string[] voxelFiles, List voxelNodes) + public static void Initialize(VoxelLoader loader, IReadOnlyFileSystem fileSystem, IEnumerable voxelFiles) { units = new Dictionary>(); diff --git a/OpenRA.Game/Map/Map.cs b/OpenRA.Game/Map/Map.cs index 3767d51456..4add5c064d 100644 --- a/OpenRA.Game/Map/Map.cs +++ b/OpenRA.Game/Map/Map.cs @@ -12,6 +12,7 @@ using System; using System.Collections.Generic; using System.Drawing; +using System.Drawing.Imaging; using System.IO; using System.Linq; using System.Security.Cryptography; @@ -19,6 +20,7 @@ using System.Text; using OpenRA.FileSystem; using OpenRA.Graphics; using OpenRA.Network; +using OpenRA.Primitives; using OpenRA.Support; using OpenRA.Traits; @@ -66,7 +68,7 @@ namespace OpenRA public class Map : IReadOnlyFileSystem { - public const int SupportedMapFormat = 9; + public const int SupportedMapFormat = 10; public const int MaxTilesInCircleRange = 50; public readonly MapGrid Grid; @@ -88,7 +90,7 @@ namespace OpenRA public string Type = "Conquest"; public string Author; public string Tileset; - public Bitmap CustomPreview; + public bool LockPreview; public bool InvalidCustomRules { get; private set; } public WVec OffsetOfSubCell(SubCell subCell) @@ -102,23 +104,18 @@ namespace OpenRA public static string ComputeUID(IReadOnlyPackage package) { // UID is calculated by taking an SHA1 of the yaml and binary data + var requiredFiles = new[] { "map.yaml", "map.bin" }; + var contents = package.Contents.ToList(); + foreach (var required in requiredFiles) + if (!contents.Contains(required)) + throw new FileNotFoundException("Required file {0} not present in this map".F(required)); + using (var ms = new MemoryStream()) { - // Read the relevant data into the buffer - using (var s = package.GetStream("map.yaml")) - { - if (s == null) - throw new FileNotFoundException("Required file map.yaml not present in this map"); - s.CopyTo(ms); - } - - using (var s = package.GetStream("map.bin")) - { - if (s == null) - throw new FileNotFoundException("Required file map.bin not present in this map"); - - s.CopyTo(ms); - } + foreach (var filename in contents) + if (filename.EndsWith(".yaml") || filename.EndsWith(".bin") || filename.EndsWith(".lua")) + using (var s = package.GetStream(filename)) + s.CopyTo(ms); // Take the SHA1 ms.Seek(0, SeekOrigin.Begin); @@ -144,18 +141,17 @@ namespace OpenRA public Lazy SpawnPoints; // Yaml map data - [FieldLoader.Ignore] public List RuleDefinitions = new List(); - [FieldLoader.Ignore] public List SequenceDefinitions = new List(); - [FieldLoader.Ignore] public List VoxelSequenceDefinitions = new List(); - [FieldLoader.Ignore] public List WeaponDefinitions = new List(); - [FieldLoader.Ignore] public List VoiceDefinitions = new List(); - [FieldLoader.Ignore] public List MusicDefinitions = new List(); - [FieldLoader.Ignore] public List NotificationDefinitions = new List(); - [FieldLoader.Ignore] public List TranslationDefinitions = new List(); - [FieldLoader.Ignore] public List PlayerDefinitions = new List(); + [FieldLoader.Ignore] public readonly string[] RuleDefinitions = { }; + [FieldLoader.Ignore] public readonly string[] SequenceDefinitions = { }; + [FieldLoader.Ignore] public readonly string[] VoxelSequenceDefinitions = { }; + [FieldLoader.Ignore] public readonly string[] WeaponDefinitions = { }; + [FieldLoader.Ignore] public readonly string[] VoiceDefinitions = { }; + [FieldLoader.Ignore] public readonly string[] MusicDefinitions = { }; + [FieldLoader.Ignore] public readonly string[] NotificationDefinitions = { }; + [FieldLoader.Ignore] public readonly string[] TranslationDefinitions = { }; + [FieldLoader.Ignore] public List PlayerDefinitions = new List(); [FieldLoader.Ignore] public List ActorDefinitions = new List(); - [FieldLoader.Ignore] public List SmudgeDefinitions = new List(); // Binary map data [FieldLoader.Ignore] public byte TileFormat = 2; @@ -188,6 +184,13 @@ namespace OpenRA throw new InvalidOperationException("Required file {0} not present in this map".F(filename)); } + void LoadFileList(MiniYaml yaml, string section, ref string[] files) + { + MiniYamlNode node; + if ((node = yaml.Nodes.FirstOrDefault(n => n.Key == section)) != null) + files = FieldLoader.GetValue(section, node.Value.Value); + } + /// /// Initializes a new map created by the editor or importer. /// The map will not receive a valid UID until after it has been saved and reloaded. @@ -257,18 +260,17 @@ namespace OpenRA return spawns.ToArray(); }); - RuleDefinitions = MiniYaml.NodesOrEmpty(yaml, "Rules"); - SequenceDefinitions = MiniYaml.NodesOrEmpty(yaml, "Sequences"); - VoxelSequenceDefinitions = MiniYaml.NodesOrEmpty(yaml, "VoxelSequences"); - WeaponDefinitions = MiniYaml.NodesOrEmpty(yaml, "Weapons"); - VoiceDefinitions = MiniYaml.NodesOrEmpty(yaml, "Voices"); - MusicDefinitions = MiniYaml.NodesOrEmpty(yaml, "Music"); - NotificationDefinitions = MiniYaml.NodesOrEmpty(yaml, "Notifications"); - TranslationDefinitions = MiniYaml.NodesOrEmpty(yaml, "Translations"); - PlayerDefinitions = MiniYaml.NodesOrEmpty(yaml, "Players"); + LoadFileList(yaml, "Rules", ref RuleDefinitions); + LoadFileList(yaml, "Sequences", ref SequenceDefinitions); + LoadFileList(yaml, "VoxelSequences", ref VoxelSequenceDefinitions); + LoadFileList(yaml, "Weapons", ref WeaponDefinitions); + LoadFileList(yaml, "Voices", ref VoiceDefinitions); + LoadFileList(yaml, "Music", ref MusicDefinitions); + LoadFileList(yaml, "Notifications", ref NotificationDefinitions); + LoadFileList(yaml, "Translations", ref TranslationDefinitions); + PlayerDefinitions = MiniYaml.NodesOrEmpty(yaml, "Players"); ActorDefinitions = MiniYaml.NodesOrEmpty(yaml, "Actors"); - SmudgeDefinitions = MiniYaml.NodesOrEmpty(yaml, "Smudges"); MapTiles = Exts.Lazy(LoadMapTiles); MapResources = Exts.Lazy(LoadResourceTiles); @@ -280,10 +282,6 @@ namespace OpenRA LastSubCell = (SubCell)(SubCellOffsets.Length - 1); DefaultSubCell = (SubCell)Grid.SubCellDefaultIndex; - if (Package.Contains("map.png")) - using (var dataStream = Package.GetStream("map.png")) - CustomPreview = new Bitmap(dataStream); - PostInit(); Uid = ComputeUID(Package); @@ -443,23 +441,37 @@ namespace OpenRA root.Add(new MiniYamlNode(field, FieldSaver.FormatValue(this, f))); } + // Save LockPreview field only if it's set + if (LockPreview) + root.Add(new MiniYamlNode("LockPreview", "True")); + root.Add(new MiniYamlNode("Players", null, PlayerDefinitions)); root.Add(new MiniYamlNode("Actors", null, ActorDefinitions)); - root.Add(new MiniYamlNode("Smudges", null, SmudgeDefinitions)); - root.Add(new MiniYamlNode("Rules", null, RuleDefinitions)); - root.Add(new MiniYamlNode("Sequences", null, SequenceDefinitions)); - root.Add(new MiniYamlNode("VoxelSequences", null, VoxelSequenceDefinitions)); - root.Add(new MiniYamlNode("Weapons", null, WeaponDefinitions)); - root.Add(new MiniYamlNode("Voices", null, VoiceDefinitions)); - root.Add(new MiniYamlNode("Music", null, MusicDefinitions)); - root.Add(new MiniYamlNode("Notifications", null, NotificationDefinitions)); - root.Add(new MiniYamlNode("Translations", null, TranslationDefinitions)); + + var fileFields = new[] + { + Pair.New("Rules", RuleDefinitions), + Pair.New("Sequences", SequenceDefinitions), + Pair.New("VoxelSequences", VoxelSequenceDefinitions), + Pair.New("Weapons", WeaponDefinitions), + Pair.New("Voices", VoiceDefinitions), + Pair.New("Music", MusicDefinitions), + Pair.New("Notifications", NotificationDefinitions), + Pair.New("Translations", TranslationDefinitions) + }; + + foreach (var kv in fileFields) + if (kv.Second.Any()) + root.Add(new MiniYamlNode(kv.First, FieldSaver.FormatValue(kv.Second))); // Saving to a new package: copy over all the content from the map if (Package != null && toPackage != Package) foreach (var file in Package.Contents) toPackage.Update(file, Package.GetStream(file).ReadAllBytes()); + if (!LockPreview) + toPackage.Update("map.png", SavePreview()); + // Update the package with the new map data var s = root.WriteToString(); toPackage.Update("map.yaml", Encoding.UTF8.GetBytes(s)); @@ -607,6 +619,84 @@ namespace OpenRA return dataStream.ToArray(); } + public byte[] SavePreview() + { + var tileset = Rules.TileSets[Tileset]; + var resources = Rules.Actors["world"].TraitInfos() + .ToDictionary(r => r.ResourceType, r => r.TerrainType); + + using (var stream = new MemoryStream()) + { + var isRectangularIsometric = Grid.Type == MapGridType.RectangularIsometric; + + // Fudge the heightmap offset by adding as much extra as we need / can. + // This tries to correct for our incorrect assumption that MPos == PPos + var heightOffset = Math.Min(Grid.MaximumTerrainHeight, MapSize.Y - Bounds.Bottom); + var width = Bounds.Width; + var height = Bounds.Height + heightOffset; + + var bitmapWidth = width; + if (isRectangularIsometric) + bitmapWidth = 2 * bitmapWidth - 1; + + using (var bitmap = new Bitmap(bitmapWidth, height)) + { + var bitmapData = bitmap.LockBits(bitmap.Bounds(), + ImageLockMode.ReadWrite, PixelFormat.Format32bppArgb); + + unsafe + { + var colors = (int*)bitmapData.Scan0; + var stride = bitmapData.Stride / 4; + Color leftColor, rightColor; + + for (var y = 0; y < height; y++) + { + for (var x = 0; x < width; x++) + { + var uv = new MPos(x + Bounds.Left, y + Bounds.Top); + var resourceType = MapResources.Value[uv].Type; + if (resourceType != 0) + { + // Cell contains resources + string res; + if (!resources.TryGetValue(resourceType, out res)) + continue; + + leftColor = rightColor = tileset[tileset.GetTerrainIndex(res)].Color; + } + else + { + // Cell contains terrain + var type = tileset.GetTileInfo(MapTiles.Value[uv]); + leftColor = type != null ? type.LeftColor : Color.Black; + rightColor = type != null ? type.RightColor : Color.Black; + } + + if (isRectangularIsometric) + { + // Odd rows are shifted right by 1px + var dx = uv.V & 1; + if (x + dx > 0) + colors[y * stride + 2 * x + dx - 1] = leftColor.ToArgb(); + + if (2 * x + dx < stride) + colors[y * stride + 2 * x + dx] = rightColor.ToArgb(); + } + else + colors[y * stride + x] = leftColor.ToArgb(); + } + } + } + + bitmap.UnlockBits(bitmapData); + bitmap.Save(stream, ImageFormat.Png); + } + + return stream.ToArray(); + } + } + public bool Contains(CPos cell) { // .ToMPos() returns the same result if the X and Y coordinates diff --git a/OpenRA.Game/Map/MapCache.cs b/OpenRA.Game/Map/MapCache.cs index e3722fc8d6..a2301bdb1a 100644 --- a/OpenRA.Game/Map/MapCache.cs +++ b/OpenRA.Game/Map/MapCache.cs @@ -193,28 +193,8 @@ namespace OpenRA // Render the minimap into the shared sheet foreach (var p in todo) { - // The rendering is thread safe because it only reads from the passed instances and writes to a new bitmap - var createdPreview = false; - var bitmap = p.CustomPreview; - if (bitmap == null) - { - createdPreview = true; - var map = new Map(modData, p.Package); - bitmap = Minimap.RenderMapPreview(modData.DefaultRules.TileSets[map.Tileset], map, modData.DefaultRules, true); - } - - Game.RunAfterTick(() => - { - try - { - p.SetMinimap(sheetBuilder.Add(bitmap)); - } - finally - { - if (createdPreview) - bitmap.Dispose(); - } - }); + if (p.Preview != null) + Game.RunAfterTick(() => p.SetMinimap(sheetBuilder.Add(p.Preview))); // Yuck... But this helps the UI Jank when opening the map selector significantly. Thread.Sleep(Environment.ProcessorCount == 1 ? 25 : 5); diff --git a/OpenRA.Game/Map/MapPreview.cs b/OpenRA.Game/Map/MapPreview.cs index 4eae134097..cbc0e79612 100644 --- a/OpenRA.Game/Map/MapPreview.cs +++ b/OpenRA.Game/Map/MapPreview.cs @@ -69,7 +69,7 @@ namespace OpenRA public CPos[] SpawnPoints { get; private set; } public MapGridType GridType { get; private set; } public Rectangle Bounds { get; private set; } - public Bitmap CustomPreview { get; private set; } + public Bitmap Preview { get; private set; } public MapStatus Status { get; private set; } public MapClassification Class { get; private set; } public MapVisibility Visibility { get; private set; } @@ -200,7 +200,7 @@ namespace OpenRA if (p.Contains("map.png")) using (var dataStream = p.GetStream("map.png")) - CustomPreview = new Bitmap(dataStream); + Preview = new Bitmap(dataStream); } bool EvaluateUserFriendliness(Dictionary players) @@ -253,11 +253,11 @@ namespace OpenRA SpawnPoints = spawns; GridType = r.map_grid_type; - CustomPreview = new Bitmap(new MemoryStream(Convert.FromBase64String(r.minimap))); + Preview = new Bitmap(new MemoryStream(Convert.FromBase64String(r.minimap))); } catch (Exception) { } - if (CustomPreview != null) + if (Preview != null) cache.CacheMinimap(this); } diff --git a/OpenRA.Game/ModData.cs b/OpenRA.Game/ModData.cs index 9ef3870f9a..605a823847 100644 --- a/OpenRA.Game/ModData.cs +++ b/OpenRA.Game/ModData.cs @@ -130,9 +130,8 @@ namespace OpenRA return; } - var yaml = MiniYaml.Merge(Manifest.Translations - .Select(t => MiniYaml.FromStream(ModFiles.Open(t))) - .Append(map.TranslationDefinitions)); + var yaml = MiniYaml.Merge(Manifest.Translations.Append(map.TranslationDefinitions) + .Select(t => MiniYaml.FromStream(map.Open(t)))); Languages = yaml.Select(t => t.Key).ToArray(); foreach (var y in yaml) @@ -183,7 +182,7 @@ namespace OpenRA foreach (var entry in map.Rules.Music) entry.Value.Load(map); - VoxelProvider.Initialize(VoxelLoader, map, Manifest.VoxelSequences, map.VoxelSequenceDefinitions); + VoxelProvider.Initialize(VoxelLoader, map, Manifest.VoxelSequences.Append(map.VoxelSequenceDefinitions)); VoxelLoader.Finish(); return map; diff --git a/OpenRA.Game/OpenRA.Game.csproj b/OpenRA.Game/OpenRA.Game.csproj index 8b6134358c..983eeceb19 100644 --- a/OpenRA.Game/OpenRA.Game.csproj +++ b/OpenRA.Game/OpenRA.Game.csproj @@ -121,7 +121,6 @@ - diff --git a/OpenRA.Mods.Common/Lint/CheckSequences.cs b/OpenRA.Mods.Common/Lint/CheckSequences.cs index c51b6b0fb0..55d3b1dabc 100644 --- a/OpenRA.Mods.Common/Lint/CheckSequences.cs +++ b/OpenRA.Mods.Common/Lint/CheckSequences.cs @@ -32,8 +32,8 @@ namespace OpenRA.Mods.Common.Lint var modData = Game.ModData; this.emitError = emitError; - var sequenceSource = map != null ? map.SequenceDefinitions : new List(); - sequenceDefinitions = MiniYaml.Merge(modData.Manifest.Sequences.Select(s => MiniYaml.FromStream(map.Open(s))).Append(sequenceSource)); + var mapSequences = map != null ? map.SequenceDefinitions : new string[0]; + sequenceDefinitions = MiniYaml.Merge(modData.Manifest.Sequences.Append(mapSequences).Select(s => MiniYaml.FromStream(map.Open(s)))); var rules = map == null ? modData.DefaultRules : map.Rules; var factions = rules.Actors["world"].TraitInfos().Select(f => f.InternalName).ToArray(); diff --git a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj index 915b947708..3c894a8de3 100644 --- a/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj +++ b/OpenRA.Mods.Common/OpenRA.Mods.Common.csproj @@ -543,7 +543,6 @@ - diff --git a/OpenRA.Mods.Common/Traits/World/SmudgeLayer.cs b/OpenRA.Mods.Common/Traits/World/SmudgeLayer.cs index 6239d63d5a..ff5013f7b0 100644 --- a/OpenRA.Mods.Common/Traits/World/SmudgeLayer.cs +++ b/OpenRA.Mods.Common/Traits/World/SmudgeLayer.cs @@ -18,6 +18,12 @@ using OpenRA.Traits; namespace OpenRA.Mods.Common.Traits { + public struct MapSmudge + { + public string Type; + public int Depth; + } + [Desc("Attach this to the world actor.", "Order of the layers defines the Z sorting.")] public class SmudgeLayerInfo : ITraitInfo { @@ -36,6 +42,33 @@ namespace OpenRA.Mods.Common.Traits [PaletteReference] public readonly string Palette = TileSet.TerrainPaletteInternalName; + [FieldLoader.LoadUsing("LoadInitialSmudges")] + public readonly Dictionary InitialSmudges; + + public static object LoadInitialSmudges(MiniYaml yaml) + { + MiniYaml smudgeYaml; + var nd = yaml.ToDictionary(); + var smudges = new Dictionary(); + if (nd.TryGetValue("InitialSmudges", out smudgeYaml)) + { + foreach (var node in smudgeYaml.Nodes) + { + try + { + var cell = FieldLoader.GetValue("key", node.Key); + var parts = node.Value.Value.Split(','); + var type = parts[0]; + var depth = FieldLoader.GetValue("depth", parts[1]); + smudges.Add(cell, new MapSmudge { Type = type, Depth = depth }); + } + catch { } + } + } + + return smudges; + } + public object Create(ActorInitializer init) { return new SmudgeLayer(init.Self, this); } } @@ -85,28 +118,21 @@ namespace OpenRA.Mods.Common.Traits render = new TerrainSpriteLayer(w, wr, sheet, blendMode, wr.Palette(Info.Palette), wr.World.Type != WorldType.Editor); // Add map smudges - foreach (var s in w.Map.SmudgeDefinitions) + foreach (var kv in Info.InitialSmudges) { - var name = s.Key; - var vals = name.Split(' '); - var type = vals[0]; - - if (!smudges.ContainsKey(type)) + var s = kv.Value; + if (!smudges.ContainsKey(s.Type)) continue; - var loc = vals[1].Split(','); - var cell = new CPos(Exts.ParseIntegerInvariant(loc[0]), Exts.ParseIntegerInvariant(loc[1])); - var depth = Exts.ParseIntegerInvariant(vals[2]); - var smudge = new Smudge { - Type = type, - Depth = depth, - Sprite = smudges[type][depth] + Type = s.Type, + Depth = s.Depth, + Sprite = smudges[s.Type][s.Depth] }; - tiles.Add(cell, smudge); - render.Update(cell, smudge.Sprite); + tiles.Add(kv.Key, smudge); + render.Update(kv.Key, smudge.Sprite); } } diff --git a/OpenRA.Mods.Common/UtilityCommands/CheckYaml.cs b/OpenRA.Mods.Common/UtilityCommands/CheckYaml.cs index 9d6f9a2700..2a96940697 100644 --- a/OpenRA.Mods.Common/UtilityCommands/CheckYaml.cs +++ b/OpenRA.Mods.Common/UtilityCommands/CheckYaml.cs @@ -127,7 +127,7 @@ namespace OpenRA.Mods.Common.UtilityCommands { try { - modData.RulesetCache.Load(modData.DefaultFileSystem, map); + modData.RulesetCache.Load(map ?? modData.DefaultFileSystem, map); var customRulesPass = (ILintRulesPass)modData.ObjectCreator.CreateBasic(customRulesPassType); customRulesPass.Run(EmitError, EmitWarning, rules); } diff --git a/OpenRA.Mods.Common/UtilityCommands/GenerateMinimapCommand.cs b/OpenRA.Mods.Common/UtilityCommands/GenerateMinimapCommand.cs deleted file mode 100644 index d2fcae348c..0000000000 --- a/OpenRA.Mods.Common/UtilityCommands/GenerateMinimapCommand.cs +++ /dev/null @@ -1,40 +0,0 @@ -#region Copyright & License Information -/* - * Copyright 2007-2016 The OpenRA Developers (see AUTHORS) - * This file is part of OpenRA, which is free software. It is made - * available to you under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of - * the License, or (at your option) any later version. For more - * information, see COPYING. - */ -#endregion - -using System; -using System.IO; -using OpenRA.Graphics; - -namespace OpenRA.Mods.Common.UtilityCommands -{ - class GenerateMinimapCommand : IUtilityCommand - { - public string Name { get { return "--map-preview"; } } - - public bool ValidateArguments(string[] args) - { - return args.Length >= 2; - } - - [Desc("MAPFILE", "Render PNG minimap of specified oramap file.")] - public void Run(ModData modData, string[] args) - { - Game.ModData = modData; - - var map = new Map(modData, modData.ModFiles.OpenPackage(args[1])); - var minimap = Minimap.RenderMapPreview(map.Rules.TileSets[map.Tileset], map, true); - - var dest = Path.GetFileNameWithoutExtension(args[1]) + ".png"; - minimap.Save(dest); - Console.WriteLine(dest + " saved."); - } - } -} diff --git a/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs b/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs index b64cfe17c9..9d469750b3 100644 --- a/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/ImportLegacyMapCommand.cs @@ -33,6 +33,7 @@ namespace OpenRA.Mods.Common.UtilityCommands public ModData ModData; public Map Map; + public IReadWritePackage Package; public List Players = new List(); public MapPlayers MapPlayers; public MiniYaml Rules = new MiniYaml(""); @@ -51,6 +52,8 @@ namespace OpenRA.Mods.Common.UtilityCommands Game.ModData = modData; var filename = args[1]; + var dest = Path.GetFileNameWithoutExtension(args[1]) + ".oramap"; + Package = new ZipFile(modData.ModFiles, dest, true); using (var stream = modData.DefaultFileSystem.Open(filename)) { var file = new IniFile(stream); @@ -79,7 +82,7 @@ namespace OpenRA.Mods.Common.UtilityCommands ReadActors(file); - LoadSmudges(file, "SMUDGE", MapSize, Map); + LoadSmudges(file, "SMUDGE"); var waypoints = file.GetSection("Waypoints"); LoadWaypoints(Map, waypoints, MapSize); @@ -93,11 +96,16 @@ namespace OpenRA.Mods.Common.UtilityCommands Map.FixOpenAreas(); - Map.RuleDefinitions = Rules.Nodes; + if (Rules.Nodes.Any()) + { + // HACK: bypassing the readonly modifier here is still better than leaving this mutable by everyone + typeof(Map).GetField("RuleDefinitions").SetValue(Map, new[] { "rules.yaml" }); - var dest = Path.GetFileNameWithoutExtension(args[1]) + ".oramap"; - var package = new ZipFile(modData.ModFiles, dest, true); - Map.Save(package); + var rulesText = Rules.Nodes.ToLines(false).JoinWith("\n"); + Package.Update("rules.yaml", System.Text.Encoding.ASCII.GetBytes(rulesText)); + } + + Map.Save(Package); Console.WriteLine(dest + " saved."); } @@ -271,16 +279,45 @@ namespace OpenRA.Mods.Common.UtilityCommands } } - static void LoadSmudges(IniFile file, string section, int mapSize, Map map) + void LoadSmudges(IniFile file, string section) { + var scorches = new List(); + var craters = new List(); foreach (var s in file.GetSection(section, true)) { // loc=type,loc,depth var parts = s.Value.Split(','); var loc = Exts.ParseIntegerInvariant(parts[1]); - var key = "{0} {1},{2} {3}".F(parts[0].ToLowerInvariant(), loc % mapSize, loc / mapSize, Exts.ParseIntegerInvariant(parts[2])); - map.SmudgeDefinitions.Add(new MiniYamlNode(key, "")); + var type = parts[0].ToLowerInvariant(); + var key = "{0},{1}".F(loc % MapSize, loc / MapSize); + var value = "{0},{1}".F(type, parts[2]); + var node = new MiniYamlNode(key, value); + if (type.StartsWith("sc")) + scorches.Add(node); + else if (type.StartsWith("cr")) + craters.Add(node); } + + var worldNode = Rules.Nodes.FirstOrDefault(n => n.Key == "World"); + if (worldNode == null) + worldNode = new MiniYamlNode("World", new MiniYaml("", new List())); + + if (scorches.Any()) + { + var initialScorches = new MiniYamlNode("InitialSmudges", new MiniYaml("", scorches)); + var smudgeLayer = new MiniYamlNode("SmudgeLayer@SCORCH", new MiniYaml("", new List() { initialScorches })); + worldNode.Value.Nodes.Add(smudgeLayer); + } + + if (craters.Any()) + { + var initialCraters = new MiniYamlNode("InitialSmudges", new MiniYaml("", craters)); + var smudgeLayer = new MiniYamlNode("SmudgeLayer@CRATER", new MiniYaml("", new List() { initialCraters })); + worldNode.Value.Nodes.Add(smudgeLayer); + } + + if (worldNode.Value.Nodes.Any() && !Rules.Nodes.Contains(worldNode)) + Rules.Nodes.Add(worldNode); } // TODO: fix this -- will have bitrotted pretty badly. diff --git a/OpenRA.Mods.Common/UtilityCommands/UpgradeMapCommand.cs b/OpenRA.Mods.Common/UtilityCommands/UpgradeMapCommand.cs index 3070183e4c..cc9da3aac3 100644 --- a/OpenRA.Mods.Common/UtilityCommands/UpgradeMapCommand.cs +++ b/OpenRA.Mods.Common/UtilityCommands/UpgradeMapCommand.cs @@ -25,6 +25,21 @@ namespace OpenRA.Mods.Common.UtilityCommands return args.Length >= 3; } + delegate void UpgradeAction(int engineVersion, ref List nodes, MiniYamlNode parent, int depth); + + static void ProcessYaml(Map map, IEnumerable files, int engineDate, UpgradeAction processFile) + { + foreach (var filename in files) + { + if (!map.Package.Contains(filename)) + continue; + + var yaml = MiniYaml.FromStream(map.Package.GetStream(filename)); + processFile(engineDate, ref yaml, null, 0); + ((IReadWritePackage)map.Package).Update(filename, Encoding.ASCII.GetBytes(yaml.WriteToString())); + } + } + public static void UpgradeMap(ModData modData, IReadWritePackage package, int engineDate) { UpgradeRules.UpgradeMapFormat(modData, package); @@ -37,8 +52,8 @@ namespace OpenRA.Mods.Common.UtilityCommands } var map = new Map(modData, package); - UpgradeRules.UpgradeWeaponRules(engineDate, ref map.WeaponDefinitions, null, 0); - UpgradeRules.UpgradeActorRules(engineDate, ref map.RuleDefinitions, null, 0); + ProcessYaml(map, map.WeaponDefinitions, engineDate, UpgradeRules.UpgradeWeaponRules); + ProcessYaml(map, map.RuleDefinitions, engineDate, UpgradeRules.UpgradeActorRules); UpgradeRules.UpgradePlayers(engineDate, ref map.PlayerDefinitions, null, 0); UpgradeRules.UpgradeActors(engineDate, ref map.ActorDefinitions, null, 0); map.Save(package); diff --git a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs index 97e7099097..153bbdf4e9 100644 --- a/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs +++ b/OpenRA.Mods.Common/UtilityCommands/UpgradeRules.cs @@ -778,7 +778,6 @@ namespace OpenRA.Mods.Common.UtilityCommands } } - Console.WriteLine("Converted " + package.Name + " to MapFormat 8."); if (noteHexColors) Console.WriteLine("ColorRamp is now called Color and uses rgb(a) hex value - rrggbb[aa]."); else if (noteColorRamp) @@ -949,9 +948,97 @@ namespace OpenRA.Mods.Common.UtilityCommands rules.Value.Nodes.Add(playerNode); } - yaml.Nodes.First(n => n.Key == "MapFormat").Value = new MiniYaml(Map.SupportedMapFormat.ToString()); + // Format 9 -> 10 extracted map rules, sequences, voxelsequences, weapons, voices, music, notifications, + // and translations to external files, moved smudges to SmudgeLayer, and uses map.png for all maps + if (mapFormat < 10) + { + ExtractSmudges(yaml); + ExtractOrRemoveRules(package, yaml, "Rules", "rules.yaml"); + ExtractOrRemoveRules(package, yaml, "Sequences", "sequences.yaml"); + ExtractOrRemoveRules(package, yaml, "VoxelSequences", "voxels.yaml"); + ExtractOrRemoveRules(package, yaml, "Weapons", "weapons.yaml"); + ExtractOrRemoveRules(package, yaml, "Voices", "voices.yaml"); + ExtractOrRemoveRules(package, yaml, "Music", "music.yaml"); + ExtractOrRemoveRules(package, yaml, "Notifications", "notifications.yaml"); + ExtractOrRemoveRules(package, yaml, "Translations", "translations.yaml"); + + if (package.Contains("map.png")) + yaml.Nodes.Add(new MiniYamlNode("LockPreview", new MiniYaml("True"))); + } + + if (mapFormat < Map.SupportedMapFormat) + { + yaml.Nodes.First(n => n.Key == "MapFormat").Value = new MiniYaml(Map.SupportedMapFormat.ToString()); + Console.WriteLine("Converted {0} to MapFormat {1}.", package.Name, Map.SupportedMapFormat); + } package.Update("map.yaml", Encoding.UTF8.GetBytes(yaml.Nodes.WriteToString())); } + + static void ExtractSmudges(MiniYaml yaml) + { + var smudges = yaml.Nodes.FirstOrDefault(n => n.Key == "Smudges"); + if (smudges == null || !smudges.Value.Nodes.Any()) + return; + + var scorches = new List(); + var craters = new List(); + foreach (var s in smudges.Value.Nodes) + { + // loc=type,loc,depth + var parts = s.Key.Split(' '); + var value = "{0},{1}".F(parts[0], parts[2]); + var node = new MiniYamlNode(parts[1], value); + if (parts[0].StartsWith("sc")) + scorches.Add(node); + else if (parts[0].StartsWith("cr")) + craters.Add(node); + } + + var rulesNode = yaml.Nodes.FirstOrDefault(n => n.Key == "Rules"); + if (rulesNode == null) + { + rulesNode = new MiniYamlNode("Rules", new MiniYaml("", new List())); + yaml.Nodes.Add(rulesNode); + } + + var worldNode = rulesNode.Value.Nodes.FirstOrDefault(n => n.Key == "World"); + if (worldNode == null) + { + worldNode = new MiniYamlNode("World", new MiniYaml("", new List())); + rulesNode.Value.Nodes.Add(rulesNode); + } + + if (scorches.Any()) + { + var initialScorches = new MiniYamlNode("InitialSmudges", new MiniYaml("", scorches)); + var smudgeLayer = new MiniYamlNode("SmudgeLayer@SCORCH", new MiniYaml("", new List() { initialScorches })); + worldNode.Value.Nodes.Add(smudgeLayer); + } + + if (craters.Any()) + { + var initialCraters = new MiniYamlNode("InitialSmudges", new MiniYaml("", craters)); + var smudgeLayer = new MiniYamlNode("SmudgeLayer@CRATER", new MiniYaml("", new List() { initialCraters })); + worldNode.Value.Nodes.Add(smudgeLayer); + } + } + + static void ExtractOrRemoveRules(IReadWritePackage package, MiniYaml yaml, string key, string filename) + { + var node = yaml.Nodes.FirstOrDefault(n => n.Key == key); + if (node == null) + return; + + if (node.Value.Nodes.Any()) + { + var rulesText = node.Value.Nodes.ToLines(false).JoinWith("\n"); + package.Update(filename, System.Text.Encoding.ASCII.GetBytes(rulesText)); + node.Value.Value = filename; + node.Value.Nodes.Clear(); + } + else + yaml.Nodes.Remove(node); + } } } diff --git a/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoLogic.cs index 38497b9e91..c2aea8c6e5 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/Ingame/GameInfoLogic.cs @@ -54,7 +54,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic } // Briefing tab - if (world.Map.CustomPreview != null) + if (world.Map.Exists("map.png")) { numTabs++; var mapTabButton = widget.Get(string.Concat("BUTTON", numTabs.ToString())); diff --git a/OpenRA.Mods.TS/UtilityCommands/ImportTSMapCommand.cs b/OpenRA.Mods.TS/UtilityCommands/ImportTSMapCommand.cs index 9407683635..48eda4f34c 100644 --- a/OpenRA.Mods.TS/UtilityCommands/ImportTSMapCommand.cs +++ b/OpenRA.Mods.TS/UtilityCommands/ImportTSMapCommand.cs @@ -165,6 +165,8 @@ namespace OpenRA.Mods.TS.UtilityCommands var filename = args[1]; var file = new IniFile(File.Open(args[1], FileMode.Open)); var map = GenerateMapHeader(filename, file, modData); + var dest = Path.GetFileNameWithoutExtension(args[1]) + ".oramap"; + var package = new ZipFile(modData.DefaultFileSystem, dest, true); ReadTiles(map, file); ReadActors(map, file, "Structures"); @@ -173,13 +175,11 @@ namespace OpenRA.Mods.TS.UtilityCommands ReadTerrainActors(map, file); ReadWaypoints(map, file); ReadOverlay(map, file); - ReadLighting(map, file); + ReadLighting(map, package, file); var mapPlayers = new MapPlayers(map.Rules, spawnCount); map.PlayerDefinitions = mapPlayers.ToMiniYaml(); - var dest = Path.GetFileNameWithoutExtension(args[1]) + ".oramap"; - var package = new ZipFile(modData.DefaultFileSystem, dest, true); map.Save(package); Console.WriteLine(dest + " saved."); } @@ -431,29 +431,32 @@ namespace OpenRA.Mods.TS.UtilityCommands } } - void ReadLighting(Map map, IniFile file) + void ReadLighting(Map map, IReadWritePackage package, IniFile file) { var lightingTypes = new[] { "Red", "Green", "Blue", "Ambient" }; var lightingSection = file.GetSection("Lighting"); - var lightingNodes = new List(); + var lightingNode = new MiniYamlNode("GlobalLightingPaletteEffect", new MiniYaml("", new List())); + var worldNode = new MiniYamlNode("World", new MiniYaml("", new List() { lightingNode })); + foreach (var kv in lightingSection) { if (lightingTypes.Contains(kv.Key)) { var val = FieldLoader.GetValue(kv.Key, kv.Value); if (val != 1.0f) - lightingNodes.Add(new MiniYamlNode(kv.Key, FieldSaver.FormatValue(val))); + lightingNode.Value.Nodes.Add(new MiniYamlNode(kv.Key, FieldSaver.FormatValue(val))); } else Console.WriteLine("Ignoring unknown lighting type: `{0}`".F(kv.Key)); } - if (lightingNodes.Any()) + if (lightingNode.Value.Nodes.Any()) { - map.RuleDefinitions.Add(new MiniYamlNode("World", new MiniYaml("", new List() - { - new MiniYamlNode("GlobalLightingPaletteEffect", new MiniYaml("", lightingNodes)) - }))); + // HACK: bypassing the readonly modifier here is still better than leaving this mutable by everyone + typeof(Map).GetField("RuleDefinitions").SetValue(map, new[] { "rules.yaml" }); + + var rulesText = new List() { worldNode }.ToLines(false).JoinWith("\n"); + package.Update("rules.yaml", System.Text.Encoding.ASCII.GetBytes(rulesText)); } } } diff --git a/mods/cnc/maps/IN-IslandDuel.oramap b/mods/cnc/maps/IN-IslandDuel.oramap index 79317b3540..5d908893b4 100644 Binary files a/mods/cnc/maps/IN-IslandDuel.oramap and b/mods/cnc/maps/IN-IslandDuel.oramap differ diff --git a/mods/cnc/maps/Instant_Karma.oramap b/mods/cnc/maps/Instant_Karma.oramap index 8e6b82aa54..81ed92ded2 100644 Binary files a/mods/cnc/maps/Instant_Karma.oramap and b/mods/cnc/maps/Instant_Karma.oramap differ diff --git a/mods/cnc/maps/Nullpeter.oramap b/mods/cnc/maps/Nullpeter.oramap index 48924371ea..46c67e8d4d 100644 Binary files a/mods/cnc/maps/Nullpeter.oramap and b/mods/cnc/maps/Nullpeter.oramap differ diff --git a/mods/cnc/maps/_lostsouls.oramap b/mods/cnc/maps/_lostsouls.oramap index a6725789be..5414576b29 100644 Binary files a/mods/cnc/maps/_lostsouls.oramap and b/mods/cnc/maps/_lostsouls.oramap differ diff --git a/mods/cnc/maps/aggressivetendencies.oramap b/mods/cnc/maps/aggressivetendencies.oramap index 51914a00e6..510a843624 100644 Binary files a/mods/cnc/maps/aggressivetendencies.oramap and b/mods/cnc/maps/aggressivetendencies.oramap differ diff --git a/mods/cnc/maps/avocado.oramap b/mods/cnc/maps/avocado.oramap index 45d75188a7..b79290f19f 100644 Binary files a/mods/cnc/maps/avocado.oramap and b/mods/cnc/maps/avocado.oramap differ diff --git a/mods/cnc/maps/break_of_day.oramap b/mods/cnc/maps/break_of_day.oramap index da69d8954d..edf6715afa 100644 Binary files a/mods/cnc/maps/break_of_day.oramap and b/mods/cnc/maps/break_of_day.oramap differ diff --git a/mods/cnc/maps/chokepoint.oramap b/mods/cnc/maps/chokepoint.oramap index 2107ee5146..8e039c5dce 100644 Binary files a/mods/cnc/maps/chokepoint.oramap and b/mods/cnc/maps/chokepoint.oramap differ diff --git a/mods/cnc/maps/chord_simple.oramap b/mods/cnc/maps/chord_simple.oramap index f194aaf883..9fb00d3bbc 100644 Binary files a/mods/cnc/maps/chord_simple.oramap and b/mods/cnc/maps/chord_simple.oramap differ diff --git a/mods/cnc/maps/cnc64gdi01/map.yaml b/mods/cnc/maps/cnc64gdi01/map.yaml index 696d729e56..9d2df12020 100644 --- a/mods/cnc/maps/cnc64gdi01/map.yaml +++ b/mods/cnc/maps/cnc64gdi01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Nod: Name: Nod @@ -710,182 +712,6 @@ Actors: Owner: Nod Location: 26,14 -Smudges: +Rules: rules.yaml -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - LuaScript: - Scripts: cnc64gdi01.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: aoi - MissionData: - Briefing: Nod is experimenting on civilians with Tiberium. Use the commando to take out the SAM sites surrounding the dropoff area. With the SAMs gone you will then get an airstrike. Take out the Obelisk and an MCV will be delivered to help you to locate and destroy the biochem facility. - StartVideo: obel.vqa - WinVideo: orcabomb.vqa - LossVideo: cutout.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 10000 - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - BIO.Husk: - Tooltip: - ShowOwnerRow: false - EYE: - IonCannonPower: - Prerequisites: ~disabled - FLARE: - RevealsShroud: - Range: 5c0 - STNK: - Buildable: - Prerequisites: ~techlevel.high - TRAN: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - OLDLST: - Inherits: LST - -WithRoof: - -Selectable: - RejectsOrders: - Cargo: - Types: disabled - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - airstrike.proxy: - AlwaysVisible: - AirstrikePower: - Icon: airstrike - StartFullyCharged: True - ChargeTime: 120 - SquadSize: 3 - QuantizedFacings: 8 - Description: Air Strike - LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. - EndChargeSound: airredy1.aud - SelectTargetSound: select1.aud - InsufficientPowerSound: nopower1.aud - IncomingSound: enemya.aud - UnitType: a10 - DisplayBeacon: True - BeaconPoster: airstrike - DisplayRadarPing: True - CameraActor: camera - -Sequences: - oldlst: - idle: lst - Start: 0 - Facings: 1 - ZOffset: -1024 - icon: lsticnh.tem - AddExtension: False - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Sequences: sequences.yaml diff --git a/mods/cnc/maps/cnc64gdi01/rules.yaml b/mods/cnc/maps/cnc64gdi01/rules.yaml new file mode 100644 index 0000000000..ac88b6cfc1 --- /dev/null +++ b/mods/cnc/maps/cnc64gdi01/rules.yaml @@ -0,0 +1,178 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + LuaScript: + Scripts: cnc64gdi01.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: aoi + MissionData: + Briefing: Nod is experimenting on civilians with Tiberium. Use the commando to take out the SAM sites surrounding the dropoff area. With the SAMs gone you will then get an airstrike. Take out the Obelisk and an MCV will be delivered to help you to locate and destroy the biochem facility. + StartVideo: obel.vqa + WinVideo: orcabomb.vqa + LossVideo: cutout.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 10000 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +BIO.Husk: + Tooltip: + ShowOwnerRow: false + +EYE: + IonCannonPower: + Prerequisites: ~disabled + +FLARE: + RevealsShroud: + Range: 5c0 + +STNK: + Buildable: + Prerequisites: ~techlevel.high + +TRAN: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +OLDLST: + Inherits: LST + -WithRoof: + -Selectable: + RejectsOrders: + Cargo: + Types: disabled + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player + +airstrike.proxy: + AlwaysVisible: + AirstrikePower: + Icon: airstrike + StartFullyCharged: True + ChargeTime: 120 + SquadSize: 3 + QuantizedFacings: 8 + Description: Air Strike + LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. + EndChargeSound: airredy1.aud + SelectTargetSound: select1.aud + InsufficientPowerSound: nopower1.aud + IncomingSound: enemya.aud + UnitType: a10 + DisplayBeacon: True + BeaconPoster: airstrike + DisplayRadarPing: True + CameraActor: camera diff --git a/mods/cnc/maps/cnc64gdi01/sequences.yaml b/mods/cnc/maps/cnc64gdi01/sequences.yaml new file mode 100644 index 0000000000..6a9db3291d --- /dev/null +++ b/mods/cnc/maps/cnc64gdi01/sequences.yaml @@ -0,0 +1,7 @@ +oldlst: + idle: lst + Start: 0 + Facings: 1 + ZOffset: -1024 + icon: lsticnh.tem + AddExtension: False \ No newline at end of file diff --git a/mods/cnc/maps/dead_in_motion_2.oramap b/mods/cnc/maps/dead_in_motion_2.oramap index 3127524f44..9fb6308f84 100644 Binary files a/mods/cnc/maps/dead_in_motion_2.oramap and b/mods/cnc/maps/dead_in_motion_2.oramap differ diff --git a/mods/cnc/maps/deterring_democracy.oramap b/mods/cnc/maps/deterring_democracy.oramap index 2da5077208..f6b58bb424 100644 Binary files a/mods/cnc/maps/deterring_democracy.oramap and b/mods/cnc/maps/deterring_democracy.oramap differ diff --git a/mods/cnc/maps/deterring_democracy_plus.oramap b/mods/cnc/maps/deterring_democracy_plus.oramap index a29cf315d9..f17906a428 100644 Binary files a/mods/cnc/maps/deterring_democracy_plus.oramap and b/mods/cnc/maps/deterring_democracy_plus.oramap differ diff --git a/mods/cnc/maps/eastwest3.oramap b/mods/cnc/maps/eastwest3.oramap index 3c6c5f1e3e..18479b9e15 100644 Binary files a/mods/cnc/maps/eastwest3.oramap and b/mods/cnc/maps/eastwest3.oramap differ diff --git a/mods/cnc/maps/escalations.oramap b/mods/cnc/maps/escalations.oramap index 2547026318..6ba735be2e 100644 Binary files a/mods/cnc/maps/escalations.oramap and b/mods/cnc/maps/escalations.oramap differ diff --git a/mods/cnc/maps/funpark01/map.yaml b/mods/cnc/maps/funpark01/map.yaml index 7c5fc72163..ca949972ab 100644 --- a/mods/cnc/maps/funpark01/map.yaml +++ b/mods/cnc/maps/funpark01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -407,156 +409,8 @@ Actors: Location: 16,50 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Civilian: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Dinosaur: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: scj01ea.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: j1 - MissionData: - Briefing: There have been some reports of strange animals in this area. \n\nTake your units to investigate, and report back your findings. - BriefingVideo: generic.vqa - StartVideo: dino.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^CivInfantry: - -ActorLostNotification: - ^CivBuilding: - AnnounceOnSeen: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - OLDLST: - Inherits: LST - -WithRoof: - -Selectable: - RejectsOrders: - Cargo: - Types: disabled - TREX: - Health: - HP: 750 - Mobile: - Speed: 34 - AutoTarget: - ScanRadius: 5 - TRIC: - Health: - HP: 700 - Mobile: - Speed: 18 - AutoTarget: - ScanRadius: 5 - STEG: - Health: - HP: 600 - Mobile: - Speed: 32 - ^DINO: - Tooltip: - ShowOwnerRow: false - MustBeDestroyed: +Sequences: sequences.yaml -Sequences: - oldlst: - idle: lst - Start: 0 - Facings: 1 - ZOffset: -1024 - icon: lsticnh.tem - AddExtension: False - -VoxelSequences: - -Weapons: - Teeth: - Range: 1c900 - Warhead@1Dam: SpreadDamage - Versus: - Wood: 35 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/cnc/maps/funpark01/rules.yaml b/mods/cnc/maps/funpark01/rules.yaml new file mode 100644 index 0000000000..cce98fe443 --- /dev/null +++ b/mods/cnc/maps/funpark01/rules.yaml @@ -0,0 +1,143 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Civilian: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Dinosaur: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: scj01ea.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: j1 + MissionData: + Briefing: There have been some reports of strange animals in this area. \n\nTake your units to investigate, and report back your findings. + BriefingVideo: generic.vqa + StartVideo: dino.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal + ShortGameLocked: True + ShortGameEnabled: False + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^CivInfantry: + -ActorLostNotification: + +^CivBuilding: + AnnounceOnSeen: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +OLDLST: + Inherits: LST + -WithRoof: + -Selectable: + RejectsOrders: + Cargo: + Types: disabled + +TREX: + Health: + HP: 750 + Mobile: + Speed: 34 + AutoTarget: + ScanRadius: 5 + +TRIC: + Health: + HP: 700 + Mobile: + Speed: 18 + AutoTarget: + ScanRadius: 5 + +STEG: + Health: + HP: 600 + Mobile: + Speed: 32 + +^DINO: + Tooltip: + ShowOwnerRow: false + MustBeDestroyed: diff --git a/mods/cnc/maps/funpark01/sequences.yaml b/mods/cnc/maps/funpark01/sequences.yaml new file mode 100644 index 0000000000..6a9db3291d --- /dev/null +++ b/mods/cnc/maps/funpark01/sequences.yaml @@ -0,0 +1,7 @@ +oldlst: + idle: lst + Start: 0 + Facings: 1 + ZOffset: -1024 + icon: lsticnh.tem + AddExtension: False \ No newline at end of file diff --git a/mods/cnc/maps/funpark01/weapons.yaml b/mods/cnc/maps/funpark01/weapons.yaml new file mode 100644 index 0000000000..0ad5245304 --- /dev/null +++ b/mods/cnc/maps/funpark01/weapons.yaml @@ -0,0 +1,5 @@ +Teeth: + Range: 1c900 + Warhead@1Dam: SpreadDamage + Versus: + Wood: 35 diff --git a/mods/cnc/maps/garden2.oramap b/mods/cnc/maps/garden2.oramap index 0a17f8c895..ac58b4bec8 100644 Binary files a/mods/cnc/maps/garden2.oramap and b/mods/cnc/maps/garden2.oramap differ diff --git a/mods/cnc/maps/gdi01/map.yaml b/mods/cnc/maps/gdi01/map.yaml index cd73905d5b..350711b2e0 100644 --- a/mods/cnc/maps/gdi01/map.yaml +++ b/mods/cnc/maps/gdi01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Nod: Name: Nod @@ -392,218 +394,8 @@ Actors: Location: 54,53 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - LuaScript: - Scripts: gdi01.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: aoi - MissionData: - Briefing: Use the units provided to protect the Mobile Construction Vehicle (MCV).\n\nYou should then deploy the MCV by selecting it with a left-click and then right-clicking on it.\n\nThen you can begin to build up a base. Start with a Power Plant.\n\nFinally, search out and destroy all enemy Nod units in the surrounding area. - BackgroundVideo: intro2.vqa - BriefingVideo: gdi1.vqa - StartVideo: landing.vqa - WinVideo: consyard.vqa - LossVideo: gameover.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - NUKE: - -Sellable: - Buildable: - BuildLimit: 1 - PYLE: - -Sellable: - Buildable: - BuildLimit: 1 - FACT: - -Sellable: - PROC: - Buildable: - Prerequisites: ~disabled - SILO: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - HQ: - Buildable: - Prerequisites: ~disabled - NUK2: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - E2: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - BOAT: - Health: - HP: 1500 - AutoTarget: - InitialStance: AttackAnything - RejectsOrders: - Except: Attack - OLDLST: - Inherits: LST - -WithRoof: - -Selectable: - RejectsOrders: - Cargo: - Types: disabled - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player +Sequences: sequences.yaml -Sequences: - oldlst: - idle: lst - Start: 0 - Facings: 1 - ZOffset: -1024 - icon: lsticnh.tem - AddExtension: False - -VoxelSequences: - -Weapons: - BoatMissile: - Warhead: SpreadDamage - Versus: - Heavy: 50 - Damage: 50 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/cnc/maps/gdi01/rules.yaml b/mods/cnc/maps/gdi01/rules.yaml new file mode 100644 index 0000000000..d332746533 --- /dev/null +++ b/mods/cnc/maps/gdi01/rules.yaml @@ -0,0 +1,221 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + LuaScript: + Scripts: gdi01.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: aoi + MissionData: + Briefing: Use the units provided to protect the Mobile Construction Vehicle (MCV).\n\nYou should then deploy the MCV by selecting it with a left-click and then right-clicking on it.\n\nThen you can begin to build up a base. Start with a Power Plant.\n\nFinally, search out and destroy all enemy Nod units in the surrounding area. + BackgroundVideo: intro2.vqa + BriefingVideo: gdi1.vqa + StartVideo: landing.vqa + WinVideo: consyard.vqa + LossVideo: gameover.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +NUKE: + -Sellable: + Buildable: + BuildLimit: 1 + +PYLE: + -Sellable: + Buildable: + BuildLimit: 1 + +FACT: + -Sellable: + +PROC: + Buildable: + Prerequisites: ~disabled + +SILO: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +HQ: + Buildable: + Prerequisites: ~disabled + +NUK2: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +E2: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +BOAT: + Health: + HP: 1500 + AutoTarget: + InitialStance: AttackAnything + RejectsOrders: + Except: Attack + +OLDLST: + Inherits: LST + -WithRoof: + -Selectable: + RejectsOrders: + Cargo: + Types: disabled + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/gdi01/sequences.yaml b/mods/cnc/maps/gdi01/sequences.yaml new file mode 100644 index 0000000000..6a9db3291d --- /dev/null +++ b/mods/cnc/maps/gdi01/sequences.yaml @@ -0,0 +1,7 @@ +oldlst: + idle: lst + Start: 0 + Facings: 1 + ZOffset: -1024 + icon: lsticnh.tem + AddExtension: False \ No newline at end of file diff --git a/mods/cnc/maps/gdi01/weapons.yaml b/mods/cnc/maps/gdi01/weapons.yaml new file mode 100644 index 0000000000..6b7aa3058f --- /dev/null +++ b/mods/cnc/maps/gdi01/weapons.yaml @@ -0,0 +1,6 @@ +BoatMissile: + Warhead: SpreadDamage + Versus: + Heavy: 50 + Damage: 50 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath diff --git a/mods/cnc/maps/gdi02/map.yaml b/mods/cnc/maps/gdi02/map.yaml index 2798f82527..7fd83da33d 100644 --- a/mods/cnc/maps/gdi02/map.yaml +++ b/mods/cnc/maps/gdi02/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@GDI: Name: GDI @@ -621,216 +623,6 @@ Actors: Location: 54,55 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - LuaScript: - Scripts: gdi02.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: befeared - MissionData: - Briefing: Defend your position, deploy the MCV, then build a sizable force to search out and destroy the Nod base in the area.\n\nAll Nod units and structures must be either destroyed or captured to complete objective. - BriefingVideo: gdi2.vqa - WinVideo: flag.vqa - LossVideo: gameover.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - SBAG: - -Crushable: - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - HARV: - Harvester: - SearchFromProcRadius: 32 - SearchFromOrderRadius: 20 - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - PROC: - Buildable: - Prerequisites: ~disabled - SILO: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - HQ: - Buildable: - Prerequisites: ~disabled - NUK2: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - E2: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - OLDLST: - Inherits: LST - -WithRoof: - -Selectable: - RejectsOrders: - Cargo: - Types: disabled - MCV: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - oldlst: - idle: lst - Start: 0 - Facings: 1 - ZOffset: -1024 - icon: lsticnh.tem - AddExtension: False - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Sequences: sequences.yaml diff --git a/mods/cnc/maps/gdi02/rules.yaml b/mods/cnc/maps/gdi02/rules.yaml new file mode 100644 index 0000000000..ce5c05efd5 --- /dev/null +++ b/mods/cnc/maps/gdi02/rules.yaml @@ -0,0 +1,228 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + LuaScript: + Scripts: gdi02.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: befeared + MissionData: + Briefing: Defend your position, deploy the MCV, then build a sizable force to search out and destroy the Nod base in the area.\n\nAll Nod units and structures must be either destroyed or captured to complete objective. + BriefingVideo: gdi2.vqa + WinVideo: flag.vqa + LossVideo: gameover.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +SBAG: + -Crushable: + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +HARV: + Harvester: + SearchFromProcRadius: 32 + SearchFromOrderRadius: 20 + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +PROC: + Buildable: + Prerequisites: ~disabled + +SILO: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +HQ: + Buildable: + Prerequisites: ~disabled + +NUK2: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +E2: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +OLDLST: + Inherits: LST + -WithRoof: + -Selectable: + RejectsOrders: + Cargo: + Types: disabled + +MCV: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/gdi02/sequences.yaml b/mods/cnc/maps/gdi02/sequences.yaml new file mode 100644 index 0000000000..6a9db3291d --- /dev/null +++ b/mods/cnc/maps/gdi02/sequences.yaml @@ -0,0 +1,7 @@ +oldlst: + idle: lst + Start: 0 + Facings: 1 + ZOffset: -1024 + icon: lsticnh.tem + AddExtension: False \ No newline at end of file diff --git a/mods/cnc/maps/gdi03/map.yaml b/mods/cnc/maps/gdi03/map.yaml index d0c1178d0e..1c446029a1 100644 --- a/mods/cnc/maps/gdi03/map.yaml +++ b/mods/cnc/maps/gdi03/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Nod: Name: Nod @@ -695,212 +697,4 @@ Actors: Location: 37,51 Owner: Neutral -Smudges: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - LuaScript: - Scripts: gdi03.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: crep226m - MissionData: - Briefing: Build up forces to destroy Nod base.\n\nOnce all Nod SAM sites are neutralized then air support will be provided to combat obstacles such as turrets.\n\nDestroy all units and structures to complete the mission objective. - BriefingVideo: gdi3.vqa - StartVideo: samdie.vqa - WinVideo: bombaway.vqa - LossVideo: gameover.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - SBAG: - -Crushable: - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - WEAP: - Buildable: - Prerequisites: ~disabled - NUK2: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - Building: - Power: - Amount: -10 - -Capturable: - HQ: - Tooltip: - Description: Provides an overview of the battlefield.\n Requires power to operate. - -AirstrikePower: - airstrike.proxy: - AlwaysVisible: - AirstrikePower: - Icon: airstrike - StartFullyCharged: True - ChargeTime: 120 - SquadSize: 3 - QuantizedFacings: 8 - Description: Air Strike - LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. - EndChargeSound: airredy1.aud - SelectTargetSound: select1.aud - InsufficientPowerSound: nopower1.aud - IncomingSound: enemya.aud - UnitType: a10 - DisplayBeacon: True - BeaconPoster: airstrike - DisplayRadarPing: True - CameraActor: camera - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/gdi03/rules.yaml b/mods/cnc/maps/gdi03/rules.yaml new file mode 100644 index 0000000000..a7e5512443 --- /dev/null +++ b/mods/cnc/maps/gdi03/rules.yaml @@ -0,0 +1,227 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + LuaScript: + Scripts: gdi03.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: crep226m + MissionData: + Briefing: Build up forces to destroy Nod base.\n\nOnce all Nod SAM sites are neutralized then air support will be provided to combat obstacles such as turrets.\n\nDestroy all units and structures to complete the mission objective. + BriefingVideo: gdi3.vqa + StartVideo: samdie.vqa + WinVideo: bombaway.vqa + LossVideo: gameover.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +SBAG: + -Crushable: + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +WEAP: + Buildable: + Prerequisites: ~disabled + +NUK2: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + Building: + Power: + Amount: -10 + -Capturable: + +HQ: + Tooltip: + Description: Provides an overview of the battlefield.\n Requires power to operate. + -AirstrikePower: + +airstrike.proxy: + AlwaysVisible: + AirstrikePower: + Icon: airstrike + StartFullyCharged: True + ChargeTime: 120 + SquadSize: 3 + QuantizedFacings: 8 + Description: Air Strike + LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. + EndChargeSound: airredy1.aud + SelectTargetSound: select1.aud + InsufficientPowerSound: nopower1.aud + IncomingSound: enemya.aud + UnitType: a10 + DisplayBeacon: True + BeaconPoster: airstrike + DisplayRadarPing: True + CameraActor: camera + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/gdi04a/map.yaml b/mods/cnc/maps/gdi04a/map.yaml index 6999238095..90b5fafa71 100644 --- a/mods/cnc/maps/gdi04a/map.yaml +++ b/mods/cnc/maps/gdi04a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Nod: Name: Nod @@ -453,136 +455,6 @@ Actors: Location: 27,58 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - LuaScript: - Scripts: gdi04a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: fist226m - MissionData: - Briefing: Nod has captured classified GDI property.\n\nYou must find and retrieve the stolen equipment.\n\nIt is being transported in a shipping crate.\n\nUse the new APC to strategically transport infantry through Nod forces. - BackgroundVideo: bkground.vqa - BriefingVideo: gdi4b.vqa - StartVideo: nitejump.vqa - WinVideo: burdet1.vqa - LossVideo: gameover.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - Tiberium: - Warhead@1Dam: SpreadDamage - Damage: 6 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/cnc/maps/gdi04a/rules.yaml b/mods/cnc/maps/gdi04a/rules.yaml new file mode 100644 index 0000000000..c6cd287883 --- /dev/null +++ b/mods/cnc/maps/gdi04a/rules.yaml @@ -0,0 +1,128 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + LuaScript: + Scripts: gdi04a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: fist226m + MissionData: + Briefing: Nod has captured classified GDI property.\n\nYou must find and retrieve the stolen equipment.\n\nIt is being transported in a shipping crate.\n\nUse the new APC to strategically transport infantry through Nod forces. + BackgroundVideo: bkground.vqa + BriefingVideo: gdi4b.vqa + StartVideo: nitejump.vqa + WinVideo: burdet1.vqa + LossVideo: gameover.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/gdi04a/weapons.yaml b/mods/cnc/maps/gdi04a/weapons.yaml new file mode 100644 index 0000000000..a085596c2a --- /dev/null +++ b/mods/cnc/maps/gdi04a/weapons.yaml @@ -0,0 +1,3 @@ +Tiberium: + Warhead@1Dam: SpreadDamage + Damage: 6 diff --git a/mods/cnc/maps/gdi04b/map.yaml b/mods/cnc/maps/gdi04b/map.yaml index 61657f4505..d3a1744d74 100644 --- a/mods/cnc/maps/gdi04b/map.yaml +++ b/mods/cnc/maps/gdi04b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Nod: Name: Nod @@ -524,139 +526,6 @@ Actors: Location: 50,45 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - LuaScript: - Scripts: gdi04b.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: fist226m - MissionData: - Briefing: Nod has captured classified GDI property.\n\nYou must find and retrieve the stolen equipment.\n\nIt is being transported in a shipping crate.\n\nUse the new APC to strategically transport infantry through Nod forces. - BackgroundVideo: bkground.vqa - BriefingVideo: gdi4b.vqa - StartVideo: nitejump.vqa - WinVideo: burdet1.vqa - LossVideo: gameover.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - E3: - AutoTarget: - ScanRadius: 5 - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - Tiberium: - Warhead@1Dam: SpreadDamage - Damage: 4 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/cnc/maps/gdi04b/rules.yaml b/mods/cnc/maps/gdi04b/rules.yaml new file mode 100644 index 0000000000..e48e13021f --- /dev/null +++ b/mods/cnc/maps/gdi04b/rules.yaml @@ -0,0 +1,132 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + LuaScript: + Scripts: gdi04b.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: fist226m + MissionData: + Briefing: Nod has captured classified GDI property.\n\nYou must find and retrieve the stolen equipment.\n\nIt is being transported in a shipping crate.\n\nUse the new APC to strategically transport infantry through Nod forces. + BackgroundVideo: bkground.vqa + BriefingVideo: gdi4b.vqa + StartVideo: nitejump.vqa + WinVideo: burdet1.vqa + LossVideo: gameover.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +E3: + AutoTarget: + ScanRadius: 5 + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/gdi04b/weapons.yaml b/mods/cnc/maps/gdi04b/weapons.yaml new file mode 100644 index 0000000000..8afd4308d3 --- /dev/null +++ b/mods/cnc/maps/gdi04b/weapons.yaml @@ -0,0 +1,3 @@ +Tiberium: + Warhead@1Dam: SpreadDamage + Damage: 4 diff --git a/mods/cnc/maps/gdi04c/map.yaml b/mods/cnc/maps/gdi04c/map.yaml index fccc9c340e..ab0ef808f4 100644 --- a/mods/cnc/maps/gdi04c/map.yaml +++ b/mods/cnc/maps/gdi04c/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -738,167 +740,6 @@ Actors: Location: 28,47 Owner: Neutral -Smudges: - sc5 58,38 0: - sc6 55,37 0: - sc5 56,34 0: - sc5 47,34 0: - sc6 54,33 0: - sc3 47,33 0: - sc4 46,33 0: - sc2 55,32 0: - cr1 23,32 0: - sc3 48,31 0: - sc2 47,31 0: +Rules: rules.yaml -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Civillians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Civillians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - LuaScript: - Scripts: gdi04c.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: ind - MissionData: - Briefing: Nod is moving to capture and hold a civilian town.\n\nYour mission is to reach the town first and hold off invading Nod units until GDI reinforcements can arrive.\n\nAll invading Nod units must be destroyed. - BackgroundVideo: bkground.vqa - BriefingVideo: gdi4a.vqa - StartVideo: nodsweep.vqa - WinVideo: burdet1.vqa - LossVideo: gameover.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^CivInfantry: - Health: - HP: 125 - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Bridge: - DamageMultiplier@INVULNERABLE: - Modifier: 0 - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - Rockets: - Range: 5c0 - Warhead: SpreadDamage - Versus: - None: 10 - Light: 66 - Heavy: 66 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/cnc/maps/gdi04c/rules.yaml b/mods/cnc/maps/gdi04c/rules.yaml new file mode 100644 index 0000000000..53c05d4729 --- /dev/null +++ b/mods/cnc/maps/gdi04c/rules.yaml @@ -0,0 +1,163 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Civillians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Civillians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + LuaScript: + Scripts: gdi04c.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: ind + MissionData: + Briefing: Nod is moving to capture and hold a civilian town.\n\nYour mission is to reach the town first and hold off invading Nod units until GDI reinforcements can arrive.\n\nAll invading Nod units must be destroyed. + BackgroundVideo: bkground.vqa + BriefingVideo: gdi4a.vqa + StartVideo: nodsweep.vqa + WinVideo: burdet1.vqa + LossVideo: gameover.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + SmudgeLayer@SCORCH: + InitialSmudges: + 58,38: sc5,0 + 55,37: sc6,0 + 56,34: sc5,0 + 47,34: sc5,0 + 54,33: sc6,0 + 47,33: sc3,0 + 46,33: sc4,0 + 55,32: sc2,0 + 48,31: sc3,0 + 47,31: sc2,0 + SmudgeLayer@CRATER: + InitialSmudges: + 23,32: cr1,0 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^CivInfantry: + Health: + HP: 125 + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Bridge: + DamageMultiplier@INVULNERABLE: + Modifier: 0 + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/gdi04c/weapons.yaml b/mods/cnc/maps/gdi04c/weapons.yaml new file mode 100644 index 0000000000..cdbcafb9cd --- /dev/null +++ b/mods/cnc/maps/gdi04c/weapons.yaml @@ -0,0 +1,7 @@ +Rockets: + Range: 5c0 + Warhead: SpreadDamage + Versus: + None: 10 + Light: 66 + Heavy: 66 diff --git a/mods/cnc/maps/gdi05a/map.yaml b/mods/cnc/maps/gdi05a/map.yaml index 714991411d..93ab176306 100644 --- a/mods/cnc/maps/gdi05a/map.yaml +++ b/mods/cnc/maps/gdi05a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Nod: Name: Nod @@ -752,246 +754,6 @@ Actors: Location: 44,40 Owner: Neutral -Smudges: - sc4 41,55 0: - cr1 41,54 0: - cr1 13,52 0: - sc5 48,51 0: - cr1 11,51 0: - sc2 53,50 0: - sc3 51,50 0: - sc4 45,50 0: - sc6 49,48 0: +Rules: rules.yaml -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - AbandonedBase: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - AbandonedBase: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - LuaScript: - Scripts: gdi05a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: rain - MissionData: - Briefing: A GDI field base is under attack. They have fended off one attack but will not survive another.\n\nMove to the base, repair the structures and then launch a strike force to destroy the Nod base in the area.\n\nDestroy all Nod units and structures. - BackgroundVideo: podium.vqa - BriefingVideo: gdi5.vqa - StartVideo: seige.vqa - WinVideo: nodlose.vqa - LossVideo: gdilose.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 2000 - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - AnnounceOnSeen: - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - E2: - Buildable: - Prerequisites: ~pyle - E3: - Buildable: - Queue: Infantry.Nod - E4: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - HARV: - Harvester: - SearchFromOrderRadius: 24 - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - LTNK: - Buildable: - Prerequisites: ~afld - MCV: - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - MTNK: - Buildable: - Prerequisites: ~disabled - HTNK: - Buildable: - Prerequisites: ~disabled - MSAM: - Buildable: - Prerequisites: ~disabled - ARTY: - Buildable: - Prerequisites: ~disabled - MLRS: - Buildable: - Prerequisites: ~disabled - FTNK: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - NUK2: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - MoneyCrate: - Inherits: ^Crate - GiveCashCrateAction: - Amount: 500 - UseCashTick: yes - airstrike.proxy: - AlwaysVisible: - AirstrikePower: - Icon: airstrike - StartFullyCharged: True - ChargeTime: 120 - SquadSize: 1 - QuantizedFacings: 8 - Description: Air Strike - LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. - EndChargeSound: airredy1.aud - SelectTargetSound: select1.aud - InsufficientPowerSound: nopower1.aud - IncomingSound: enemya.aud - UnitType: a10 - DisplayBeacon: True - BeaconPoster: airstrike - DisplayRadarPing: True - CameraActor: camera - -Sequences: - -VoxelSequences: - -Weapons: - Tiberium: - Warhead@1Dam: SpreadDamage - Damage: 4 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/cnc/maps/gdi05a/rules.yaml b/mods/cnc/maps/gdi05a/rules.yaml new file mode 100644 index 0000000000..80e4d4ec14 --- /dev/null +++ b/mods/cnc/maps/gdi05a/rules.yaml @@ -0,0 +1,266 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + AbandonedBase: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + AbandonedBase: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + LuaScript: + Scripts: gdi05a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: rain + MissionData: + Briefing: A GDI field base is under attack. They have fended off one attack but will not survive another.\n\nMove to the base, repair the structures and then launch a strike force to destroy the Nod base in the area.\n\nDestroy all Nod units and structures. + BackgroundVideo: podium.vqa + BriefingVideo: gdi5.vqa + StartVideo: seige.vqa + WinVideo: nodlose.vqa + LossVideo: gdilose.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + SmudgeLayer@SCORCH: + InitialSmudges: + 41,55: sc4,0 + 48,51: sc5,0 + 53,50: sc2,0 + 51,50: sc3,0 + 45,50: sc4,0 + 49,48: sc6,0 + SmudgeLayer@CRATER: + InitialSmudges: + 41,54: cr1,0 + 13,52: cr1,0 + 11,51: cr1,0 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 2000 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + AnnounceOnSeen: + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +E2: + Buildable: + Prerequisites: ~pyle + +E3: + Buildable: + Queue: Infantry.Nod + +E4: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +HARV: + Harvester: + SearchFromOrderRadius: 24 + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +LTNK: + Buildable: + Prerequisites: ~afld + +MCV: + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player + +MTNK: + Buildable: + Prerequisites: ~disabled + +HTNK: + Buildable: + Prerequisites: ~disabled + +MSAM: + Buildable: + Prerequisites: ~disabled + +ARTY: + Buildable: + Prerequisites: ~disabled + +MLRS: + Buildable: + Prerequisites: ~disabled + +FTNK: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +NUK2: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +MoneyCrate: + Inherits: ^Crate + GiveCashCrateAction: + Amount: 500 + UseCashTick: yes + +airstrike.proxy: + AlwaysVisible: + AirstrikePower: + Icon: airstrike + StartFullyCharged: True + ChargeTime: 120 + SquadSize: 1 + QuantizedFacings: 8 + Description: Air Strike + LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. + EndChargeSound: airredy1.aud + SelectTargetSound: select1.aud + InsufficientPowerSound: nopower1.aud + IncomingSound: enemya.aud + UnitType: a10 + DisplayBeacon: True + BeaconPoster: airstrike + DisplayRadarPing: True + CameraActor: camera diff --git a/mods/cnc/maps/gdi05a/weapons.yaml b/mods/cnc/maps/gdi05a/weapons.yaml new file mode 100644 index 0000000000..8afd4308d3 --- /dev/null +++ b/mods/cnc/maps/gdi05a/weapons.yaml @@ -0,0 +1,3 @@ +Tiberium: + Warhead@1Dam: SpreadDamage + Damage: 4 diff --git a/mods/cnc/maps/gdi05b/map.yaml b/mods/cnc/maps/gdi05b/map.yaml index 4b30768a76..f049a6906e 100644 --- a/mods/cnc/maps/gdi05b/map.yaml +++ b/mods/cnc/maps/gdi05b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Nod: Name: Nod @@ -605,226 +607,4 @@ Actors: Location: 26,37 Owner: Nod -Smudges: - sc3 15,56 0: - sc2 40,53 0: - sc2 24,53 0: - sc5 39,52 0: - sc1 24,52 0: - sc4 39,51 0: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - AbandonedBase: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - AbandonedBase: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - EnemyWatcher: - MusicPlaylist: - StartingMusic: rain - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 4000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - LuaScript: - Scripts: gdi05b.lua - MissionData: - Briefing: A GDI field base is under attack. They have fended off one attack but will not survive another.\n\nMove to the base, repair the structures and then launch a strike force to destroy the Nod base in the area.\n\nDestroy all Nod units and structures. - BackgroundVideo: podium.vqa - BriefingVideo: gdi5.vqa - StartVideo: seige.vqa - WinVideo: nodlose.vqa - LossVideo: gdilose.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - AnnounceOnSeen: - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - SBAG: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - CYCL: - Buildable: - Prerequisites: ~disabled - NUK2: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - E2: - Buildable: - Prerequisites: ~pyle - E3: - Buildable: - Prerequisites: ~disabled - HARV: - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MTNK: - Buildable: - Prerequisites: ~disabled - HTNK: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - MSAM: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - FTNK: - Buildable: - Prerequisites: ~disabled - airstrike.proxy: - AlwaysVisible: - AirstrikePower: - Icon: airstrike - StartFullyCharged: True - ChargeTime: 120 - SquadSize: 1 - QuantizedFacings: 8 - Description: Air Strike - LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. - EndChargeSound: airredy1.aud - SelectTargetSound: select1.aud - InsufficientPowerSound: nopower1.aud - IncomingSound: enemya.aud - UnitType: a10 - DisplayBeacon: True - BeaconPoster: airstrike - DisplayRadarPing: True - CameraActor: camera - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/gdi05b/rules.yaml b/mods/cnc/maps/gdi05b/rules.yaml new file mode 100644 index 0000000000..970950e4f2 --- /dev/null +++ b/mods/cnc/maps/gdi05b/rules.yaml @@ -0,0 +1,244 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + AbandonedBase: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + AbandonedBase: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + EnemyWatcher: + MusicPlaylist: + StartingMusic: rain + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 4000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + LuaScript: + Scripts: gdi05b.lua + MissionData: + Briefing: A GDI field base is under attack. They have fended off one attack but will not survive another.\n\nMove to the base, repair the structures and then launch a strike force to destroy the Nod base in the area.\n\nDestroy all Nod units and structures. + BackgroundVideo: podium.vqa + BriefingVideo: gdi5.vqa + StartVideo: seige.vqa + WinVideo: nodlose.vqa + LossVideo: gdilose.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + SmudgeLayer@SCORCH: + InitialSmudges: + 15,56: sc3,0 + 40,53: sc2,0 + 24,53: sc2,0 + 39,52: sc5,0 + 24,52: sc1,0 + 39,51: sc4,0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + AnnounceOnSeen: + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +SBAG: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +CYCL: + Buildable: + Prerequisites: ~disabled + +NUK2: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +E2: + Buildable: + Prerequisites: ~pyle + +E3: + Buildable: + Prerequisites: ~disabled + +HARV: + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MTNK: + Buildable: + Prerequisites: ~disabled + +HTNK: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +MSAM: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player + +FTNK: + Buildable: + Prerequisites: ~disabled + +airstrike.proxy: + AlwaysVisible: + AirstrikePower: + Icon: airstrike + StartFullyCharged: True + ChargeTime: 120 + SquadSize: 1 + QuantizedFacings: 8 + Description: Air Strike + LongDesc: Deploy an aerial napalm strike.\nBurns buildings and infantry along a line. + EndChargeSound: airredy1.aud + SelectTargetSound: select1.aud + InsufficientPowerSound: nopower1.aud + IncomingSound: enemya.aud + UnitType: a10 + DisplayBeacon: True + BeaconPoster: airstrike + DisplayRadarPing: True + CameraActor: camera diff --git a/mods/cnc/maps/gdi06/map.yaml b/mods/cnc/maps/gdi06/map.yaml index ce9656dcb6..404886d000 100644 --- a/mods/cnc/maps/gdi06/map.yaml +++ b/mods/cnc/maps/gdi06/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1014,206 +1016,8 @@ Actors: Owner: GDI Location: 55,61 -Smudges: +Rules: rules.yaml -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - LuaScript: - Scripts: gdi06.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - BackgroundMusic: rain-ambient - StartingMusic: rain - WeatherOverlay: - ParticleDensityFactor: 0.0007625 - ChangingWindLevel: true - WindLevels: -5, -3, -2, 0, 2, 3, 5 - WindTick: 150, 550 - InstantWindChanges: false - UseSquares: false - ScatterDirection: 0, 0 - Gravity: 8.00, 12.00 - SwingOffset: 0, 0 - SwingSpeed: 0, 0 - SwingAmplitude: 0, 0 - ParticleColors: 304074, 28386C, 202C60, 182C54 - LineTailAlphaValue: 150 - ParticleSize: 1, 1 - GlobalLightingPaletteEffect: - Red: 0.75 - Green: 0.85 - Blue: 1.5 - Ambient: 0.35 - MissionData: - Briefing: Use a GDI Commando to infiltrate the Nod base. **** ** destroy the ******** so that the base is incapacitated. Get in, hit it, and get the **** out. - BriefingVideo: gdi6.vqa - StartVideo: nitejump.vqa - WinVideo: sabotage.vqa - LossVideo: gdilose.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: True - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - FLARE: - RevealsShroud: - Range: 5c0 - OLDLST: - Inherits: LST - -WithRoof: - -Selectable: - RejectsOrders: - Cargo: - Types: disabled - SAM: - SpawnActorOnDeath: - Actor: e1 - RMBO: - MustBeDestroyed: - RequiredForShortGame: true - AutoTarget: - TargetWhenIdle: false - TargetWhenDamaged: true - Health: - HP: 150 - RMBO.easy: - Inherits: RMBO - Health: - HP: 300 - SelfHealing: - Ticks: 10 - HealIfBelow: 50% - DamageCooldown: 200 - RenderSprites: - Image: RMBO - RMBO.hard: - Inherits: RMBO - AutoTarget: - TargetWhenDamaged: false - RenderSprites: - Image: RMBO - E3.sticky: - Inherits: E3 - AutoTarget: - AllowMovement: false - RenderSprites: - Image: E3 - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player +Sequences: sequences.yaml -Sequences: - oldlst: - idle: lst - Start: 0 - Facings: 1 - ZOffset: -1024 - icon: lsticnh.tem - AddExtension: False - -VoxelSequences: - -Weapons: - -Voices: - -Music: - rain-ambient: Rain (ambient) - Hidden: true - -Notifications: - -Translations: +Music: music.yaml diff --git a/mods/cnc/maps/gdi06/music.yaml b/mods/cnc/maps/gdi06/music.yaml new file mode 100644 index 0000000000..a487152c36 --- /dev/null +++ b/mods/cnc/maps/gdi06/music.yaml @@ -0,0 +1,2 @@ +rain-ambient: Rain (ambient) + Hidden: true \ No newline at end of file diff --git a/mods/cnc/maps/gdi06/rules.yaml b/mods/cnc/maps/gdi06/rules.yaml new file mode 100644 index 0000000000..857e84169c --- /dev/null +++ b/mods/cnc/maps/gdi06/rules.yaml @@ -0,0 +1,199 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + LuaScript: + Scripts: gdi06.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + BackgroundMusic: rain-ambient + StartingMusic: rain + WeatherOverlay: + ParticleDensityFactor: 0.0007625 + ChangingWindLevel: true + WindLevels: -5, -3, -2, 0, 2, 3, 5 + WindTick: 150, 550 + InstantWindChanges: false + UseSquares: false + ScatterDirection: 0, 0 + Gravity: 8.00, 12.00 + SwingOffset: 0, 0 + SwingSpeed: 0, 0 + SwingAmplitude: 0, 0 + ParticleColors: 304074, 28386C, 202C60, 182C54 + LineTailAlphaValue: 150 + ParticleSize: 1, 1 + GlobalLightingPaletteEffect: + Red: 0.75 + Green: 0.85 + Blue: 1.5 + Ambient: 0.35 + MissionData: + Briefing: Use a GDI Commando to infiltrate the Nod base. **** ** destroy the ******** so that the base is incapacitated. Get in, hit it, and get the **** out. + BriefingVideo: gdi6.vqa + StartVideo: nitejump.vqa + WinVideo: sabotage.vqa + LossVideo: gdilose.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: True + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +FLARE: + RevealsShroud: + Range: 5c0 + +OLDLST: + Inherits: LST + -WithRoof: + -Selectable: + RejectsOrders: + Cargo: + Types: disabled + +SAM: + SpawnActorOnDeath: + Actor: e1 + +RMBO: + MustBeDestroyed: + RequiredForShortGame: true + AutoTarget: + TargetWhenIdle: false + TargetWhenDamaged: true + Health: + HP: 150 + +RMBO.easy: + Inherits: RMBO + Health: + HP: 300 + SelfHealing: + Ticks: 10 + HealIfBelow: 50% + DamageCooldown: 200 + RenderSprites: + Image: RMBO + +RMBO.hard: + Inherits: RMBO + AutoTarget: + TargetWhenDamaged: false + RenderSprites: + Image: RMBO + +E3.sticky: + Inherits: E3 + AutoTarget: + AllowMovement: false + RenderSprites: + Image: E3 + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/gdi06/sequences.yaml b/mods/cnc/maps/gdi06/sequences.yaml new file mode 100644 index 0000000000..6a9db3291d --- /dev/null +++ b/mods/cnc/maps/gdi06/sequences.yaml @@ -0,0 +1,7 @@ +oldlst: + idle: lst + Start: 0 + Facings: 1 + ZOffset: -1024 + icon: lsticnh.tem + AddExtension: False \ No newline at end of file diff --git a/mods/cnc/maps/haos_ridges_cnc.oramap b/mods/cnc/maps/haos_ridges_cnc.oramap index ad6b6d84c6..0fd8851e53 100644 Binary files a/mods/cnc/maps/haos_ridges_cnc.oramap and b/mods/cnc/maps/haos_ridges_cnc.oramap differ diff --git a/mods/cnc/maps/hegemony_or_survival.oramap b/mods/cnc/maps/hegemony_or_survival.oramap index eafd807be4..0340ee08cb 100644 Binary files a/mods/cnc/maps/hegemony_or_survival.oramap and b/mods/cnc/maps/hegemony_or_survival.oramap differ diff --git a/mods/cnc/maps/hegemony_or_survival_8p.oramap b/mods/cnc/maps/hegemony_or_survival_8p.oramap index df4a36c0c1..b7319b386c 100644 Binary files a/mods/cnc/maps/hegemony_or_survival_8p.oramap and b/mods/cnc/maps/hegemony_or_survival_8p.oramap differ diff --git a/mods/cnc/maps/into_the_river_below.oramap b/mods/cnc/maps/into_the_river_below.oramap index 8443ac929f..05dd8bd6e9 100644 Binary files a/mods/cnc/maps/into_the_river_below.oramap and b/mods/cnc/maps/into_the_river_below.oramap differ diff --git a/mods/cnc/maps/lessons_from_kosovo.oramap b/mods/cnc/maps/lessons_from_kosovo.oramap index a75575d17f..85a39bce9c 100644 Binary files a/mods/cnc/maps/lessons_from_kosovo.oramap and b/mods/cnc/maps/lessons_from_kosovo.oramap differ diff --git a/mods/cnc/maps/llamas.oramap b/mods/cnc/maps/llamas.oramap index 5492e2b6ef..ca17b64bd3 100644 Binary files a/mods/cnc/maps/llamas.oramap and b/mods/cnc/maps/llamas.oramap differ diff --git a/mods/cnc/maps/llamas2.oramap b/mods/cnc/maps/llamas2.oramap index fe5d22cd39..3261cd209e 100644 Binary files a/mods/cnc/maps/llamas2.oramap and b/mods/cnc/maps/llamas2.oramap differ diff --git a/mods/cnc/maps/manufacturing_consent.oramap b/mods/cnc/maps/manufacturing_consent.oramap index cb92cb9044..b1c737ea39 100644 Binary files a/mods/cnc/maps/manufacturing_consent.oramap and b/mods/cnc/maps/manufacturing_consent.oramap differ diff --git a/mods/cnc/maps/minus_two.oramap b/mods/cnc/maps/minus_two.oramap index 4e6bddcede..17be1a3277 100644 Binary files a/mods/cnc/maps/minus_two.oramap and b/mods/cnc/maps/minus_two.oramap differ diff --git a/mods/cnc/maps/morbid-aimless-poseidon-2.oramap b/mods/cnc/maps/morbid-aimless-poseidon-2.oramap index c028ddb5c7..5ca2ea0e32 100644 Binary files a/mods/cnc/maps/morbid-aimless-poseidon-2.oramap and b/mods/cnc/maps/morbid-aimless-poseidon-2.oramap differ diff --git a/mods/cnc/maps/mtnukebait.oramap b/mods/cnc/maps/mtnukebait.oramap index 2168b5d6ea..eee91e1297 100644 Binary files a/mods/cnc/maps/mtnukebait.oramap and b/mods/cnc/maps/mtnukebait.oramap differ diff --git a/mods/cnc/maps/necessary_illusions.oramap b/mods/cnc/maps/necessary_illusions.oramap index e75d9b7256..d761f0385c 100644 Binary files a/mods/cnc/maps/necessary_illusions.oramap and b/mods/cnc/maps/necessary_illusions.oramap differ diff --git a/mods/cnc/maps/nod01/map.yaml b/mods/cnc/maps/nod01/map.yaml index ba092f79f3..00a9d77148 100644 --- a/mods/cnc/maps/nod01/map.yaml +++ b/mods/cnc/maps/nod01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -251,151 +253,4 @@ Actors: Location: 24,17 Owner: Neutral -Smudges: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Villagers: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Villagers: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: nod01.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: nomercy - VictoryMusic: nod_win1 - MissionData: - Briefing: In order for the Brotherhood to gain a foothold, we must begin by eliminating certain elements.\n\nNikoomba, the nearby village's leader, is one such element.\n\nHis views and ours do not coincide.\n\nHe and his whole group must be eliminated. - BackgroundVideo: intro2.vqa - BriefingVideo: nod1.vqa - LossVideo: nodlose.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - C10: - Tooltip: - Name: Nikoomba - ^Bridge: - DamageMultiplier@INVULNERABLE: - Modifier: 0 - ^CivBuilding: - MustBeDestroyed: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivInfantry: - MustBeDestroyed: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod01/rules.yaml b/mods/cnc/maps/nod01/rules.yaml new file mode 100644 index 0000000000..7ef5c643eb --- /dev/null +++ b/mods/cnc/maps/nod01/rules.yaml @@ -0,0 +1,151 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Villagers: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Villagers: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: nod01.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: nomercy + VictoryMusic: nod_win1 + MissionData: + Briefing: In order for the Brotherhood to gain a foothold, we must begin by eliminating certain elements.\n\nNikoomba, the nearby village's leader, is one such element.\n\nHis views and ours do not coincide.\n\nHe and his whole group must be eliminated. + BackgroundVideo: intro2.vqa + BriefingVideo: nod1.vqa + LossVideo: nodlose.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +C10: + Tooltip: + Name: Nikoomba + +^Bridge: + DamageMultiplier@INVULNERABLE: + Modifier: 0 + +^CivBuilding: + MustBeDestroyed: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivInfantry: + MustBeDestroyed: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/nod02a/map.yaml b/mods/cnc/maps/nod02a/map.yaml index 57c6f89fe6..2e2a860250 100644 --- a/mods/cnc/maps/nod02a/map.yaml +++ b/mods/cnc/maps/nod02a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@GDI: Name: GDI @@ -192,216 +194,4 @@ Actors: Location: 56,38 Owner: Neutral -Smudges: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 4000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - LuaScript: - Scripts: nod02a.lua - MusicPlaylist: - StartingMusic: ind2 - VictoryMusic: nod_win1 - MissionData: - Briefing: GDI has kept a stranglehold on Egypt for many years. Set up a forward attack base in your area. To do this you must select your Mobile Construction Vehicle (MCV) and right click on it. From here you can begin to build a base. This area contains plenty of Tiberium, so establishing the base should be easy. - BriefingVideo: nod2.vqa - StartVideo: seige.vqa - WinVideo: airstrk.vqa - LossVideo: deskill.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - NUK2: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - CYCL: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - FTNK: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - ARTY: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - MLRS: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - HARV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - LST: - Buildable: - Prerequisites: ~disabled - C17: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HQ: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E2: - Buildable: - Prerequisites: ~disabled - SBAG: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod02a/rules.yaml b/mods/cnc/maps/nod02a/rules.yaml new file mode 100644 index 0000000000..bc6f7a4e4e --- /dev/null +++ b/mods/cnc/maps/nod02a/rules.yaml @@ -0,0 +1,238 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 4000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + LuaScript: + Scripts: nod02a.lua + MusicPlaylist: + StartingMusic: ind2 + VictoryMusic: nod_win1 + MissionData: + Briefing: GDI has kept a stranglehold on Egypt for many years. Set up a forward attack base in your area. To do this you must select your Mobile Construction Vehicle (MCV) and right click on it. From here you can begin to build a base. This area contains plenty of Tiberium, so establishing the base should be easy. + BriefingVideo: nod2.vqa + StartVideo: seige.vqa + WinVideo: airstrk.vqa + LossVideo: deskill.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +NUK2: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +CYCL: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +FTNK: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +ARTY: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +MLRS: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player + +HARV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +LST: + Buildable: + Prerequisites: ~disabled + +C17: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HQ: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E2: + Buildable: + Prerequisites: ~disabled + +SBAG: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled diff --git a/mods/cnc/maps/nod02b/map.yaml b/mods/cnc/maps/nod02b/map.yaml index 0a9ef82522..2b03f78555 100644 --- a/mods/cnc/maps/nod02b/map.yaml +++ b/mods/cnc/maps/nod02b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@GDI: Name: GDI @@ -234,216 +236,4 @@ Actors: Location: 30,44 Owner: Neutral -Smudges: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 4000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - LuaScript: - Scripts: nod02b.lua - MusicPlaylist: - StartingMusic: ind2 - VictoryMusic: nod_win1 - MissionData: - Briefing: GDI has kept a stranglehold on Egypt for many years. Set up a forward attack base in your area. To do this you must select your Mobile Construction Vehicle (MCV) and right click on it. From here you can begin to build a base. This area contains plenty of Tiberium, so establishing the base should be easy. - BriefingVideo: nod2.vqa - StartVideo: seige.vqa - WinVideo: airstrk.vqa - LossVideo: deskill.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - NUK2: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - CYCL: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - FTNK: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - ARTY: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - MLRS: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - LST: - Buildable: - Prerequisites: ~disabled - C17: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HQ: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E2: - Buildable: - Prerequisites: ~disabled - SBAG: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - HARV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod02b/rules.yaml b/mods/cnc/maps/nod02b/rules.yaml new file mode 100644 index 0000000000..914aa78ad5 --- /dev/null +++ b/mods/cnc/maps/nod02b/rules.yaml @@ -0,0 +1,238 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 4000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + LuaScript: + Scripts: nod02b.lua + MusicPlaylist: + StartingMusic: ind2 + VictoryMusic: nod_win1 + MissionData: + Briefing: GDI has kept a stranglehold on Egypt for many years. Set up a forward attack base in your area. To do this you must select your Mobile Construction Vehicle (MCV) and right click on it. From here you can begin to build a base. This area contains plenty of Tiberium, so establishing the base should be easy. + BriefingVideo: nod2.vqa + StartVideo: seige.vqa + WinVideo: airstrk.vqa + LossVideo: deskill.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +NUK2: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +CYCL: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +FTNK: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +ARTY: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +MLRS: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player + +LST: + Buildable: + Prerequisites: ~disabled + +C17: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HQ: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E2: + Buildable: + Prerequisites: ~disabled + +SBAG: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +HARV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/nod03a/map.yaml b/mods/cnc/maps/nod03a/map.yaml index 61e8a82791..5cc7cda469 100644 --- a/mods/cnc/maps/nod03a/map.yaml +++ b/mods/cnc/maps/nod03a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -428,199 +430,4 @@ Actors: Location: 32,47 Owner: Neutral -Smudges: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 4000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: nod03a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: chrg226m - VictoryMusic: nod_win1 - MissionData: - Briefing: GDI has established a prison camp, where they are detaining some of the local political leaders.\n\nKane wishes to liberate these victims.\n\nDestroy the GDI forces and capture the prison, do not destroy it. - BriefingVideo: nod3.vqa - StartVideo: dessweep.vqa - WinVideo: desflees.vqa - LossVideo: flag.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - HQ: - AirstrikePower: - Prerequisites: ~disabled - Tooltip: - Description: Provides an overview of the battlefield.\nRequires power to operate. - NUK2: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - MISS: - Tooltip: - Name: Prison - Capturable: - CaptureThreshold: 1 - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod03a/rules.yaml b/mods/cnc/maps/nod03a/rules.yaml new file mode 100644 index 0000000000..765d8e7e73 --- /dev/null +++ b/mods/cnc/maps/nod03a/rules.yaml @@ -0,0 +1,214 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 4000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: nod03a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: chrg226m + VictoryMusic: nod_win1 + MissionData: + Briefing: GDI has established a prison camp, where they are detaining some of the local political leaders.\n\nKane wishes to liberate these victims.\n\nDestroy the GDI forces and capture the prison, do not destroy it. + BriefingVideo: nod3.vqa + StartVideo: dessweep.vqa + WinVideo: desflees.vqa + LossVideo: flag.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +HQ: + AirstrikePower: + Prerequisites: ~disabled + Tooltip: + Description: Provides an overview of the battlefield.\nRequires power to operate. + +NUK2: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +MISS: + Tooltip: + Name: Prison + Capturable: + CaptureThreshold: 1 + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/nod03b/map.yaml b/mods/cnc/maps/nod03b/map.yaml index 3d28587062..7e17e4fe98 100644 --- a/mods/cnc/maps/nod03b/map.yaml +++ b/mods/cnc/maps/nod03b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -472,199 +474,4 @@ Actors: Location: 23,20 Owner: Neutral -Smudges: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 4000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: nod03b.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: chrg226m - VictoryMusic: nod_win1 - MissionData: - Briefing: GDI has established a prison camp, where they are detaining some of the local political leaders.\n\nKane wishes to liberate these victims.\n\nDestroy the GDI forces and capture the prison, do not destroy it. - BriefingVideo: nod3.vqa - StartVideo: dessweep.vqa - WinVideo: desflees.vqa - LossVideo: flag.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - HQ: - AirstrikePower: - Prerequisites: ~disabled - Tooltip: - Description: Provides an overview of the battlefield.\nRequires power to operate. - NUK2: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - MISS: - Tooltip: - Name: Prison - Capturable: - CaptureThreshold: 1 - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod03b/rules.yaml b/mods/cnc/maps/nod03b/rules.yaml new file mode 100644 index 0000000000..abbb9e462e --- /dev/null +++ b/mods/cnc/maps/nod03b/rules.yaml @@ -0,0 +1,214 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 4000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: nod03b.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: chrg226m + VictoryMusic: nod_win1 + MissionData: + Briefing: GDI has established a prison camp, where they are detaining some of the local political leaders.\n\nKane wishes to liberate these victims.\n\nDestroy the GDI forces and capture the prison, do not destroy it. + BriefingVideo: nod3.vqa + StartVideo: dessweep.vqa + WinVideo: desflees.vqa + LossVideo: flag.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +HQ: + AirstrikePower: + Prerequisites: ~disabled + Tooltip: + Description: Provides an overview of the battlefield.\nRequires power to operate. + +NUK2: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +MISS: + Tooltip: + Name: Prison + Capturable: + CaptureThreshold: 1 + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/nod04a/map.yaml b/mods/cnc/maps/nod04a/map.yaml index 55ddad2b97..a09ffb84c2 100644 --- a/mods/cnc/maps/nod04a/map.yaml +++ b/mods/cnc/maps/nod04a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -532,222 +534,4 @@ Actors: Facing: 160 SubCell: 2 -Smudges: - sc6 37,24 0: - sc6 36,18 0: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - NodSupporter: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - NodSupporter: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: nod04a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MusicPlaylist: - StartingMusic: valkyrie - VictoryMusic: nod_win1 - MissionData: - Briefing: A small village friendly to our cause has been increasingly harassed by GDI, and the Brotherhood wishes you to assist them in their efforts.\n\nSeek out the enemy village and destroy it. The event will be disguised as a GDI attack. - BriefingVideo: nod4b.vqa - StartVideo: retro.vqa - LossVideo: deskill.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - AnnounceOnSeen: - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - AnnounceOnSeen: - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - AnnounceOnSeen: - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - NUK2: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - CYCL: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - FTNK: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - ARTY: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - MLRS: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - LST: - Buildable: - Prerequisites: ~disabled - C17: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - SBAG: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - HARV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod04a/rules.yaml b/mods/cnc/maps/nod04a/rules.yaml new file mode 100644 index 0000000000..ee018acc69 --- /dev/null +++ b/mods/cnc/maps/nod04a/rules.yaml @@ -0,0 +1,245 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + NodSupporter: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + NodSupporter: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: nod04a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MusicPlaylist: + StartingMusic: valkyrie + VictoryMusic: nod_win1 + MissionData: + Briefing: A small village friendly to our cause has been increasingly harassed by GDI, and the Brotherhood wishes you to assist them in their efforts.\n\nSeek out the enemy village and destroy it. The event will be disguised as a GDI attack. + BriefingVideo: nod4b.vqa + StartVideo: retro.vqa + LossVideo: deskill.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + SmudgeLayer@SCORCH: + InitialSmudges: + 37,24: sc6,0 + 36,18: sc6,0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + AnnounceOnSeen: + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + AnnounceOnSeen: + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + AnnounceOnSeen: + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +NUK2: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +CYCL: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +FTNK: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +ARTY: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +MLRS: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player + +LST: + Buildable: + Prerequisites: ~disabled + +C17: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +SBAG: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +HARV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/nod04b/map.yaml b/mods/cnc/maps/nod04b/map.yaml index 4701aa3ad6..be61006167 100644 --- a/mods/cnc/maps/nod04b/map.yaml +++ b/mods/cnc/maps/nod04b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@GDI: Name: GDI @@ -474,139 +476,4 @@ Actors: Location: 32,22 Owner: Neutral -Smudges: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - LuaScript: - Scripts: nod04b.lua - MusicPlaylist: - StartingMusic: warfare - VictoryMusic: nod_win1 - MissionData: - Briefing: A small village friendly to our cause has been increasingly harassed by GDI, and the Brotherhood wishes you to assist them in their efforts.\n\nSeek out the enemy village and destroy it. The event will be disguised as a GDI attack. - BriefingVideo: nod4b.vqa - LossVideo: nodlose.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - AnnounceOnSeen: - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - AnnounceOnSeen: - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - TRAN: - RejectsOrders: - -Selectable: - RevealsShroud: - Range: 5c0 - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod04b/rules.yaml b/mods/cnc/maps/nod04b/rules.yaml new file mode 100644 index 0000000000..ded41ae338 --- /dev/null +++ b/mods/cnc/maps/nod04b/rules.yaml @@ -0,0 +1,135 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + LuaScript: + Scripts: nod04b.lua + MusicPlaylist: + StartingMusic: warfare + VictoryMusic: nod_win1 + MissionData: + Briefing: A small village friendly to our cause has been increasingly harassed by GDI, and the Brotherhood wishes you to assist them in their efforts.\n\nSeek out the enemy village and destroy it. The event will be disguised as a GDI attack. + BriefingVideo: nod4b.vqa + LossVideo: nodlose.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + AnnounceOnSeen: + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + AnnounceOnSeen: + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +TRAN: + RejectsOrders: + -Selectable: + RevealsShroud: + Range: 5c0 + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/nod05/map.yaml b/mods/cnc/maps/nod05/map.yaml index 640c08996f..8d6660f296 100644 --- a/mods/cnc/maps/nod05/map.yaml +++ b/mods/cnc/maps/nod05/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@GDI: Name: GDI @@ -371,228 +373,4 @@ Actors: Location: 26,13 Owner: GDI -Smudges: - cr1 46,48 0: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - LuaScript: - Scripts: nod05.lua - MusicPlaylist: - StartingMusic: airstrik - VictoryMusic: nod_win1 - MissionData: - Briefing: Our brothers within GDI tell us of A-10 strike jets scheduled to be deployed here soon. Our suppliers have delivered new Surface to Air Missiles to aid you. Use the SAMs to defend your base, then seek out their base and destroy it. - BackgroundVideo: sethpre.vqa - BriefingVideo: nod5.vqa - StartVideo: samsite.vqa - WinVideo: insites.vqa - LossVideo: flag.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - NUK2: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - CYCL: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - MLRS: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - LST: - Buildable: - Prerequisites: ~disabled - C17: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - HARV: - Buildable: - Prerequisites: ~disabled - Harvester: - SearchFromOrderRadius: 24 - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - FTNK: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - ARTY: - Buildable: - Prerequisites: ~disabled - MTNK: - Buildable: - Prerequisites: ~disabled - HTNK: - Buildable: - Prerequisites: ~disabled - ORCA: - Buildable: - Prerequisites: ~disabled - MSAM: - Buildable: - Prerequisites: ~disabled - SBAG: - Buildable: - Queue: Defence.GDI, Defence.Nod - HQ: - AirstrikePower: - Prerequisites: gdi - SquadSize: 1 - A10: - Targetable: - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod05/rules.yaml b/mods/cnc/maps/nod05/rules.yaml new file mode 100644 index 0000000000..23f38986d7 --- /dev/null +++ b/mods/cnc/maps/nod05/rules.yaml @@ -0,0 +1,253 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + LuaScript: + Scripts: nod05.lua + MusicPlaylist: + StartingMusic: airstrik + VictoryMusic: nod_win1 + MissionData: + Briefing: Our brothers within GDI tell us of A-10 strike jets scheduled to be deployed here soon. Our suppliers have delivered new Surface to Air Missiles to aid you. Use the SAMs to defend your base, then seek out their base and destroy it. + BackgroundVideo: sethpre.vqa + BriefingVideo: nod5.vqa + StartVideo: samsite.vqa + WinVideo: insites.vqa + LossVideo: flag.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + SmudgeLayer@CRATER: + InitialSmudges: + 46,48: cr1,0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +NUK2: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +CYCL: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +MLRS: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player + +LST: + Buildable: + Prerequisites: ~disabled + +C17: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +HARV: + Buildable: + Prerequisites: ~disabled + Harvester: + SearchFromOrderRadius: 24 + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +FTNK: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +ARTY: + Buildable: + Prerequisites: ~disabled + +MTNK: + Buildable: + Prerequisites: ~disabled + +HTNK: + Buildable: + Prerequisites: ~disabled + +ORCA: + Buildable: + Prerequisites: ~disabled + +MSAM: + Buildable: + Prerequisites: ~disabled + +SBAG: + Buildable: + Queue: Defence.GDI, Defence.Nod + +HQ: + AirstrikePower: + Prerequisites: gdi + SquadSize: 1 + +A10: + Targetable: diff --git a/mods/cnc/maps/nod06a/map.yaml b/mods/cnc/maps/nod06a/map.yaml index c3e7e3c577..ab143ed338 100644 --- a/mods/cnc/maps/nod06a/map.yaml +++ b/mods/cnc/maps/nod06a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -641,145 +643,4 @@ Actors: Location: 57,32 Owner: GDI -Smudges: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - LuaScript: - Scripts: nod06a.lua - MusicPlaylist: - StartingMusic: rout - VictoryMusic: nod_win1 - MissionData: - Briefing: GDI has imported a Nuclear Detonator in an attempt to sway a few local political leaders. Penetrate the base and steal the detonator. A chopper will be sent to meet you at a designated landing zone. Look for the landing flare once you have stolen the device. - BriefingVideo: nod6.vqa - StartVideo: sundial.vqa - LossVideo: banner.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - AnnounceOnSeen: - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - HARV: - Harvester: - SearchFromProcRadius: 64 - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - FLARE: - Tooltip: - ShowOwnerRow: false - TRAN: - -Selectable: - MCV: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod06a/rules.yaml b/mods/cnc/maps/nod06a/rules.yaml new file mode 100644 index 0000000000..31ecf9e42f --- /dev/null +++ b/mods/cnc/maps/nod06a/rules.yaml @@ -0,0 +1,143 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + LuaScript: + Scripts: nod06a.lua + MusicPlaylist: + StartingMusic: rout + VictoryMusic: nod_win1 + MissionData: + Briefing: GDI has imported a Nuclear Detonator in an attempt to sway a few local political leaders. Penetrate the base and steal the detonator. A chopper will be sent to meet you at a designated landing zone. Look for the landing flare once you have stolen the device. + BriefingVideo: nod6.vqa + StartVideo: sundial.vqa + LossVideo: banner.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + AnnounceOnSeen: + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +HARV: + Harvester: + SearchFromProcRadius: 64 + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +FLARE: + Tooltip: + ShowOwnerRow: false + +TRAN: + -Selectable: + +MCV: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/nod06b/map.yaml b/mods/cnc/maps/nod06b/map.yaml index 101dcf7ddc..c8831b579f 100644 --- a/mods/cnc/maps/nod06b/map.yaml +++ b/mods/cnc/maps/nod06b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@GDI: Name: GDI @@ -584,143 +586,4 @@ Actors: Owner: GDI SubCell: 1 -Smudges: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - LuaScript: - Scripts: nod06b.lua - MusicPlaylist: - StartingMusic: rout - VictoryMusic: nod_win1 - MissionData: - Briefing: GDI has imported a Nuclear Detonator in an attempt to sway a few local political leaders. Penetrate the base and steal the detonator. A chopper will be sent to meet you at a designated landing zone. Look for the landing flare once you have stolen the device. - BriefingVideo: nod6.vqa - StartVideo: sundial.vqa - LossVideo: banner.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - FLARE: - Tooltip: - ShowOwnerRow: false - TRAN: - -Selectable: - HARV: - RenderSprites: - PlayerPalette: player - MCV: - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod06b/rules.yaml b/mods/cnc/maps/nod06b/rules.yaml new file mode 100644 index 0000000000..60b7591363 --- /dev/null +++ b/mods/cnc/maps/nod06b/rules.yaml @@ -0,0 +1,141 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + Civilians: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + LuaScript: + Scripts: nod06b.lua + MusicPlaylist: + StartingMusic: rout + VictoryMusic: nod_win1 + MissionData: + Briefing: GDI has imported a Nuclear Detonator in an attempt to sway a few local political leaders. Penetrate the base and steal the detonator. A chopper will be sent to meet you at a designated landing zone. Look for the landing flare once you have stolen the device. + BriefingVideo: nod6.vqa + StartVideo: sundial.vqa + LossVideo: banner.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +FLARE: + Tooltip: + ShowOwnerRow: false + +TRAN: + -Selectable: + +HARV: + RenderSprites: + PlayerPalette: player + +MCV: + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player diff --git a/mods/cnc/maps/nod06c/map.yaml b/mods/cnc/maps/nod06c/map.yaml index dad74b44bf..9fd3806641 100644 --- a/mods/cnc/maps/nod06c/map.yaml +++ b/mods/cnc/maps/nod06c/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@GDI: Name: GDI @@ -461,240 +463,4 @@ Actors: Location: 20,21 Owner: GDI -Smudges: - sc2 41,40 0: - sc4 43,39 0: - cr1 42,39 0: - cr1 43,36 0: - sc1 29,30 0: - sc1 28,30 0: - sc3 29,23 0: - sc4 19,21 0: - sc5 32,20 0: - -Rules: - ^Palettes: - -PlayerColorPalette: - IndexedPlayerPalette: - BasePalette: terrain - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - IndexedPlayerPalette@units: - BasePalette: terrain - BaseName: player-units - RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - PlayerIndex: - GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 - Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 - Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 4000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - LuaScript: - Scripts: nod06c.lua - MusicPlaylist: - StartingMusic: rout - VictoryMusic: nod_win1 - MissionData: - Briefing: GDI has imported a Nuclear Detonator in an attempt to sway a few local political leaders. Penetrate the base and steal the detonator. A chopper will be sent to meet you at a designated landing zone. Look for the landing flare once you have stolen the device. - BriefingVideo: nod6.vqa - StartVideo: sundial.vqa - LossVideo: banner.vqa - MapCreeps: - Locked: True - Enabled: False - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^CommonHuskDefaults: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - RenderSprites: - PlayerPalette: player-units - ^CivBuildingHusk: - Tooltip: - GenericVisibility: Enemy, Neutral - ShowOwnerRow: false - ^Bridge: - DamageMultiplier@INVULNERABLE: - Modifier: 0 - E2: - Buildable: - Prerequisites: ~pyle - NUK2: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - CYCL: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - OBLI: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TMPL: - Buildable: - Prerequisites: ~disabled - FTNK: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - ARTY: - Buildable: - Prerequisites: ~disabled - E5: - Buildable: - Prerequisites: ~disabled - RMBO: - Buildable: - Prerequisites: ~disabled - MLRS: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - MCV.Husk: - RenderSprites: - PlayerPalette: player - LST: - Buildable: - Prerequisites: ~disabled - C17: - Buildable: - Prerequisites: ~disabled - GTWR: - Buildable: - Prerequisites: ~disabled - ATWR: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - EYE: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - HARV: - Buildable: - Prerequisites: ~disabled - RenderSprites: - PlayerPalette: player - HARV.Husk: - RenderSprites: - PlayerPalette: player - MTNK: - Buildable: - Prerequisites: ~disabled - HTNK: - Buildable: - Prerequisites: ~disabled - TRAN: - -Selectable: - Buildable: - Prerequisites: ~disabled - ORCA: - Buildable: - Prerequisites: ~disabled - MSAM: - Buildable: - Prerequisites: ~disabled - HELI: - Buildable: - Prerequisites: ~disabled - FLARE: - Tooltip: - ShowOwnerRow: false - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/nod06c/rules.yaml b/mods/cnc/maps/nod06c/rules.yaml new file mode 100644 index 0000000000..4fcda860ad --- /dev/null +++ b/mods/cnc/maps/nod06c/rules.yaml @@ -0,0 +1,270 @@ +^Palettes: + -PlayerColorPalette: + IndexedPlayerPalette: + BasePalette: terrain + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 127, 126, 125, 124, 122, 46, 120, 47, 125, 124, 123, 122, 42, 121, 120, 120 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + IndexedPlayerPalette@units: + BasePalette: terrain + BaseName: player-units + RemapIndex: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + PlayerIndex: + GDI: 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191 + Nod: 161, 200, 201, 202, 204, 205, 206, 12, 201, 202, 203, 204, 205, 115, 198, 114 + Neutral: 192, 164, 132, 155, 133, 197, 112, 12, 163, 132, 155, 133, 134, 197, 154, 198 + +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 4000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + LuaScript: + Scripts: nod06c.lua + MusicPlaylist: + StartingMusic: rout + VictoryMusic: nod_win1 + MissionData: + Briefing: GDI has imported a Nuclear Detonator in an attempt to sway a few local political leaders. Penetrate the base and steal the detonator. A chopper will be sent to meet you at a designated landing zone. Look for the landing flare once you have stolen the device. + BriefingVideo: nod6.vqa + StartVideo: sundial.vqa + LossVideo: banner.vqa + MapCreeps: + Locked: True + Enabled: False + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + SmudgeLayer@SCORCH: + InitialSmudges: + 41,40: sc2,0 + 43,39: sc4,0 + 29,30: sc1,0 + 28,30: sc1,0 + 29,23: sc3,0 + 19,21: sc4,0 + 32,20: sc5,0 + SmudgeLayer@CRATER: + InitialSmudges: + 42,39: cr1,0 + 43,36: cr1,0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^CommonHuskDefaults: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + RenderSprites: + PlayerPalette: player-units + +^CivBuildingHusk: + Tooltip: + GenericVisibility: Enemy, Neutral + ShowOwnerRow: false + +^Bridge: + DamageMultiplier@INVULNERABLE: + Modifier: 0 + +E2: + Buildable: + Prerequisites: ~pyle + +NUK2: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +CYCL: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +OBLI: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TMPL: + Buildable: + Prerequisites: ~disabled + +FTNK: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +ARTY: + Buildable: + Prerequisites: ~disabled + +E5: + Buildable: + Prerequisites: ~disabled + +RMBO: + Buildable: + Prerequisites: ~disabled + +MLRS: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +MCV.Husk: + RenderSprites: + PlayerPalette: player + +LST: + Buildable: + Prerequisites: ~disabled + +C17: + Buildable: + Prerequisites: ~disabled + +GTWR: + Buildable: + Prerequisites: ~disabled + +ATWR: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +EYE: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +HARV: + Buildable: + Prerequisites: ~disabled + RenderSprites: + PlayerPalette: player + +HARV.Husk: + RenderSprites: + PlayerPalette: player + +MTNK: + Buildable: + Prerequisites: ~disabled + +HTNK: + Buildable: + Prerequisites: ~disabled + +TRAN: + -Selectable: + Buildable: + Prerequisites: ~disabled + +ORCA: + Buildable: + Prerequisites: ~disabled + +MSAM: + Buildable: + Prerequisites: ~disabled + +HELI: + Buildable: + Prerequisites: ~disabled + +FLARE: + Tooltip: + ShowOwnerRow: false diff --git a/mods/cnc/maps/pirates_and_emperors.oramap b/mods/cnc/maps/pirates_and_emperors.oramap index 8f0f99a8f7..577a10b69b 100644 Binary files a/mods/cnc/maps/pirates_and_emperors.oramap and b/mods/cnc/maps/pirates_and_emperors.oramap differ diff --git a/mods/cnc/maps/pressure_cnc.oramap b/mods/cnc/maps/pressure_cnc.oramap index ddd121c6cd..b92dab9b1c 100644 Binary files a/mods/cnc/maps/pressure_cnc.oramap and b/mods/cnc/maps/pressure_cnc.oramap differ diff --git a/mods/cnc/maps/profit_over_people.oramap b/mods/cnc/maps/profit_over_people.oramap index 31f7d3dc56..39d95e787a 100644 Binary files a/mods/cnc/maps/profit_over_people.oramap and b/mods/cnc/maps/profit_over_people.oramap differ diff --git a/mods/cnc/maps/rogue_states.oramap b/mods/cnc/maps/rogue_states.oramap index ea95fa49a7..8322ef119e 100644 Binary files a/mods/cnc/maps/rogue_states.oramap and b/mods/cnc/maps/rogue_states.oramap differ diff --git a/mods/cnc/maps/rubicon.oramap b/mods/cnc/maps/rubicon.oramap index 9dd572055b..a2eb8913e8 100644 Binary files a/mods/cnc/maps/rubicon.oramap and b/mods/cnc/maps/rubicon.oramap differ diff --git a/mods/cnc/maps/sandstorm.oramap b/mods/cnc/maps/sandstorm.oramap index 4f99d7e8dd..a75a71bec5 100644 Binary files a/mods/cnc/maps/sandstorm.oramap and b/mods/cnc/maps/sandstorm.oramap differ diff --git a/mods/cnc/maps/sea_and_cake.oramap b/mods/cnc/maps/sea_and_cake.oramap index cb5cf1e361..038a7150f8 100644 Binary files a/mods/cnc/maps/sea_and_cake.oramap and b/mods/cnc/maps/sea_and_cake.oramap differ diff --git a/mods/cnc/maps/shellmap/map.png b/mods/cnc/maps/shellmap/map.png new file mode 100644 index 0000000000..c7d3e717cf Binary files /dev/null and b/mods/cnc/maps/shellmap/map.png differ diff --git a/mods/cnc/maps/shellmap/map.yaml b/mods/cnc/maps/shellmap/map.yaml index f3fcf81444..9b839de1b3 100644 --- a/mods/cnc/maps/shellmap/map.yaml +++ b/mods/cnc/maps/shellmap/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -977,36 +977,4 @@ Actors: Owner: Nod Facing: 192 -Smudges: - -Rules: - World: - -SpawnMPUnits: - -MPStartLocations: - -CrateSpawner: - MenuPaletteEffect: - Effect: Desaturated - LuaScript: - Scripts: shellmap.lua - MusicPlaylist: - BackgroundMusic: map1 - LST: - Mobile: - Speed: 42 - BOAT: - Mobile: - Speed: 42 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/shellmap/rules.yaml b/mods/cnc/maps/shellmap/rules.yaml new file mode 100644 index 0000000000..dd30591281 --- /dev/null +++ b/mods/cnc/maps/shellmap/rules.yaml @@ -0,0 +1,18 @@ +World: + -SpawnMPUnits: + -MPStartLocations: + -CrateSpawner: + MenuPaletteEffect: + Effect: Desaturated + LuaScript: + Scripts: shellmap.lua + MusicPlaylist: + BackgroundMusic: map1 + +LST: + Mobile: + Speed: 42 + +BOAT: + Mobile: + Speed: 42 diff --git a/mods/cnc/maps/the-hot-box/map.png b/mods/cnc/maps/the-hot-box/map.png new file mode 100644 index 0000000000..56fda84729 Binary files /dev/null and b/mods/cnc/maps/the-hot-box/map.png differ diff --git a/mods/cnc/maps/the-hot-box/map.yaml b/mods/cnc/maps/the-hot-box/map.yaml index 7bd16cd088..f627b13838 100644 --- a/mods/cnc/maps/the-hot-box/map.yaml +++ b/mods/cnc/maps/the-hot-box/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: cnc @@ -193,66 +193,4 @@ Actors: Location: 46,22 Owner: Neutral -Smudges: - -Rules: - World: - CrateSpawner: - Maximum: 4 - SpawnInterval: 125 - CrateActors: unitcrate - InitialSpawnDelay: 0 - -SpawnMPUnits: - -MPStartLocations: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - UNITCRATE: - Inherits: ^Crate - GiveUnitCrateAction@stnk: - SelectionShares: 4 - Units: stnk - GiveUnitCrateAction@bike: - SelectionShares: 6 - Units: bike - GiveUnitCrateAction@htnk: - SelectionShares: 1 - Units: htnk - GiveUnitCrateAction@e5: - SelectionShares: 1 - Units: e5 - GiveUnitCrateAction@e1: - SelectionShares: 1 - Units: e1 - APC: - Health: - HP: 1000 - MustBeDestroyed: - RequiredForShortGame: true - -AttackMove: - Player: - Shroud: - FogLocked: True - FogEnabled: False - ExploredMapLocked: True - ExploredMapEnabled: True - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/cnc/maps/the-hot-box/rules.yaml b/mods/cnc/maps/the-hot-box/rules.yaml new file mode 100644 index 0000000000..3d10c8b1e7 --- /dev/null +++ b/mods/cnc/maps/the-hot-box/rules.yaml @@ -0,0 +1,49 @@ +World: + CrateSpawner: + Maximum: 4 + SpawnInterval: 125 + CrateActors: unitcrate + InitialSpawnDelay: 0 + -SpawnMPUnits: + -MPStartLocations: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +UNITCRATE: + Inherits: ^Crate + GiveUnitCrateAction@stnk: + SelectionShares: 4 + Units: stnk + GiveUnitCrateAction@bike: + SelectionShares: 6 + Units: bike + GiveUnitCrateAction@htnk: + SelectionShares: 1 + Units: htnk + GiveUnitCrateAction@e5: + SelectionShares: 1 + Units: e5 + GiveUnitCrateAction@e1: + SelectionShares: 1 + Units: e1 + +APC: + Health: + HP: 1000 + MustBeDestroyed: + RequiredForShortGame: true + -AttackMove: + +Player: + Shroud: + FogLocked: True + FogEnabled: False + ExploredMapLocked: True + ExploredMapEnabled: True + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 diff --git a/mods/cnc/maps/the_hourglass.oramap b/mods/cnc/maps/the_hourglass.oramap index d3126dfbc3..6dad8397fe 100644 Binary files a/mods/cnc/maps/the_hourglass.oramap and b/mods/cnc/maps/the_hourglass.oramap differ diff --git a/mods/cnc/maps/thesentinel.oramap b/mods/cnc/maps/thesentinel.oramap index fc6daefb45..6e139517fd 100644 Binary files a/mods/cnc/maps/thesentinel.oramap and b/mods/cnc/maps/thesentinel.oramap differ diff --git a/mods/cnc/maps/tiberium-oasis-cluster.oramap b/mods/cnc/maps/tiberium-oasis-cluster.oramap index 6b8ecbb6ad..2a782b66ea 100644 Binary files a/mods/cnc/maps/tiberium-oasis-cluster.oramap and b/mods/cnc/maps/tiberium-oasis-cluster.oramap differ diff --git a/mods/cnc/maps/treasure-island-2.oramap b/mods/cnc/maps/treasure-island-2.oramap index a033ba53c8..fb474d20f4 100644 Binary files a/mods/cnc/maps/treasure-island-2.oramap and b/mods/cnc/maps/treasure-island-2.oramap differ diff --git a/mods/cnc/maps/two-ponds.oramap b/mods/cnc/maps/two-ponds.oramap index 12ba259071..173d7a4b7e 100644 Binary files a/mods/cnc/maps/two-ponds.oramap and b/mods/cnc/maps/two-ponds.oramap differ diff --git a/mods/cnc/maps/vectorsofbattle.oramap b/mods/cnc/maps/vectorsofbattle.oramap index 81732c2c08..98a4c4bee5 100644 Binary files a/mods/cnc/maps/vectorsofbattle.oramap and b/mods/cnc/maps/vectorsofbattle.oramap differ diff --git a/mods/cnc/maps/white_acres.oramap b/mods/cnc/maps/white_acres.oramap index f185d06d6e..7d9ef0fe8c 100644 Binary files a/mods/cnc/maps/white_acres.oramap and b/mods/cnc/maps/white_acres.oramap differ diff --git a/mods/d2k/maps/atreides-01a/map.yaml b/mods/d2k/maps/atreides-01a/map.yaml index 4286f82986..85c9d62547 100644 --- a/mods/d2k/maps/atreides-01a/map.yaml +++ b/mods/d2k/maps/atreides-01a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: d2k @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -109,79 +111,4 @@ Actors: Location: 13,13 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 2300 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: atreides01a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - WormManager: - Minimum: 1 - Maximum: 1 - MissionData: - Briefing: Harvest Spice from the Imperial Basin. Construct a Spice Refinery and defend it against the Harkonnen troops scattered throughout the basin. You have been assigned only limited offensive forces - use them wisely.\n\nYou will have to learn the subtleties of mining as you go, but remember to build Silos to store the Spice. When you run out of storage space you can not gather more Spice. Also, any building without adequate concrete foundation will need immediate repair and be vulnerable to erosive damage from the harsh environment. Your greatest adversary may be the elements.\n\nGood luck.\n - BriefingVideo: A_BR01_E.VQA - MapCreeps: - Locked: True - Enabled: True - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Low - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - construction_yard: - Production: - Produces: Building - concreteb: - Buildable: - Prerequisites: ~disabled - barracks: - Buildable: - Prerequisites: ~disabled - light_factory: - Buildable: - Prerequisites: ~disabled - heavy_factory: - Buildable: - Prerequisites: ~disabled - medium_gun_turret: - Buildable: - Prerequisites: ~disabled - wall: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/d2k/maps/atreides-01a/rules.yaml b/mods/d2k/maps/atreides-01a/rules.yaml new file mode 100644 index 0000000000..d055e94723 --- /dev/null +++ b/mods/d2k/maps/atreides-01a/rules.yaml @@ -0,0 +1,67 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 2300 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: atreides01a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + WormManager: + Minimum: 1 + Maximum: 1 + MissionData: + Briefing: Harvest Spice from the Imperial Basin. Construct a Spice Refinery and defend it against the Harkonnen troops scattered throughout the basin. You have been assigned only limited offensive forces - use them wisely.\n\nYou will have to learn the subtleties of mining as you go, but remember to build Silos to store the Spice. When you run out of storage space you can not gather more Spice. Also, any building without adequate concrete foundation will need immediate repair and be vulnerable to erosive damage from the harsh environment. Your greatest adversary may be the elements.\n\nGood luck.\n + BriefingVideo: A_BR01_E.VQA + MapCreeps: + Locked: True + Enabled: True + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Low + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +construction_yard: + Production: + Produces: Building + +concreteb: + Buildable: + Prerequisites: ~disabled + +barracks: + Buildable: + Prerequisites: ~disabled + +light_factory: + Buildable: + Prerequisites: ~disabled + +heavy_factory: + Buildable: + Prerequisites: ~disabled + +medium_gun_turret: + Buildable: + Prerequisites: ~disabled + +wall: + Buildable: + Prerequisites: ~disabled diff --git a/mods/d2k/maps/atreides-01b/map.yaml b/mods/d2k/maps/atreides-01b/map.yaml index 1d0e06cecb..0d78a691fa 100644 --- a/mods/d2k/maps/atreides-01b/map.yaml +++ b/mods/d2k/maps/atreides-01b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: d2k @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -108,79 +110,4 @@ Actors: Location: 22,20 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 2300 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: atreides01b.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - WormManager: - Minimum: 1 - Maximum: 1 - MissionData: - Briefing: Harvest Spice from the Imperial Basin. Construct a Spice Refinery and defend it against the Harkonnen troops scattered throughout the basin. You have been assigned only limited offensive forces - use them wisely.\n\nYou will have to learn the subtleties of mining as you go, but remember to build Silos to store the Spice. When you run out of storage space you can not gather more Spice. Also, any building without adequate concrete foundation will need immediate repair and be vulnerable to erosive damage from the harsh environment. Your greatest adversary may be the elements.\n\nGood luck.\n - BriefingVideo: A_BR01_E.VQA - MapCreeps: - Locked: True - Enabled: True - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Low - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - construction_yard: - Production: - Produces: Building - concreteb: - Buildable: - Prerequisites: ~disabled - barracks: - Buildable: - Prerequisites: ~disabled - light_factory: - Buildable: - Prerequisites: ~disabled - heavy_factory: - Buildable: - Prerequisites: ~disabled - medium_gun_turret: - Buildable: - Prerequisites: ~disabled - wall: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/d2k/maps/atreides-01b/rules.yaml b/mods/d2k/maps/atreides-01b/rules.yaml new file mode 100644 index 0000000000..04ca0385b8 --- /dev/null +++ b/mods/d2k/maps/atreides-01b/rules.yaml @@ -0,0 +1,67 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 2300 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: atreides01b.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + WormManager: + Minimum: 1 + Maximum: 1 + MissionData: + Briefing: Harvest Spice from the Imperial Basin. Construct a Spice Refinery and defend it against the Harkonnen troops scattered throughout the basin. You have been assigned only limited offensive forces - use them wisely.\n\nYou will have to learn the subtleties of mining as you go, but remember to build Silos to store the Spice. When you run out of storage space you can not gather more Spice. Also, any building without adequate concrete foundation will need immediate repair and be vulnerable to erosive damage from the harsh environment. Your greatest adversary may be the elements.\n\nGood luck.\n + BriefingVideo: A_BR01_E.VQA + MapCreeps: + Locked: True + Enabled: True + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Low + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +construction_yard: + Production: + Produces: Building + +concreteb: + Buildable: + Prerequisites: ~disabled + +barracks: + Buildable: + Prerequisites: ~disabled + +light_factory: + Buildable: + Prerequisites: ~disabled + +heavy_factory: + Buildable: + Prerequisites: ~disabled + +medium_gun_turret: + Buildable: + Prerequisites: ~disabled + +wall: + Buildable: + Prerequisites: ~disabled diff --git a/mods/d2k/maps/atreides-02a/map.yaml b/mods/d2k/maps/atreides-02a/map.yaml index 4756c83559..64fec5fadd 100644 --- a/mods/d2k/maps/atreides-02a/map.yaml +++ b/mods/d2k/maps/atreides-02a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: d2k @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -166,79 +168,4 @@ Actors: Owner: Neutral Location: 30,28 -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: atreides02a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - WormManager: - Minimum: 1 - Maximum: 1 - MissionData: - Briefing: Infiltrate the Imperial Basin and build up our forces until they are strong enough to eradicate the local Harkonnen presence.\n\nThe Harkonnen are reinforcing their troops by air, so be on your guard. Use the Outpost's radar to detect attacks from unexpected quarters.\n\nBe careful when mining the Spice. Spice mounds grow out of the sand. While a vital source of Spice, Spice mounds can damage or destroy any unit that blunders into them.\n\nGood luck.\n - BriefingVideo: A_BR02_E.VQA - MapCreeps: - Locked: True - Enabled: True - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Low - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - carryall.reinforce: - Cargo: - MaxWeight: 10 - construction_yard: - Production: - Produces: Building - concreteb: - Buildable: - Prerequisites: ~disabled - heavy_factory: - Buildable: - Prerequisites: ~disabled - medium_gun_turret: - Buildable: - Prerequisites: ~disabled - wall: - Buildable: - Prerequisites: ~disabled - outpost: - Buildable: - Prerequisites: barracks - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/d2k/maps/atreides-02a/rules.yaml b/mods/d2k/maps/atreides-02a/rules.yaml new file mode 100644 index 0000000000..671f7076fa --- /dev/null +++ b/mods/d2k/maps/atreides-02a/rules.yaml @@ -0,0 +1,67 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: atreides02a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + WormManager: + Minimum: 1 + Maximum: 1 + MissionData: + Briefing: Infiltrate the Imperial Basin and build up our forces until they are strong enough to eradicate the local Harkonnen presence.\n\nThe Harkonnen are reinforcing their troops by air, so be on your guard. Use the Outpost's radar to detect attacks from unexpected quarters.\n\nBe careful when mining the Spice. Spice mounds grow out of the sand. While a vital source of Spice, Spice mounds can damage or destroy any unit that blunders into them.\n\nGood luck.\n + BriefingVideo: A_BR02_E.VQA + MapCreeps: + Locked: True + Enabled: True + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Low + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +carryall.reinforce: + Cargo: + MaxWeight: 10 + +construction_yard: + Production: + Produces: Building + +concreteb: + Buildable: + Prerequisites: ~disabled + +heavy_factory: + Buildable: + Prerequisites: ~disabled + +medium_gun_turret: + Buildable: + Prerequisites: ~disabled + +wall: + Buildable: + Prerequisites: ~disabled + +outpost: + Buildable: + Prerequisites: barracks diff --git a/mods/d2k/maps/atreides-02b/map.yaml b/mods/d2k/maps/atreides-02b/map.yaml index dc56fdff3c..be8de50950 100644 --- a/mods/d2k/maps/atreides-02b/map.yaml +++ b/mods/d2k/maps/atreides-02b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: d2k @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -136,84 +138,4 @@ Actors: Owner: Neutral Location: 30,28 -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: atreides02b.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - WormManager: - Minimum: 1 - Maximum: 1 - MissionData: - Briefing: Infiltrate the Imperial Basin and build up our forces until they are strong enough to eradicate the local Harkonnen presence.\n\nThe Harkonnen are reinforcing their troops by air, so be on your guard. Use the Outpost's radar to detect attacks from unexpected quarters.\n\nBe careful when mining the Spice. Spice mounds grow out of the sand. While a vital source of Spice, Spice mounds can damage or destroy any unit that blunders into them.\n\nGood luck.\n - BriefingVideo: A_BR02_E.VQA - MapCreeps: - Locked: True - Enabled: True - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Low - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - carryall.reinforce: - Cargo: - MaxWeight: 10 - construction_yard: - Production: - Produces: Building - concreteb: - Buildable: - Prerequisites: ~disabled - heavy_factory: - Buildable: - Prerequisites: ~disabled - medium_gun_turret: - Buildable: - Prerequisites: ~disabled - wall: - Buildable: - Prerequisites: ~disabled - outpost: - Buildable: - Prerequisites: barracks - outpostnopower: - Inherits: outpost - Buildable: - Prerequisites: ~disabled - -RequiresPower: - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/d2k/maps/atreides-02b/rules.yaml b/mods/d2k/maps/atreides-02b/rules.yaml new file mode 100644 index 0000000000..9dddc15a1d --- /dev/null +++ b/mods/d2k/maps/atreides-02b/rules.yaml @@ -0,0 +1,73 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: atreides02b.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + WormManager: + Minimum: 1 + Maximum: 1 + MissionData: + Briefing: Infiltrate the Imperial Basin and build up our forces until they are strong enough to eradicate the local Harkonnen presence.\n\nThe Harkonnen are reinforcing their troops by air, so be on your guard. Use the Outpost's radar to detect attacks from unexpected quarters.\n\nBe careful when mining the Spice. Spice mounds grow out of the sand. While a vital source of Spice, Spice mounds can damage or destroy any unit that blunders into them.\n\nGood luck.\n + BriefingVideo: A_BR02_E.VQA + MapCreeps: + Locked: True + Enabled: True + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Low + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +carryall.reinforce: + Cargo: + MaxWeight: 10 + +construction_yard: + Production: + Produces: Building + +concreteb: + Buildable: + Prerequisites: ~disabled + +heavy_factory: + Buildable: + Prerequisites: ~disabled + +medium_gun_turret: + Buildable: + Prerequisites: ~disabled + +wall: + Buildable: + Prerequisites: ~disabled + +outpost: + Buildable: + Prerequisites: barracks + +outpostnopower: + Inherits: outpost + Buildable: + Prerequisites: ~disabled + -RequiresPower: diff --git a/mods/d2k/maps/atreides-03a/map.yaml b/mods/d2k/maps/atreides-03a/map.yaml index bf48ef64d5..42a672f1da 100644 --- a/mods/d2k/maps/atreides-03a/map.yaml +++ b/mods/d2k/maps/atreides-03a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: d2k @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -133,85 +135,4 @@ Actors: Owner: Neutral Location: 39,30 -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 3000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: atreides03a.lua, atreides03a-AI.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - WormManager: - Minimum: 1 - Maximum: 1 - MissionData: - Briefing: Bring the Atreides forces up to combat strength - quickly. Guard against surprise attacks and ensure Spice production.\n\nThe Ordos forces are light but numerous. To combat the Ordos, you have been granted license to produce Quads, which have a greater anti-vehicle capability than Trikes. Upgrade your Light Factories to allow production of these units.\n\nMeet any agression with overwhelming force.\n\nGood luck.\n - BriefingVideo: A_BR03_E.VQA - MapCreeps: - Locked: True - Enabled: True - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Low - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - carryall.reinforce: - Cargo: - MaxWeight: 10 - concreteb: - Buildable: - Prerequisites: ~disabled - heavy_factory: - Buildable: - Prerequisites: ~disabled - medium_gun_turret: - Buildable: - Prerequisites: ~disabled - outpost: - Buildable: - Prerequisites: barracks - quad: - Buildable: - Prerequisites: upgrade.light - trooper: - Buildable: - Prerequisites: upgrade.barracks - upgrade.conyard: - Buildable: - Prerequisites: ~disabled - upgrade.heavy: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/d2k/maps/atreides-03a/rules.yaml b/mods/d2k/maps/atreides-03a/rules.yaml new file mode 100644 index 0000000000..67c71aba19 --- /dev/null +++ b/mods/d2k/maps/atreides-03a/rules.yaml @@ -0,0 +1,75 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 3000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: atreides03a.lua, atreides03a-AI.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + WormManager: + Minimum: 1 + Maximum: 1 + MissionData: + Briefing: Bring the Atreides forces up to combat strength - quickly. Guard against surprise attacks and ensure Spice production.\n\nThe Ordos forces are light but numerous. To combat the Ordos, you have been granted license to produce Quads, which have a greater anti-vehicle capability than Trikes. Upgrade your Light Factories to allow production of these units.\n\nMeet any agression with overwhelming force.\n\nGood luck.\n + BriefingVideo: A_BR03_E.VQA + MapCreeps: + Locked: True + Enabled: True + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Low + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +carryall.reinforce: + Cargo: + MaxWeight: 10 + +concreteb: + Buildable: + Prerequisites: ~disabled + +heavy_factory: + Buildable: + Prerequisites: ~disabled + +medium_gun_turret: + Buildable: + Prerequisites: ~disabled + +outpost: + Buildable: + Prerequisites: barracks + +quad: + Buildable: + Prerequisites: upgrade.light + +trooper: + Buildable: + Prerequisites: upgrade.barracks + +upgrade.conyard: + Buildable: + Prerequisites: ~disabled + +upgrade.heavy: + Buildable: + Prerequisites: ~disabled diff --git a/mods/d2k/maps/battle-for-dune.oramap b/mods/d2k/maps/battle-for-dune.oramap index e2064012df..a0481f22b2 100644 Binary files a/mods/d2k/maps/battle-for-dune.oramap and b/mods/d2k/maps/battle-for-dune.oramap differ diff --git a/mods/d2k/maps/death-depths.oramap b/mods/d2k/maps/death-depths.oramap index 1c0cf2bafc..1a82bd8abd 100644 Binary files a/mods/d2k/maps/death-depths.oramap and b/mods/d2k/maps/death-depths.oramap differ diff --git a/mods/d2k/maps/desert-twister.oramap b/mods/d2k/maps/desert-twister.oramap index c74afdf54a..e4ccbdc8c2 100644 Binary files a/mods/d2k/maps/desert-twister.oramap and b/mods/d2k/maps/desert-twister.oramap differ diff --git a/mods/d2k/maps/eyesofthedesert.oramap b/mods/d2k/maps/eyesofthedesert.oramap index 4359275f6e..8f7bfd1c53 100644 Binary files a/mods/d2k/maps/eyesofthedesert.oramap and b/mods/d2k/maps/eyesofthedesert.oramap differ diff --git a/mods/d2k/maps/imperial-basin.oramap b/mods/d2k/maps/imperial-basin.oramap index 9e58065d71..c5f949edb6 100644 Binary files a/mods/d2k/maps/imperial-basin.oramap and b/mods/d2k/maps/imperial-basin.oramap differ diff --git a/mods/d2k/maps/kanly.oramap b/mods/d2k/maps/kanly.oramap index 65f18e74d9..cb80bde141 100644 Binary files a/mods/d2k/maps/kanly.oramap and b/mods/d2k/maps/kanly.oramap differ diff --git a/mods/d2k/maps/mount-idaho/map.png b/mods/d2k/maps/mount-idaho/map.png new file mode 100644 index 0000000000..591eae15fc Binary files /dev/null and b/mods/d2k/maps/mount-idaho/map.png differ diff --git a/mods/d2k/maps/mount-idaho/map.yaml b/mods/d2k/maps/mount-idaho/map.yaml index c579883d02..df3b9ad6c7 100644 --- a/mods/d2k/maps/mount-idaho/map.yaml +++ b/mods/d2k/maps/mount-idaho/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: d2k @@ -82,24 +82,4 @@ Actors: Location: 71,13 Owner: Creeps -Smudges: - -Rules: - World: - WormManager: - Minimum: 1 - Maximum: 2 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/d2k/maps/mount-idaho/rules.yaml b/mods/d2k/maps/mount-idaho/rules.yaml new file mode 100644 index 0000000000..114a8bf4e9 --- /dev/null +++ b/mods/d2k/maps/mount-idaho/rules.yaml @@ -0,0 +1,4 @@ +World: + WormManager: + Minimum: 1 + Maximum: 2 diff --git a/mods/d2k/maps/oasis-conquest/map.png b/mods/d2k/maps/oasis-conquest/map.png new file mode 100644 index 0000000000..6d39a0fea1 Binary files /dev/null and b/mods/d2k/maps/oasis-conquest/map.png differ diff --git a/mods/d2k/maps/oasis-conquest/map.yaml b/mods/d2k/maps/oasis-conquest/map.yaml index 88ccc67f57..22bd499f04 100644 --- a/mods/d2k/maps/oasis-conquest/map.yaml +++ b/mods/d2k/maps/oasis-conquest/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: d2k @@ -147,24 +147,4 @@ Actors: Location: 16,81 Owner: Creeps -Smudges: - -Rules: - World: - WormManager: - Minimum: 3 - Maximum: 6 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/d2k/maps/oasis-conquest/rules.yaml b/mods/d2k/maps/oasis-conquest/rules.yaml new file mode 100644 index 0000000000..363d4add29 --- /dev/null +++ b/mods/d2k/maps/oasis-conquest/rules.yaml @@ -0,0 +1,4 @@ +World: + WormManager: + Minimum: 3 + Maximum: 6 diff --git a/mods/d2k/maps/pasty-mesa/map.png b/mods/d2k/maps/pasty-mesa/map.png new file mode 100644 index 0000000000..ac903a3906 Binary files /dev/null and b/mods/d2k/maps/pasty-mesa/map.png differ diff --git a/mods/d2k/maps/pasty-mesa/map.yaml b/mods/d2k/maps/pasty-mesa/map.yaml index 49da99556b..e063a384f8 100644 --- a/mods/d2k/maps/pasty-mesa/map.yaml +++ b/mods/d2k/maps/pasty-mesa/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: d2k @@ -79,24 +79,4 @@ Actors: Location: 4,4 Owner: Creeps -Smudges: - -Rules: - World: - WormManager: - Minimum: 1 - Maximum: 2 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/d2k/maps/pasty-mesa/rules.yaml b/mods/d2k/maps/pasty-mesa/rules.yaml new file mode 100644 index 0000000000..114a8bf4e9 --- /dev/null +++ b/mods/d2k/maps/pasty-mesa/rules.yaml @@ -0,0 +1,4 @@ +World: + WormManager: + Minimum: 1 + Maximum: 2 diff --git a/mods/d2k/maps/shellmap/map.png b/mods/d2k/maps/shellmap/map.png new file mode 100644 index 0000000000..9a5765a445 Binary files /dev/null and b/mods/d2k/maps/shellmap/map.png differ diff --git a/mods/d2k/maps/shellmap/map.yaml b/mods/d2k/maps/shellmap/map.yaml index 858efdc4bb..04f554dd2e 100644 --- a/mods/d2k/maps/shellmap/map.yaml +++ b/mods/d2k/maps/shellmap/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: d2k @@ -105,34 +105,4 @@ Actors: Location: 57,58 Owner: Atreides -Smudges: - -Rules: - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - ResourceType@Spice: - ValuePerUnit: 0 - WormManager: - Minimum: 1 - Maximum: 1 - MusicPlaylist: - BackgroundMusic: options - large_gun_turret: - Power: - Amount: 100 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/d2k/maps/shellmap/rules.yaml b/mods/d2k/maps/shellmap/rules.yaml new file mode 100644 index 0000000000..30eb3ece7e --- /dev/null +++ b/mods/d2k/maps/shellmap/rules.yaml @@ -0,0 +1,15 @@ +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + ResourceType@Spice: + ValuePerUnit: 0 + WormManager: + Minimum: 1 + Maximum: 1 + MusicPlaylist: + BackgroundMusic: options + +large_gun_turret: + Power: + Amount: 100 diff --git a/mods/d2k/maps/the-duell.oramap b/mods/d2k/maps/the-duell.oramap index a02a456fbb..701bb404e7 100644 Binary files a/mods/d2k/maps/the-duell.oramap and b/mods/d2k/maps/the-duell.oramap differ diff --git a/mods/d2k/maps/tucks-sietch.oramap b/mods/d2k/maps/tucks-sietch.oramap index e0df676bf3..03db55cdd3 100644 Binary files a/mods/d2k/maps/tucks-sietch.oramap and b/mods/d2k/maps/tucks-sietch.oramap differ diff --git a/mods/d2k/maps/venac-ditch.oramap b/mods/d2k/maps/venac-ditch.oramap index 8d55fe7336..127313e8fb 100644 Binary files a/mods/d2k/maps/venac-ditch.oramap and b/mods/d2k/maps/venac-ditch.oramap differ diff --git a/mods/d2k/maps/vladimirs-folly.oramap b/mods/d2k/maps/vladimirs-folly.oramap index b57bd3bba0..3391a6de37 100644 Binary files a/mods/d2k/maps/vladimirs-folly.oramap and b/mods/d2k/maps/vladimirs-folly.oramap differ diff --git a/mods/ra/maps/Sahara.oramap b/mods/ra/maps/Sahara.oramap index 86b8530e25..c818f7e0ff 100644 Binary files a/mods/ra/maps/Sahara.oramap and b/mods/ra/maps/Sahara.oramap differ diff --git a/mods/ra/maps/a-path-beyond.oramap b/mods/ra/maps/a-path-beyond.oramap index feaee12482..30969ee255 100644 Binary files a/mods/ra/maps/a-path-beyond.oramap and b/mods/ra/maps/a-path-beyond.oramap differ diff --git a/mods/ra/maps/alaska-anarchy-redux.oramap b/mods/ra/maps/alaska-anarchy-redux.oramap index e1ea7c5fc8..b78d31a6a6 100644 Binary files a/mods/ra/maps/alaska-anarchy-redux.oramap and b/mods/ra/maps/alaska-anarchy-redux.oramap differ diff --git a/mods/ra/maps/all-connected.oramap b/mods/ra/maps/all-connected.oramap index 850316b7b7..fbf536ea22 100644 Binary files a/mods/ra/maps/all-connected.oramap and b/mods/ra/maps/all-connected.oramap differ diff --git a/mods/ra/maps/allies-01/map.yaml b/mods/ra/maps/allies-01/map.yaml index b88288f2a3..11409fb653 100644 --- a/mods/ra/maps/allies-01/map.yaml +++ b/mods/ra/maps/allies-01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@USSR: Name: USSR @@ -444,140 +446,6 @@ Actors: Location: 68,76 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies01.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Rescue Einstein from the Headquarters inside this Soviet complex.\n\nOnce found, evacuate him via the helicopter at the signal flare.\n\nEinstein and Tanya must be kept alive at all costs.\n\nBeware the Soviet's Tesla Coils.\n\nDirect Tanya to destroy the westmost power plants to take them off-line. - BackgroundVideo: prolog.vqa - BriefingVideo: ally1.vqa - StartVideo: landing.vqa - WinVideo: snowbomb.vqa - LossVideo: bmap.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - TRAN.Extraction: - Inherits: TRAN - WithFacingSpriteBody: - RevealsShroud: - Range: 0c0 - RejectsOrders: - -Selectable: - Cargo: - Types: Einstein - MaxWeight: 1 - AutoSelectionSize: - RenderSprites: - Image: tran - TRAN.Insertion: - Inherits: TRAN.Extraction - WithFacingSpriteBody: - Cargo: - MaxWeight: 0 - AutoSelectionSize: - RenderSprites: - Image: tran - EINSTEIN: - Passenger: - CargoType: Einstein - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^CivInfantry: - RevealsShroud: - Range: 0c0 - C8: - Inherits@2: ^ArmedCivilian - AutoTarget: - JEEP: - Cargo: - Types: Infantry, Einstein - E7: - AutoTarget: - EnableStances: false - -AttackMove: - TSLA: - Power: - Amount: -150 - -Sequences: - -VoxelSequences: - -Weapons: - 8Inch: - Range: 25c0 - M60mg: - Range: 5c0 - ReloadDelay: 20 - Burst: 1 - Warhead: SpreadDamage - Damage: 20 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/allies-01/rules.yaml b/mods/ra/maps/allies-01/rules.yaml new file mode 100644 index 0000000000..f5780b550a --- /dev/null +++ b/mods/ra/maps/allies-01/rules.yaml @@ -0,0 +1,130 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies01.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Rescue Einstein from the Headquarters inside this Soviet complex.\n\nOnce found, evacuate him via the helicopter at the signal flare.\n\nEinstein and Tanya must be kept alive at all costs.\n\nBeware the Soviet's Tesla Coils.\n\nDirect Tanya to destroy the westmost power plants to take them off-line. + BackgroundVideo: prolog.vqa + BriefingVideo: ally1.vqa + StartVideo: landing.vqa + WinVideo: snowbomb.vqa + LossVideo: bmap.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + +TRAN.Extraction: + Inherits: TRAN + WithFacingSpriteBody: + RevealsShroud: + Range: 0c0 + RejectsOrders: + -Selectable: + Cargo: + Types: Einstein + MaxWeight: 1 + AutoSelectionSize: + RenderSprites: + Image: tran + +TRAN.Insertion: + Inherits: TRAN.Extraction + WithFacingSpriteBody: + Cargo: + MaxWeight: 0 + AutoSelectionSize: + RenderSprites: + Image: tran + +EINSTEIN: + Passenger: + CargoType: Einstein + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^CivInfantry: + RevealsShroud: + Range: 0c0 + +C8: + Inherits@2: ^ArmedCivilian + AutoTarget: + +JEEP: + Cargo: + Types: Infantry, Einstein + +E7: + AutoTarget: + EnableStances: false + -AttackMove: + +TSLA: + Power: + Amount: -150 diff --git a/mods/ra/maps/allies-01/weapons.yaml b/mods/ra/maps/allies-01/weapons.yaml new file mode 100644 index 0000000000..3f94399b36 --- /dev/null +++ b/mods/ra/maps/allies-01/weapons.yaml @@ -0,0 +1,10 @@ +8Inch: + Range: 25c0 + +M60mg: + Range: 5c0 + ReloadDelay: 20 + Burst: 1 + Warhead: SpreadDamage + Damage: 20 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath diff --git a/mods/ra/maps/allies-02/map.yaml b/mods/ra/maps/allies-02/map.yaml index 90d3eff867..2ede4354f2 100644 --- a/mods/ra/maps/allies-02/map.yaml +++ b/mods/ra/maps/allies-02/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@USSR: Name: USSR @@ -670,182 +672,6 @@ Actors: Location: 89,51 Owner: Neutral -Smudges: - cr1 60,79 0: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5700 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies02.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: A critical supply convoy is due through this area in 10 minutes, but Soviet forces have blocked the road in several places.\n\nUnless you can clear them out, those supplies will never make it to the front.\n\nThe convoy will come from the northwest, and time is short so work quickly. - BriefingVideo: ally2.vqa - StartVideo: mcv.vqa - WinVideo: montpass.vqa - LossVideo: frozen.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard, Real tough guy - ShortGameLocked: True - ShortGameEnabled: False - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - HARV: - Buildable: - Prerequisites: weap - APWR: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - ATEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - HBOX: - Buildable: - Prerequisites: ~disabled - PBOX: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - E7: - Buildable: - Prerequisites: ~disabled - FACF: - Buildable: - Prerequisites: ~disabled - WEAF: - Buildable: - Prerequisites: ~disabled - SYRF: - Buildable: - Prerequisites: ~disabled - DOMF: - Buildable: - Prerequisites: ~disabled - ATEF: - Buildable: - Prerequisites: ~disabled - MSLF: - Buildable: - Prerequisites: ~disabled - PDOF: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - M60mg: - Range: 5c0 - ReloadDelay: 20 - Burst: 1 - Warhead: SpreadDamage - Damage: 20 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/allies-02/rules.yaml b/mods/ra/maps/allies-02/rules.yaml new file mode 100644 index 0000000000..8ee60af3fd --- /dev/null +++ b/mods/ra/maps/allies-02/rules.yaml @@ -0,0 +1,195 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5700 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies02.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: A critical supply convoy is due through this area in 10 minutes, but Soviet forces have blocked the road in several places.\n\nUnless you can clear them out, those supplies will never make it to the front.\n\nThe convoy will come from the northwest, and time is short so work quickly. + BriefingVideo: ally2.vqa + StartVideo: mcv.vqa + WinVideo: montpass.vqa + LossVideo: frozen.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard, Real tough guy + ShortGameLocked: True + ShortGameEnabled: False + SmudgeLayer@CRATER: + InitialSmudges: + 60,79: cr1,0 + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +HARV: + Buildable: + Prerequisites: weap + +APWR: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +ATEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +HBOX: + Buildable: + Prerequisites: ~disabled + +PBOX: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +E7: + Buildable: + Prerequisites: ~disabled + +FACF: + Buildable: + Prerequisites: ~disabled + +WEAF: + Buildable: + Prerequisites: ~disabled + +SYRF: + Buildable: + Prerequisites: ~disabled + +DOMF: + Buildable: + Prerequisites: ~disabled + +ATEF: + Buildable: + Prerequisites: ~disabled + +MSLF: + Buildable: + Prerequisites: ~disabled + +PDOF: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/allies-02/weapons.yaml b/mods/ra/maps/allies-02/weapons.yaml new file mode 100644 index 0000000000..d2b5afea76 --- /dev/null +++ b/mods/ra/maps/allies-02/weapons.yaml @@ -0,0 +1,7 @@ +M60mg: + Range: 5c0 + ReloadDelay: 20 + Burst: 1 + Warhead: SpreadDamage + Damage: 20 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath diff --git a/mods/ra/maps/allies-03a/map.yaml b/mods/ra/maps/allies-03a/map.yaml index 3e1f711078..ad4a7361b9 100644 --- a/mods/ra/maps/allies-03a/map.yaml +++ b/mods/ra/maps/allies-03a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1305,258 +1307,6 @@ Actors: Location: 59,72 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies03a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: LANDCOM 16 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A9\n\nINTELLIGENCE RECON SHOWS HEAVY\nSOVIET MOVEMENT IN YOUR AREA.\nNEARBY BRIDGES ARE KEY TO SOVIET\nADVANCEMENT. DESTROY ALL BRIDGES\nASAP. TANYA WILL ASSIST. KEEP HER\nALIVE AT ALL COSTS.\n\nCONFIRMATION CODE 1612.\n\nTRANSMISSION ENDS.\n - StartVideo: brdgtilt.vqa - WinVideo: toofar.vqa - LossVideo: sovtstar.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Capturable: - CaptureThreshold: 0.25 - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^TechBuilding: - Capturable: - Type: ~disabled - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - FCOM: - Tooltip: - ShowOwnerRow: false - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E2,E2 - HACKE6: - Inherits: E6 - -RepairsBridges: - -ExternalCaptures: - Captures: - CaptureTypes: building - Targetable: - UpgradeTypes: jail - UpgradeMaxEnabledLevel: 0 - Targetable@PRISONER: - TargetTypes: Prisoner - RenderSprites: - Image: E6 - MEDI: - Targetable: - UpgradeTypes: jail - UpgradeMaxEnabledLevel: 0 - Targetable@PRISONER: - TargetTypes: Prisoner - E7.noautotarget: - Inherits: E7 - AutoTarget: - EnableStances: false - -AttackMove: - RenderSprites: - Image: E7 - PRISON: - HiddenUnderShroud: - Type: CenterPosition - Immobile: - OccupiesSpace: false - UpgradeActorsNear: - Upgrades: jail - Range: 1c0 - CAMERA: - RevealsShroud: - Range: 8c7 - CAMERA.VeryLarge: - Inherits: CAMERA - RevealsShroud: - Range: 40c0 - MONEYCRATE: - Tooltip: - Name: Crate - WithCrateBody: - RenderSprites: - Image: scrate - E1.Autotarget: - Inherits: E1 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E1 - E2.Autotarget: - Inherits: E2 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E2 - DOG: - RevealsShroud: - Range: 9c0 - AutoTarget: - ScanRadius: 8 - DOME: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - V2RL: - Buildable: - Prerequisites: ~disabled - 2TNK: - Buildable: - Prerequisites: ~disabled - 3TNK: - Buildable: - Prerequisites: ~disabled - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - KENN: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - BarrelExplode: - Warhead@1Dam: - ValidTargets: Ground, Prisoner - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/allies-03a/rules.yaml b/mods/ra/maps/allies-03a/rules.yaml new file mode 100644 index 0000000000..8e2a2a0f3b --- /dev/null +++ b/mods/ra/maps/allies-03a/rules.yaml @@ -0,0 +1,286 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies03a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: LANDCOM 16 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A9\n\nINTELLIGENCE RECON SHOWS HEAVY\nSOVIET MOVEMENT IN YOUR AREA.\nNEARBY BRIDGES ARE KEY TO SOVIET\nADVANCEMENT. DESTROY ALL BRIDGES\nASAP. TANYA WILL ASSIST. KEEP HER\nALIVE AT ALL COSTS.\n\nCONFIRMATION CODE 1612.\n\nTRANSMISSION ENDS.\n + StartVideo: brdgtilt.vqa + WinVideo: toofar.vqa + LossVideo: sovtstar.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Capturable: + CaptureThreshold: 0.25 + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^TechBuilding: + Capturable: + Type: ~disabled + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +FCOM: + Tooltip: + ShowOwnerRow: false + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E2,E2 + +HACKE6: + Inherits: E6 + -RepairsBridges: + -ExternalCaptures: + Captures: + CaptureTypes: building + Targetable: + UpgradeTypes: jail + UpgradeMaxEnabledLevel: 0 + Targetable@PRISONER: + TargetTypes: Prisoner + RenderSprites: + Image: E6 + +MEDI: + Targetable: + UpgradeTypes: jail + UpgradeMaxEnabledLevel: 0 + Targetable@PRISONER: + TargetTypes: Prisoner + +E7.noautotarget: + Inherits: E7 + AutoTarget: + EnableStances: false + -AttackMove: + RenderSprites: + Image: E7 + +PRISON: + HiddenUnderShroud: + Type: CenterPosition + Immobile: + OccupiesSpace: false + UpgradeActorsNear: + Upgrades: jail + Range: 1c0 + +CAMERA: + RevealsShroud: + Range: 8c7 + +CAMERA.VeryLarge: + Inherits: CAMERA + RevealsShroud: + Range: 40c0 + +MONEYCRATE: + Tooltip: + Name: Crate + WithCrateBody: + RenderSprites: + Image: scrate + +E1.Autotarget: + Inherits: E1 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E1 + +E2.Autotarget: + Inherits: E2 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E2 + +DOG: + RevealsShroud: + Range: 9c0 + AutoTarget: + ScanRadius: 8 + +DOME: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +V2RL: + Buildable: + Prerequisites: ~disabled + +2TNK: + Buildable: + Prerequisites: ~disabled + +3TNK: + Buildable: + Prerequisites: ~disabled + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +KENN: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/allies-03a/weapons.yaml b/mods/ra/maps/allies-03a/weapons.yaml new file mode 100644 index 0000000000..a8004c0566 --- /dev/null +++ b/mods/ra/maps/allies-03a/weapons.yaml @@ -0,0 +1,3 @@ +BarrelExplode: + Warhead@1Dam: + ValidTargets: Ground, Prisoner diff --git a/mods/ra/maps/allies-03b/map.yaml b/mods/ra/maps/allies-03b/map.yaml index bebf9c3b25..098c3cc96a 100644 --- a/mods/ra/maps/allies-03b/map.yaml +++ b/mods/ra/maps/allies-03b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1200,249 +1202,6 @@ Actors: Location: 83,94 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies03b.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: LANDCOM 16 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A9\n\nINTELLIGENCE RECON SHOWS HEAVY\nSOVIET MOVEMENT IN YOUR AREA.\nNEARBY BRIDGES ARE KEY TO SOVIET\nADVANCEMENT. DESTROY ALL BRIDGES\nASAP. TANYA WILL ASSIST. KEEP HER\nALIVE AT ALL COSTS.\n\nCONFIRMATION CODE 1612.\n\nTRANSMISSION ENDS.\n - StartVideo: brdgtilt.vqa - WinVideo: toofar.vqa - LossVideo: sovtstar.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Capturable: - CaptureThreshold: 0.25 - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^TechBuilding: - Capturable: - Type: ~disabled - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - FCOM: - Tooltip: - ShowOwnerRow: false - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E2,E2 - HACKE6: - Inherits: E6 - -RepairsBridges: - -ExternalCaptures: - Captures: - CaptureTypes: building - WithInfantryBody: - Targetable: - UpgradeTypes: jail - UpgradeMaxEnabledLevel: 0 - Targetable@PRISONER: - TargetTypes: Prisoner - RenderSprites: - Image: E6 - MEDI: - Targetable: - UpgradeTypes: jail - UpgradeMaxEnabledLevel: 0 - Targetable@PRISONER: - TargetTypes: Prisoner - E7.noautotarget: - Inherits: E7 - AutoTarget: - EnableStances: false - -AttackMove: - RenderSprites: - Image: E7 - PRISON: - HiddenUnderShroud: - Type: CenterPosition - Immobile: - OccupiesSpace: false - UpgradeActorsNear: - Upgrades: jail - Range: 1c0 - CAMERA: - RevealsShroud: - Range: 8c5 - FTUR: - DetectCloaked: - Range: 0 - DOME: - DetectCloaked: - Range: 0 - CAMERA.VeryLarge: - Inherits: CAMERA - RevealsShroud: - Range: 40c0 - CAMERA.Jeep: - AlwaysVisible: - Mobile: - TerrainSpeeds: - RevealsShroud: - Range: 4c0 - ScriptTriggers: - MONEYCRATE: - Tooltip: - Name: Crate - WithCrateBody: - RenderSprites: - Image: scrate - E1.Autotarget: - Inherits: E1 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E1 - E2.Autotarget: - Inherits: E2 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E2 - DOG: - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 9c0 - AutoTarget: - ScanRadius: 8 - TRUK: - -Demolishable: - Armor: - Type: Truk - TRAN: - RejectsOrders: - -Selectable: - RevealsShroud: - Range: 0c0 - Cargo: - Types: ~disabled - Tooltip: - ShowOwnerRow: false - LST: - Tooltip: - ShowOwnerRow: false - JEEP.mission: - Inherits: JEEP - -Selectable: - -Demolishable: - -Huntable: - -Targetable: - -Armament: - -WithSpriteTurret: - -WithMuzzleOverlay: - Cargo: - Types: ~disabled - RevealsShroud: - Range: 0c0 - RenderSprites: - Image: JEEP - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SS: - Buildable: - Prerequisites: ~disabled - MSUB: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - Colt45: - Warhead@1Dam: SpreadDamage - Versus: - Truk: 50 - FireballLauncher: - Projectile: - High: True - BarrelExplode: - Warhead@1Dam: - ValidTargets: Ground, Prisoner - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/allies-03b/rules.yaml b/mods/ra/maps/allies-03b/rules.yaml new file mode 100644 index 0000000000..23e17388c3 --- /dev/null +++ b/mods/ra/maps/allies-03b/rules.yaml @@ -0,0 +1,256 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies03b.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: LANDCOM 16 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A9\n\nINTELLIGENCE RECON SHOWS HEAVY\nSOVIET MOVEMENT IN YOUR AREA.\nNEARBY BRIDGES ARE KEY TO SOVIET\nADVANCEMENT. DESTROY ALL BRIDGES\nASAP. TANYA WILL ASSIST. KEEP HER\nALIVE AT ALL COSTS.\n\nCONFIRMATION CODE 1612.\n\nTRANSMISSION ENDS.\n + StartVideo: brdgtilt.vqa + WinVideo: toofar.vqa + LossVideo: sovtstar.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Capturable: + CaptureThreshold: 0.25 + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^TechBuilding: + Capturable: + Type: ~disabled + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +FCOM: + Tooltip: + ShowOwnerRow: false + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E2,E2 + +HACKE6: + Inherits: E6 + -RepairsBridges: + -ExternalCaptures: + Captures: + CaptureTypes: building + WithInfantryBody: + Targetable: + UpgradeTypes: jail + UpgradeMaxEnabledLevel: 0 + Targetable@PRISONER: + TargetTypes: Prisoner + RenderSprites: + Image: E6 + +MEDI: + Targetable: + UpgradeTypes: jail + UpgradeMaxEnabledLevel: 0 + Targetable@PRISONER: + TargetTypes: Prisoner + +E7.noautotarget: + Inherits: E7 + AutoTarget: + EnableStances: false + -AttackMove: + RenderSprites: + Image: E7 + +PRISON: + HiddenUnderShroud: + Type: CenterPosition + Immobile: + OccupiesSpace: false + UpgradeActorsNear: + Upgrades: jail + Range: 1c0 + +CAMERA: + RevealsShroud: + Range: 8c5 + +FTUR: + DetectCloaked: + Range: 0 + +DOME: + DetectCloaked: + Range: 0 + +CAMERA.VeryLarge: + Inherits: CAMERA + RevealsShroud: + Range: 40c0 + +CAMERA.Jeep: + AlwaysVisible: + Mobile: + TerrainSpeeds: + RevealsShroud: + Range: 4c0 + ScriptTriggers: + +MONEYCRATE: + Tooltip: + Name: Crate + WithCrateBody: + RenderSprites: + Image: scrate + +E1.Autotarget: + Inherits: E1 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E1 + +E2.Autotarget: + Inherits: E2 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E2 + +DOG: + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 9c0 + AutoTarget: + ScanRadius: 8 + +TRUK: + -Demolishable: + Armor: + Type: Truk + +TRAN: + RejectsOrders: + -Selectable: + RevealsShroud: + Range: 0c0 + Cargo: + Types: ~disabled + Tooltip: + ShowOwnerRow: false + +LST: + Tooltip: + ShowOwnerRow: false + +JEEP.mission: + Inherits: JEEP + -Selectable: + -Demolishable: + -Huntable: + -Targetable: + -Armament: + -WithSpriteTurret: + -WithMuzzleOverlay: + Cargo: + Types: ~disabled + RevealsShroud: + Range: 0c0 + RenderSprites: + Image: JEEP + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SS: + Buildable: + Prerequisites: ~disabled + +MSUB: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/allies-03b/weapons.yaml b/mods/ra/maps/allies-03b/weapons.yaml new file mode 100644 index 0000000000..9306e53705 --- /dev/null +++ b/mods/ra/maps/allies-03b/weapons.yaml @@ -0,0 +1,12 @@ +Colt45: + Warhead@1Dam: SpreadDamage + Versus: + Truk: 50 + +FireballLauncher: + Projectile: + High: True + +BarrelExplode: + Warhead@1Dam: + ValidTargets: Ground, Prisoner diff --git a/mods/ra/maps/allies-05a/map.yaml b/mods/ra/maps/allies-05a/map.yaml index 10143d10c5..02b166391d 100644 --- a/mods/ra/maps/allies-05a/map.yaml +++ b/mods/ra/maps/allies-05a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1559,300 +1561,8 @@ Actors: Owner: Neutral Location: 63,63 -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: allies05a.lua, allies05a-AI.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Rescue Tanya.\n\nOnce disguised, your spy can move past any enemy unit, except dogs, without being detected. Direct him into the weapons factory located at a nearby Soviet Base where he will hijack a truck and free Tanya.\n\nWith Tanya's help, take out the air defenses on the island and a Chinook will arrive to rescue her.\n\nThen destroy all remaining Soviet buildings and units. - BriefingVideo: ally5.vqa - StartVideo: tanya1.vqa - WinVideo: tanya2.vqa - LossVideo: grvestne.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Medium - Difficulties: Easy, Normal, Hard, Real tough guy - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - Camera.Truk: - AlwaysVisible: - Mobile: - TerrainSpeeds: - RevealsShroud: - Range: 4c0 - ScriptTriggers: - FTUR: - DetectCloaked: - Range: 0 - TSLA: - DetectCloaked: - Range: 0 - Buildable: - Prerequisites: ~disabled - SAM: - DetectCloaked: - Range: 0 - Buildable: - Prerequisites: ~disabled - LST: - -Selectable: - Targetable: - TargetTypes: Ground, Water - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - LST.IN: - Inherits: LST - RenderSprites: - Image: LST - Cargo: - Types: disabled - TRAN: - -Selectable: - RevealsShroud: - Range: 4c0 - Tooltip: - ShowOwnerRow: false - Targetable@GROUND: - TargetTypes: Ground - TRAN.IN: - Inherits: TRAN - RenderSprites: - Image: TRAN - Cargo: - Types: disabled - FLARE: - Tooltip: - ShowOwnerRow: false - TRUK.mission: - Inherits: TRUK - Buildable: - Prerequisites: ~disabled - WithFacingSpriteBody: - -SpawnActorOnDeath: - -EjectOnDeath: - RenderSprites: - Image: TRUK - SPY: - Infiltrates: - Types: Mission Objectives - DisguiseToolTip: - ShowOwnerRow: false - WEAP: - -InfiltrateForSupportPower: - Targetable: - TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives - MISS: - Tooltip: - Name: Prison - ShowOwnerRow: False - Targetable: - TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives - E7.noautotarget: - Inherits: E7 - AutoTarget: - EnableStances: false - -AttackMove: - RenderSprites: - Image: E7 - Colt: - Inherits: ^Defense - AutoTargetIgnore: - Valued: - Cost: 800 - Building: - Footprint: _ x - Dimensions: 1,2 - Health: - HP: 400 - Armor: - Type: Heavy - RevealsShroud: - Range: 0c0 - Turreted: - TurnSpeed: 15 - InitialFacing: 224 - RenderSprites: - Image: AGUN - WithTurretedSpriteBody: - Armament: - Weapon: MissionColt - LocalOffset: 432,150,-30, 432,-150,-30 - AttackTurreted: - AutoTarget: - -Selectable: - -Huntable: - E1.Autotarget: - Inherits: E1 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E1 - E2.Autotarget: - Inherits: E2 - Buildable: - Prerequisites: ~disabled - RevealsShroud: - Range: 8c0 - AutoTarget: - ScanRadius: 7 - RenderSprites: - Image: E2 - AFLD: - AirstrikePower@spyplane: - Prerequisites: ~disabled - ParatroopersPower@paratroopers: - Prerequisites: ~disabled - FCOM: - MustBeDestroyed: - Tooltip: - ShowOwnerRow: false - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled +Weapons: weapons.yaml -Sequences: - -VoxelSequences: - -Weapons: - MissionColt: - ReloadDelay: 6 - Range: 7c0 - Report: gun5.aud - Projectile: Bullet - High: true - Speed: 1c682 - Warhead@1Dam: SpreadDamage - Spread: 42 - Damage: 50 - Versus: - None: 0 - Wood: 10 - Light: 0 - Heavy: 0 - Concrete: 0 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@2Eff: CreateEffect - Explosions: piffs - InvalidImpactTypes: Water - -Voices: - -Music: - -Notifications: - Sounds: - Notifications: - bombit: bombit1 - laugh: laugh1 - gotit: gotit1 - lefty: lefty1 - keepem: keepem1 - tuffguy: tuffguy1 - sking: sking1 - -Translations: +Notifications: notifications.yaml diff --git a/mods/ra/maps/allies-05a/notifications.yaml b/mods/ra/maps/allies-05a/notifications.yaml new file mode 100644 index 0000000000..6a7d9a5e79 --- /dev/null +++ b/mods/ra/maps/allies-05a/notifications.yaml @@ -0,0 +1,9 @@ +Sounds: + Notifications: + bombit: bombit1 + laugh: laugh1 + gotit: gotit1 + lefty: lefty1 + keepem: keepem1 + tuffguy: tuffguy1 + sking: sking1 \ No newline at end of file diff --git a/mods/ra/maps/allies-05a/rules.yaml b/mods/ra/maps/allies-05a/rules.yaml new file mode 100644 index 0000000000..949df73b74 --- /dev/null +++ b/mods/ra/maps/allies-05a/rules.yaml @@ -0,0 +1,294 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: allies05a.lua, allies05a-AI.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Rescue Tanya.\n\nOnce disguised, your spy can move past any enemy unit, except dogs, without being detected. Direct him into the weapons factory located at a nearby Soviet Base where he will hijack a truck and free Tanya.\n\nWith Tanya's help, take out the air defenses on the island and a Chinook will arrive to rescue her.\n\nThen destroy all remaining Soviet buildings and units. + BriefingVideo: ally5.vqa + StartVideo: tanya1.vqa + WinVideo: tanya2.vqa + LossVideo: grvestne.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Medium + Difficulties: Easy, Normal, Hard, Real tough guy + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +Camera.Truk: + AlwaysVisible: + Mobile: + TerrainSpeeds: + RevealsShroud: + Range: 4c0 + ScriptTriggers: + +FTUR: + DetectCloaked: + Range: 0 + +TSLA: + DetectCloaked: + Range: 0 + Buildable: + Prerequisites: ~disabled + +SAM: + DetectCloaked: + Range: 0 + Buildable: + Prerequisites: ~disabled + +LST: + -Selectable: + Targetable: + TargetTypes: Ground, Water + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +LST.IN: + Inherits: LST + RenderSprites: + Image: LST + Cargo: + Types: disabled + +TRAN: + -Selectable: + RevealsShroud: + Range: 4c0 + Tooltip: + ShowOwnerRow: false + Targetable@GROUND: + TargetTypes: Ground + +TRAN.IN: + Inherits: TRAN + RenderSprites: + Image: TRAN + Cargo: + Types: disabled + +FLARE: + Tooltip: + ShowOwnerRow: false + +TRUK.mission: + Inherits: TRUK + Buildable: + Prerequisites: ~disabled + WithFacingSpriteBody: + -SpawnActorOnDeath: + -EjectOnDeath: + RenderSprites: + Image: TRUK + +SPY: + Infiltrates: + Types: Mission Objectives + DisguiseToolTip: + ShowOwnerRow: false + +WEAP: + -InfiltrateForSupportPower: + Targetable: + TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives + +MISS: + Tooltip: + Name: Prison + ShowOwnerRow: False + Targetable: + TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives + +E7.noautotarget: + Inherits: E7 + AutoTarget: + EnableStances: false + -AttackMove: + RenderSprites: + Image: E7 + +Colt: + Inherits: ^Defense + AutoTargetIgnore: + Valued: + Cost: 800 + Building: + Footprint: _ x + Dimensions: 1,2 + Health: + HP: 400 + Armor: + Type: Heavy + RevealsShroud: + Range: 0c0 + Turreted: + TurnSpeed: 15 + InitialFacing: 224 + RenderSprites: + Image: AGUN + WithTurretedSpriteBody: + Armament: + Weapon: MissionColt + LocalOffset: 432,150,-30, 432,-150,-30 + AttackTurreted: + AutoTarget: + -Selectable: + -Huntable: + +E1.Autotarget: + Inherits: E1 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E1 + +E2.Autotarget: + Inherits: E2 + Buildable: + Prerequisites: ~disabled + RevealsShroud: + Range: 8c0 + AutoTarget: + ScanRadius: 7 + RenderSprites: + Image: E2 + +AFLD: + AirstrikePower@spyplane: + Prerequisites: ~disabled + ParatroopersPower@paratroopers: + Prerequisites: ~disabled + +FCOM: + MustBeDestroyed: + Tooltip: + ShowOwnerRow: false + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/allies-05a/weapons.yaml b/mods/ra/maps/allies-05a/weapons.yaml new file mode 100644 index 0000000000..9bbbfec9d0 --- /dev/null +++ b/mods/ra/maps/allies-05a/weapons.yaml @@ -0,0 +1,20 @@ +MissionColt: + ReloadDelay: 6 + Range: 7c0 + Report: gun5.aud + Projectile: Bullet + High: true + Speed: 1c682 + Warhead@1Dam: SpreadDamage + Spread: 42 + Damage: 50 + Versus: + None: 0 + Wood: 10 + Light: 0 + Heavy: 0 + Concrete: 0 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath + Warhead@2Eff: CreateEffect + Explosions: piffs + InvalidImpactTypes: Water diff --git a/mods/ra/maps/arctic-triangle-affair.oramap b/mods/ra/maps/arctic-triangle-affair.oramap index c2ee3ceb25..5c91e8fc7b 100644 Binary files a/mods/ra/maps/arctic-triangle-affair.oramap and b/mods/ra/maps/arctic-triangle-affair.oramap differ diff --git a/mods/ra/maps/asymmetric-battle.oramap b/mods/ra/maps/asymmetric-battle.oramap index 300e876980..a3336b0cbc 100644 Binary files a/mods/ra/maps/asymmetric-battle.oramap and b/mods/ra/maps/asymmetric-battle.oramap differ diff --git a/mods/ra/maps/bad-neighbors.oramap b/mods/ra/maps/bad-neighbors.oramap index a993924bd3..38f0844090 100644 Binary files a/mods/ra/maps/bad-neighbors.oramap and b/mods/ra/maps/bad-neighbors.oramap differ diff --git a/mods/ra/maps/barracuda.oramap b/mods/ra/maps/barracuda.oramap index 029f0e0482..a10b20cb60 100644 Binary files a/mods/ra/maps/barracuda.oramap and b/mods/ra/maps/barracuda.oramap differ diff --git a/mods/ra/maps/behind-the-veil.oramap b/mods/ra/maps/behind-the-veil.oramap index 93da8951da..b7bfedc6e3 100644 Binary files a/mods/ra/maps/behind-the-veil.oramap and b/mods/ra/maps/behind-the-veil.oramap differ diff --git a/mods/ra/maps/blitzkrieg.oramap b/mods/ra/maps/blitzkrieg.oramap index d9c480fba4..c16e9f0b66 100644 Binary files a/mods/ra/maps/blitzkrieg.oramap and b/mods/ra/maps/blitzkrieg.oramap differ diff --git a/mods/ra/maps/bloody-delta.oramap b/mods/ra/maps/bloody-delta.oramap index 307ec942cc..402dc17442 100644 Binary files a/mods/ra/maps/bloody-delta.oramap and b/mods/ra/maps/bloody-delta.oramap differ diff --git a/mods/ra/maps/bombardment-islands.oramap b/mods/ra/maps/bombardment-islands.oramap index 4b5a452eec..da82fcae87 100644 Binary files a/mods/ra/maps/bombardment-islands.oramap and b/mods/ra/maps/bombardment-islands.oramap differ diff --git a/mods/ra/maps/bomber-john/map.png b/mods/ra/maps/bomber-john/map.png new file mode 100644 index 0000000000..c01122ce62 Binary files /dev/null and b/mods/ra/maps/bomber-john/map.png differ diff --git a/mods/ra/maps/bomber-john/map.yaml b/mods/ra/maps/bomber-john/map.yaml index 389921b4f9..7789a3ccae 100644 --- a/mods/ra/maps/bomber-john/map.yaml +++ b/mods/ra/maps/bomber-john/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -752,227 +752,6 @@ Actors: Location: 27,18 Owner: Multi7 -Smudges: +Rules: rules.yaml -Rules: - World: - -CrateSpawner: - -SpawnMPUnits: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - BARR: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - POWR: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - PROC: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - SILO: - Buildable: - Prerequisites: ~disabled - Player: - ClassicProductionQueue@Building: - BuildSpeed: 0.4 - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 60 - MNLYR: - Inherits: ^Tank - Buildable: - Queue: Vehicle - BuildPaletteOrder: 30 - Prerequisites: fix - Valued: - Cost: 800 - Tooltip: - Name: Bomber - Description: Lays mines to destroy unwary enemy units.\n Unarmed - Health: - HP: 500 - Armor: - Type: Heavy - Mobile: - Speed: 128 - WaitAverage: 1 - WaitSpread: 1 - TurnSpeed: 900 - RevealsShroud: - Range: 40c0 - MustBeDestroyed: - RequiredForShortGame: true - Transforms: - IntoActor: ftur - Offset: 0,0 - Facing: 96 - CashTrickler: - Period: 150 - Amount: 20 - RenderSprites: - Image: MNLY - Chronoshiftable: - ReturnToOrigin: false - FTUR: - Health: - HP: 1000 - Transforms: - IntoActor: mnlyr - Offset: 0,0 - Facing: 96 - MustBeDestroyed: - RequiredForShortGame: true - CashTrickler: - Period: 150 - Amount: 30 - ChronoshiftPower: - Icon: chrono - ChargeTime: 60 - Description: Chronoshift - LongDesc: Teleport a group of vehicles across\nthe map. - SelectTargetSound: slcttgt1.aud - BeginChargeSound: chrochr1.aud - EndChargeSound: chrordy1.aud - Range: 3 - GrantUpgradePower@IRONCURTAIN: - Icon: invuln - ChargeTime: 30 - Description: Invulnerability - LongDesc: Makes a unit invulnerable\nfor 3 seconds. - Duration: 75 - SelectTargetSound: slcttgt1.aud - BeginChargeSound: ironchg1.aud - EndChargeSound: ironrdy1.aud - Range: 1 - Upgrades: invulnerability - GrantUpgradeSequence: idle - Power: - Amount: 0 - MINVV: - Inherits@1: ^SpriteActor - HiddenUnderFog: - Building: - Adjacent: 99 - TerrainTypes: Clear,Road - ProvidesPrerequisite: - Prerequisite: MNLYVV - Buildable: - Queue: Building - BuildPaletteOrder: 30 - Valued: - Cost: 30 - Health: - HP: 200 - RenderSprites: - Image: miner - WithSpriteBody: - Tooltip: - Name: Bomb - Description: Bomb (Hotkey B) - SelfHealing: - Step: -1 - Ticks: 1 - HealIfBelow: 101% - DamageCooldown: 0 - Explodes: - Weapon: CrateNuke - EmptyWeapon: CrateNuke - T17: - Health: - HP: 999999999 - Building: - Adjacent: 99 - GivesBuildableArea: - Production: - Produces: Building - BaseBuilding: - Tooltip: - Name: Tree - ChronoshiftPower: - Icon: chrono - ChargeTime: 60 - Description: Chronoshift - LongDesc: Teleport a group of vehicles across\nthe map. - SelectTargetSound: slcttgt1.aud - BeginChargeSound: chrochr1.aud - EndChargeSound: chrordy1.aud - Duration: 999999 - KillCargo: yes - Range: 3 - GrantUpgradePower@IRONCURTAIN: - Icon: invuln - ChargeTime: 30 - Description: Invulnerability - LongDesc: Makes a unit invulnerable\nfor 3 seconds. - Duration: 75 - SelectTargetSound: slcttgt1.aud - BeginChargeSound: ironchg1.aud - EndChargeSound: ironrdy1.aud - Range: 1 - Upgrades: invulnerability - GrantUpgradeSequence: idle - -Sequences: - miner: - idle: - Start: 0 - Length: 1 - ZOffset: -512 - damaged-idle: - Start: 1 - Length: * - ZOffset: -512 - damaged-build: - Start: 1 - Length: * - ZOffset: -512 - icon: jmin - Start: 0 - mnlyr: - icon: mnlyicon - brick: - idle: - Start: 0 - Length: * - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Sequences: sequences.yaml diff --git a/mods/ra/maps/bomber-john/rules.yaml b/mods/ra/maps/bomber-john/rules.yaml new file mode 100644 index 0000000000..26d240969d --- /dev/null +++ b/mods/ra/maps/bomber-john/rules.yaml @@ -0,0 +1,202 @@ +World: + -CrateSpawner: + -SpawnMPUnits: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +BARR: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +POWR: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +PROC: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +SILO: + Buildable: + Prerequisites: ~disabled + +Player: + ClassicProductionQueue@Building: + BuildSpeed: 0.4 + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 60 + +MNLYR: + Inherits: ^Tank + Buildable: + Queue: Vehicle + BuildPaletteOrder: 30 + Prerequisites: fix + Valued: + Cost: 800 + Tooltip: + Name: Bomber + Description: Lays mines to destroy unwary enemy units.\n Unarmed + Health: + HP: 500 + Armor: + Type: Heavy + Mobile: + Speed: 128 + WaitAverage: 1 + WaitSpread: 1 + TurnSpeed: 900 + RevealsShroud: + Range: 40c0 + MustBeDestroyed: + RequiredForShortGame: true + Transforms: + IntoActor: ftur + Offset: 0,0 + Facing: 96 + CashTrickler: + Period: 150 + Amount: 20 + RenderSprites: + Image: MNLY + Chronoshiftable: + ReturnToOrigin: false + +FTUR: + Health: + HP: 1000 + Transforms: + IntoActor: mnlyr + Offset: 0,0 + Facing: 96 + MustBeDestroyed: + RequiredForShortGame: true + CashTrickler: + Period: 150 + Amount: 30 + ChronoshiftPower: + Icon: chrono + ChargeTime: 60 + Description: Chronoshift + LongDesc: Teleport a group of vehicles across\nthe map. + SelectTargetSound: slcttgt1.aud + BeginChargeSound: chrochr1.aud + EndChargeSound: chrordy1.aud + Range: 3 + GrantUpgradePower@IRONCURTAIN: + Icon: invuln + ChargeTime: 30 + Description: Invulnerability + LongDesc: Makes a unit invulnerable\nfor 3 seconds. + Duration: 75 + SelectTargetSound: slcttgt1.aud + BeginChargeSound: ironchg1.aud + EndChargeSound: ironrdy1.aud + Range: 1 + Upgrades: invulnerability + GrantUpgradeSequence: idle + Power: + Amount: 0 + +MINVV: + Inherits@1: ^SpriteActor + HiddenUnderFog: + Building: + Adjacent: 99 + TerrainTypes: Clear,Road + ProvidesPrerequisite: + Prerequisite: MNLYVV + Buildable: + Queue: Building + BuildPaletteOrder: 30 + Valued: + Cost: 30 + Health: + HP: 200 + RenderSprites: + Image: miner + WithSpriteBody: + Tooltip: + Name: Bomb + Description: Bomb (Hotkey B) + SelfHealing: + Step: -1 + Ticks: 1 + HealIfBelow: 101% + DamageCooldown: 0 + Explodes: + Weapon: CrateNuke + EmptyWeapon: CrateNuke + +T17: + Health: + HP: 999999999 + Building: + Adjacent: 99 + GivesBuildableArea: + Production: + Produces: Building + BaseBuilding: + Tooltip: + Name: Tree + ChronoshiftPower: + Icon: chrono + ChargeTime: 60 + Description: Chronoshift + LongDesc: Teleport a group of vehicles across\nthe map. + SelectTargetSound: slcttgt1.aud + BeginChargeSound: chrochr1.aud + EndChargeSound: chrordy1.aud + Duration: 999999 + KillCargo: yes + Range: 3 + GrantUpgradePower@IRONCURTAIN: + Icon: invuln + ChargeTime: 30 + Description: Invulnerability + LongDesc: Makes a unit invulnerable\nfor 3 seconds. + Duration: 75 + SelectTargetSound: slcttgt1.aud + BeginChargeSound: ironchg1.aud + EndChargeSound: ironrdy1.aud + Range: 1 + Upgrades: invulnerability + GrantUpgradeSequence: idle diff --git a/mods/ra/maps/bomber-john/sequences.yaml b/mods/ra/maps/bomber-john/sequences.yaml new file mode 100644 index 0000000000..f3180460d3 --- /dev/null +++ b/mods/ra/maps/bomber-john/sequences.yaml @@ -0,0 +1,21 @@ +miner: + idle: + Start: 0 + Length: 1 + ZOffset: -512 + damaged-idle: + Start: 1 + Length: * + ZOffset: -512 + damaged-build: + Start: 1 + Length: * + ZOffset: -512 + icon: jmin + Start: 0 +mnlyr: + icon: mnlyicon +brick: + idle: + Start: 0 + Length: * \ No newline at end of file diff --git a/mods/ra/maps/breaking-point.oramap b/mods/ra/maps/breaking-point.oramap index f3f1eac20e..22d0d3f827 100644 Binary files a/mods/ra/maps/breaking-point.oramap and b/mods/ra/maps/breaking-point.oramap differ diff --git a/mods/ra/maps/burlesca/map.png b/mods/ra/maps/burlesca/map.png new file mode 100644 index 0000000000..023ee43b40 Binary files /dev/null and b/mods/ra/maps/burlesca/map.png differ diff --git a/mods/ra/maps/burlesca/map.yaml b/mods/ra/maps/burlesca/map.yaml index 39c179cb14..f93192d146 100644 --- a/mods/ra/maps/burlesca/map.yaml +++ b/mods/ra/maps/burlesca/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -209,21 +209,3 @@ Actors: Actor54: mine Location: 6,19 Owner: Neutral - -Smudges: - -Rules: - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: diff --git a/mods/ra/maps/calm-before-storm.oramap b/mods/ra/maps/calm-before-storm.oramap index 4aba20692c..e4665077cc 100644 Binary files a/mods/ra/maps/calm-before-storm.oramap and b/mods/ra/maps/calm-before-storm.oramap differ diff --git a/mods/ra/maps/center-of-attention-redux-2/map.png b/mods/ra/maps/center-of-attention-redux-2/map.png new file mode 100644 index 0000000000..ee2b7e5616 Binary files /dev/null and b/mods/ra/maps/center-of-attention-redux-2/map.png differ diff --git a/mods/ra/maps/center-of-attention-redux-2/map.yaml b/mods/ra/maps/center-of-attention-redux-2/map.yaml index e1bbb86568..4326c8a3c9 100644 --- a/mods/ra/maps/center-of-attention-redux-2/map.yaml +++ b/mods/ra/maps/center-of-attention-redux-2/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -880,32 +880,4 @@ Actors: Location: 121,96 Owner: Creeps -Smudges: - -Rules: - OILB.Strong: - Inherits: OILB - Health: - HP: 6000 - RenderSprites: - Image: OILB - OILB.Weak: - Inherits: OILB - Health: - HP: 900 - RenderSprites: - Image: OILB - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/center-of-attention-redux-2/rules.yaml b/mods/ra/maps/center-of-attention-redux-2/rules.yaml new file mode 100644 index 0000000000..21b5101701 --- /dev/null +++ b/mods/ra/maps/center-of-attention-redux-2/rules.yaml @@ -0,0 +1,13 @@ +OILB.Strong: + Inherits: OILB + Health: + HP: 6000 + RenderSprites: + Image: OILB + +OILB.Weak: + Inherits: OILB + Health: + HP: 900 + RenderSprites: + Image: OILB diff --git a/mods/ra/maps/central-conflict.oramap b/mods/ra/maps/central-conflict.oramap index e4cdb06c45..95e67142dc 100644 Binary files a/mods/ra/maps/central-conflict.oramap and b/mods/ra/maps/central-conflict.oramap differ diff --git a/mods/ra/maps/chaos-canyon.oramap b/mods/ra/maps/chaos-canyon.oramap index b78274c4df..c4e67507e3 100644 Binary files a/mods/ra/maps/chaos-canyon.oramap and b/mods/ra/maps/chaos-canyon.oramap differ diff --git a/mods/ra/maps/chokepoint.oramap b/mods/ra/maps/chokepoint.oramap index ed013b8edc..324a33fe7e 100644 Binary files a/mods/ra/maps/chokepoint.oramap and b/mods/ra/maps/chokepoint.oramap differ diff --git a/mods/ra/maps/coastal-influence.oramap b/mods/ra/maps/coastal-influence.oramap index 3bdba98e95..a790eae56d 100644 Binary files a/mods/ra/maps/coastal-influence.oramap and b/mods/ra/maps/coastal-influence.oramap differ diff --git a/mods/ra/maps/cold-front.oramap b/mods/ra/maps/cold-front.oramap index 2da20518ac..db66339d40 100644 Binary files a/mods/ra/maps/cold-front.oramap and b/mods/ra/maps/cold-front.oramap differ diff --git a/mods/ra/maps/contact.oramap b/mods/ra/maps/contact.oramap index bb0dbcaeec..7c775610b0 100644 Binary files a/mods/ra/maps/contact.oramap and b/mods/ra/maps/contact.oramap differ diff --git a/mods/ra/maps/desert-shellmap/map.png b/mods/ra/maps/desert-shellmap/map.png new file mode 100644 index 0000000000..023532849a Binary files /dev/null and b/mods/ra/maps/desert-shellmap/map.png differ diff --git a/mods/ra/maps/desert-shellmap/map.yaml b/mods/ra/maps/desert-shellmap/map.yaml index 809387e8e4..ac30bb76f4 100644 --- a/mods/ra/maps/desert-shellmap/map.yaml +++ b/mods/ra/maps/desert-shellmap/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -1240,123 +1240,6 @@ Actors: Location: 80,65 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - MusicPlaylist: - BackgroundMusic: intro - ResourceType@ore: - ValuePerUnit: 0 - LuaScript: - Scripts: desert-shellmap.lua - ScriptUpgradesCache: - Upgrades: unkillable - -StartGameNotification: - ^Vehicle: - GivesBounty: - Percentage: 0 - GainsExperience: - Upgrades: - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Tank: - GivesBounty: - Percentage: 0 - GainsExperience: - Upgrades: - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Infantry: - GivesBounty: - Percentage: 0 - GainsExperience: - Upgrades: - DeathSounds@NORMAL: - VolumeMultiplier: 0.1 - DeathSounds@BURNED: - VolumeMultiplier: 0.1 - DeathSounds@ZAPPED: - VolumeMultiplier: 0.1 - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Ship: - GivesBounty: - Percentage: 0 - GainsExperience: - Upgrades: - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Plane: - GivesBounty: - Percentage: 0 - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - ^Building: - GivesBounty: - Percentage: 0 - DamageMultiplier@UNKILLABLE: - UpgradeTypes: unkillable - Modifier: 0, 0 - OILB: - CashTrickler: - ShowTicks: false - TRAN.Husk2: - Burns: - Damage: 0 - MISS: - DamageMultiplier@INVULNERABLE: - Modifier: 0 - APC: - Cargo: - InitialUnits: e1, e1, e2, e3, e4 - Ant: - Buildable: - Prerequisites: barr - Health: - HP: 200 - E7: - -AnnounceOnKill: - powerproxy.paratroopers: - AlwaysVisible: - ParatroopersPower: - DisplayBeacon: false - DropItems: E1,E1,E2,E3,E4 - powerproxy.parazombies: - AlwaysVisible: - ParatroopersPower: - DropItems: ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE - QuantizedFacings: 8 - DisplayBeacon: false - -Sequences: - -VoxelSequences: - -Weapons: - 8Inch: - Report: tank6.aud - 2Inch: - Range: 10c0 - TTankZap: - Range: 4c768 - FLAK-23-AG: - Range: 4c0 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/desert-shellmap/rules.yaml b/mods/ra/maps/desert-shellmap/rules.yaml new file mode 100644 index 0000000000..cca4d37d12 --- /dev/null +++ b/mods/ra/maps/desert-shellmap/rules.yaml @@ -0,0 +1,110 @@ +Player: + -ConquestVictoryConditions: + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + MusicPlaylist: + BackgroundMusic: intro + ResourceType@ore: + ValuePerUnit: 0 + LuaScript: + Scripts: desert-shellmap.lua + ScriptUpgradesCache: + Upgrades: unkillable + -StartGameNotification: + +^Vehicle: + GivesBounty: + Percentage: 0 + GainsExperience: + Upgrades: + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Tank: + GivesBounty: + Percentage: 0 + GainsExperience: + Upgrades: + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Infantry: + GivesBounty: + Percentage: 0 + GainsExperience: + Upgrades: + DeathSounds@NORMAL: + VolumeMultiplier: 0.1 + DeathSounds@BURNED: + VolumeMultiplier: 0.1 + DeathSounds@ZAPPED: + VolumeMultiplier: 0.1 + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Ship: + GivesBounty: + Percentage: 0 + GainsExperience: + Upgrades: + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Plane: + GivesBounty: + Percentage: 0 + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +^Building: + GivesBounty: + Percentage: 0 + DamageMultiplier@UNKILLABLE: + UpgradeTypes: unkillable + Modifier: 0, 0 + +OILB: + CashTrickler: + ShowTicks: false + +TRAN.Husk2: + Burns: + Damage: 0 + +MISS: + DamageMultiplier@INVULNERABLE: + Modifier: 0 + +APC: + Cargo: + InitialUnits: e1, e1, e2, e3, e4 + +Ant: + Buildable: + Prerequisites: barr + Health: + HP: 200 + +E7: + -AnnounceOnKill: + +powerproxy.paratroopers: + AlwaysVisible: + ParatroopersPower: + DisplayBeacon: false + DropItems: E1,E1,E2,E3,E4 + +powerproxy.parazombies: + AlwaysVisible: + ParatroopersPower: + DropItems: ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE,ZOMBIE + QuantizedFacings: 8 + DisplayBeacon: false diff --git a/mods/ra/maps/desert-shellmap/weapons.yaml b/mods/ra/maps/desert-shellmap/weapons.yaml new file mode 100644 index 0000000000..a62a510484 --- /dev/null +++ b/mods/ra/maps/desert-shellmap/weapons.yaml @@ -0,0 +1,11 @@ +8Inch: + Report: tank6.aud + +2Inch: + Range: 10c0 + +TTankZap: + Range: 4c768 + +FLAK-23-AG: + Range: 4c0 diff --git a/mods/ra/maps/doubles.oramap b/mods/ra/maps/doubles.oramap index c99a73a7b5..4896efeb74 100644 Binary files a/mods/ra/maps/doubles.oramap and b/mods/ra/maps/doubles.oramap differ diff --git a/mods/ra/maps/doughnut.oramap b/mods/ra/maps/doughnut.oramap index c0140c3042..4243577687 100644 Binary files a/mods/ra/maps/doughnut.oramap and b/mods/ra/maps/doughnut.oramap differ diff --git a/mods/ra/maps/drop-zone-battle-of-tikiaki/map.png b/mods/ra/maps/drop-zone-battle-of-tikiaki/map.png new file mode 100644 index 0000000000..bebcde5904 Binary files /dev/null and b/mods/ra/maps/drop-zone-battle-of-tikiaki/map.png differ diff --git a/mods/ra/maps/drop-zone-battle-of-tikiaki/map.yaml b/mods/ra/maps/drop-zone-battle-of-tikiaki/map.yaml index 51b921d36c..33d852ff49 100644 --- a/mods/ra/maps/drop-zone-battle-of-tikiaki/map.yaml +++ b/mods/ra/maps/drop-zone-battle-of-tikiaki/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -274,102 +274,6 @@ Actors: Location: 41,17 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - World: - CrateSpawner: - Maximum: 3 - SpawnInterval: 125 - CrateActors: unitcrate - InitialSpawnDelay: 0 - -SpawnMPUnits: - -MPStartLocations: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - UNITCRATE: - Inherits: ^Crate - GiveUnitCrateAction@ttnk: - SelectionShares: 4 - Units: ttnk - GiveUnitCrateAction@ftrk: - SelectionShares: 6 - Units: ftrk - GiveUnitCrateAction@harv: - SelectionShares: 1 - Units: harv - GiveUnitCrateAction@shok: - SelectionShares: 1 - Units: shok - GiveUnitCrateAction@dog: - SelectionShares: 1 - Units: dog - Crate: - TerrainTypes: Clear, Road, Ore, Beach - ^Infantry: - GivesBounty: - Percentage: 0 - ^Tank: - GivesBounty: - Percentage: 0 - ^Vehicle: - GivesBounty: - Percentage: 0 - APC: - Health: - HP: 1000 - MustBeDestroyed: - RequiredForShortGame: true - -AttackMove: - HARV: - Tooltip: - Name: Bomb Truck - Description: Explodes like a damn nuke! - Health: - HP: 100 - Explodes: - Weapon: CrateNuke - EmptyWeapon: CrateNuke - AttackSuicides: - SHOK: - Health: - HP: 800 - DOG: - Health: - HP: 120 - Mobile: - Speed: 99 - Player: - Shroud: - FogLocked: True - FogEnabled: False - ExploredMapLocked: True - ExploredMapEnabled: True - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - -Sequences: - -VoxelSequences: - -Weapons: - PortaTesla: - ReloadDelay: 20 - Range: 10c0 - Warhead: SpreadDamage - Spread: 42 - Damage: 80 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/drop-zone-battle-of-tikiaki/rules.yaml b/mods/ra/maps/drop-zone-battle-of-tikiaki/rules.yaml new file mode 100644 index 0000000000..b1b1ed224f --- /dev/null +++ b/mods/ra/maps/drop-zone-battle-of-tikiaki/rules.yaml @@ -0,0 +1,84 @@ +World: + CrateSpawner: + Maximum: 3 + SpawnInterval: 125 + CrateActors: unitcrate + InitialSpawnDelay: 0 + -SpawnMPUnits: + -MPStartLocations: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +UNITCRATE: + Inherits: ^Crate + GiveUnitCrateAction@ttnk: + SelectionShares: 4 + Units: ttnk + GiveUnitCrateAction@ftrk: + SelectionShares: 6 + Units: ftrk + GiveUnitCrateAction@harv: + SelectionShares: 1 + Units: harv + GiveUnitCrateAction@shok: + SelectionShares: 1 + Units: shok + GiveUnitCrateAction@dog: + SelectionShares: 1 + Units: dog + Crate: + TerrainTypes: Clear, Road, Ore, Beach + +^Infantry: + GivesBounty: + Percentage: 0 + +^Tank: + GivesBounty: + Percentage: 0 + +^Vehicle: + GivesBounty: + Percentage: 0 + +APC: + Health: + HP: 1000 + MustBeDestroyed: + RequiredForShortGame: true + -AttackMove: + +HARV: + Tooltip: + Name: Bomb Truck + Description: Explodes like a damn nuke! + Health: + HP: 100 + Explodes: + Weapon: CrateNuke + EmptyWeapon: CrateNuke + AttackSuicides: + +SHOK: + Health: + HP: 800 + +DOG: + Health: + HP: 120 + Mobile: + Speed: 99 + +Player: + Shroud: + FogLocked: True + FogEnabled: False + ExploredMapLocked: True + ExploredMapEnabled: True + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 diff --git a/mods/ra/maps/drop-zone-battle-of-tikiaki/weapons.yaml b/mods/ra/maps/drop-zone-battle-of-tikiaki/weapons.yaml new file mode 100644 index 0000000000..4cbbcc54f5 --- /dev/null +++ b/mods/ra/maps/drop-zone-battle-of-tikiaki/weapons.yaml @@ -0,0 +1,7 @@ +PortaTesla: + ReloadDelay: 20 + Range: 10c0 + Warhead: SpreadDamage + Spread: 42 + Damage: 80 + DamageTypes: Prone50Percent, TriggerProne, FireDeath diff --git a/mods/ra/maps/drop-zone-w/map.png b/mods/ra/maps/drop-zone-w/map.png new file mode 100644 index 0000000000..f8d6e03fe9 Binary files /dev/null and b/mods/ra/maps/drop-zone-w/map.png differ diff --git a/mods/ra/maps/drop-zone-w/map.yaml b/mods/ra/maps/drop-zone-w/map.yaml index 8708381323..4a1fda960d 100644 --- a/mods/ra/maps/drop-zone-w/map.yaml +++ b/mods/ra/maps/drop-zone-w/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -179,162 +179,8 @@ Actors: Location: 23,34 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - World: - CrateSpawner: - Maximum: 3 - SpawnInterval: 125 - WaterChance: 100 - CrateActors: unitcrate - InitialSpawnDelay: 0 - -SpawnMPUnits: - -MPStartLocations: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - UNITCRATE: - Inherits: ^Crate - GiveUnitCrateAction@pt: - SelectionShares: 7 - Units: pt - GiveUnitCrateAction@dd: - SelectionShares: 6 - Units: dd - GiveUnitCrateAction@ca: - SelectionShares: 4 - Units: ca - GiveUnitCrateAction@ss: - SelectionShares: 6 - Units: ss - GiveUnitCrateAction@msub: - SelectionShares: 4 - Units: msub - Crate: - TerrainTypes: Water - LST: - Tooltip: - Name: Naval Mobile HQ - Health: - HP: 1000 - Mobile: - Speed: 170 - Armament@PRIMARY: - Weapon: M60mg - Armament@SECONDARY: - Name: secondary - Weapon: M60mg - AttackFrontal: - WithMuzzleOverlay@PRIMARY: - WithMuzzleOverlay@SECONDARY: - Armament: secondary - MustBeDestroyed: - RequiredForShortGame: true - -GivesBounty: - PT: - -GivesBounty: - DD: - -GivesBounty: - CA: - -GivesBounty: - SS: - -GivesBounty: - MSUB: - -GivesBounty: - Player: - Shroud: - FogLocked: True - FogEnabled: False - ExploredMapLocked: True - ExploredMapEnabled: True - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 +Sequences: sequences.yaml -Sequences: - lst: - muzzle: minigun - Start: 0 - Length: 6 - Facings: 8 - turret: mgun - Start: 0 - Facings: 32 - -VoxelSequences: - -Weapons: - 8Inch: - ReloadDelay: 200 - Range: 32c0 - Burst: 4 - Report: turret1.aud - Projectile: Bullet - Speed: 546 - High: true - Angle: 62 - Inaccuracy: 3c341 - Image: 120MM - ContrailLength: 30 - Warhead: SpreadDamage - Spread: 128 - Versus: - None: 60 - Wood: 75 - Light: 60 - Heavy: 25 - Damage: 250 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@1Eff: CreateEffect - Explosions: large_explosion - ImpactSounds: kaboom12.aud - ValidImpactTypes: Ground - Warhead@2Eff: CreateEffect - Explosions: large_splash - ImpactSounds: splash9.aud - ValidImpactTypes: Water - Warhead@3Smu: LeaveSmudge - SmudgeType: Crater - SubMissile: - ReloadDelay: 250 - Range: 32c0 - Burst: 4 - Report: missile6.aud - Projectile: Bullet - Speed: 409 - High: true - Angle: 62 - Inaccuracy: 2c938 - Image: MISSILE - Trail: smokey - ContrailLength: 30 - Warhead: SpreadDamage - Spread: 426 - Versus: - None: 40 - Light: 30 - Heavy: 30 - Damage: 400 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@1Eff: CreateEffect - Explosions: large_explosion - ImpactSounds: kaboom12.aud - ValidImpactTypes: Ground - Warhead@2Eff: CreateEffect - Explosions: large_splash - ImpactSounds: splash9.aud - ValidImpactTypes: Water - Warhead@3Smu: LeaveSmudge - SmudgeType: Crater - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/drop-zone-w/rules.yaml b/mods/ra/maps/drop-zone-w/rules.yaml new file mode 100644 index 0000000000..8520cc3937 --- /dev/null +++ b/mods/ra/maps/drop-zone-w/rules.yaml @@ -0,0 +1,80 @@ +World: + CrateSpawner: + Maximum: 3 + SpawnInterval: 125 + WaterChance: 100 + CrateActors: unitcrate + InitialSpawnDelay: 0 + -SpawnMPUnits: + -MPStartLocations: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +UNITCRATE: + Inherits: ^Crate + GiveUnitCrateAction@pt: + SelectionShares: 7 + Units: pt + GiveUnitCrateAction@dd: + SelectionShares: 6 + Units: dd + GiveUnitCrateAction@ca: + SelectionShares: 4 + Units: ca + GiveUnitCrateAction@ss: + SelectionShares: 6 + Units: ss + GiveUnitCrateAction@msub: + SelectionShares: 4 + Units: msub + Crate: + TerrainTypes: Water + +LST: + Tooltip: + Name: Naval Mobile HQ + Health: + HP: 1000 + Mobile: + Speed: 170 + Armament@PRIMARY: + Weapon: M60mg + Armament@SECONDARY: + Name: secondary + Weapon: M60mg + AttackFrontal: + WithMuzzleOverlay@PRIMARY: + WithMuzzleOverlay@SECONDARY: + Armament: secondary + MustBeDestroyed: + RequiredForShortGame: true + -GivesBounty: + +PT: + -GivesBounty: + +DD: + -GivesBounty: + +CA: + -GivesBounty: + +SS: + -GivesBounty: + +MSUB: + -GivesBounty: + +Player: + Shroud: + FogLocked: True + FogEnabled: False + ExploredMapLocked: True + ExploredMapEnabled: True + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 diff --git a/mods/ra/maps/drop-zone-w/sequences.yaml b/mods/ra/maps/drop-zone-w/sequences.yaml new file mode 100644 index 0000000000..759fe863d4 --- /dev/null +++ b/mods/ra/maps/drop-zone-w/sequences.yaml @@ -0,0 +1,8 @@ +lst: + muzzle: minigun + Start: 0 + Length: 6 + Facings: 8 + turret: mgun + Start: 0 + Facings: 32 \ No newline at end of file diff --git a/mods/ra/maps/drop-zone-w/weapons.yaml b/mods/ra/maps/drop-zone-w/weapons.yaml new file mode 100644 index 0000000000..a4e8eb126a --- /dev/null +++ b/mods/ra/maps/drop-zone-w/weapons.yaml @@ -0,0 +1,63 @@ +8Inch: + ReloadDelay: 200 + Range: 32c0 + Burst: 4 + Report: turret1.aud + Projectile: Bullet + Speed: 546 + High: true + Angle: 62 + Inaccuracy: 3c341 + Image: 120MM + ContrailLength: 30 + Warhead: SpreadDamage + Spread: 128 + Versus: + None: 60 + Wood: 75 + Light: 60 + Heavy: 25 + Damage: 250 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath + Warhead@1Eff: CreateEffect + Explosions: large_explosion + ImpactSounds: kaboom12.aud + ValidImpactTypes: Ground + Warhead@2Eff: CreateEffect + Explosions: large_splash + ImpactSounds: splash9.aud + ValidImpactTypes: Water + Warhead@3Smu: LeaveSmudge + SmudgeType: Crater + +SubMissile: + ReloadDelay: 250 + Range: 32c0 + Burst: 4 + Report: missile6.aud + Projectile: Bullet + Speed: 409 + High: true + Angle: 62 + Inaccuracy: 2c938 + Image: MISSILE + Trail: smokey + ContrailLength: 30 + Warhead: SpreadDamage + Spread: 426 + Versus: + None: 40 + Light: 30 + Heavy: 30 + Damage: 400 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@1Eff: CreateEffect + Explosions: large_explosion + ImpactSounds: kaboom12.aud + ValidImpactTypes: Ground + Warhead@2Eff: CreateEffect + Explosions: large_splash + ImpactSounds: splash9.aud + ValidImpactTypes: Water + Warhead@3Smu: LeaveSmudge + SmudgeType: Crater diff --git a/mods/ra/maps/drop-zone/map.png b/mods/ra/maps/drop-zone/map.png new file mode 100644 index 0000000000..d20689283f Binary files /dev/null and b/mods/ra/maps/drop-zone/map.png differ diff --git a/mods/ra/maps/drop-zone/map.yaml b/mods/ra/maps/drop-zone/map.yaml index 8484845c5f..70247e6cd9 100644 --- a/mods/ra/maps/drop-zone/map.yaml +++ b/mods/ra/maps/drop-zone/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -169,102 +169,6 @@ Actors: Location: 30,29 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - World: - CrateSpawner: - Maximum: 3 - SpawnInterval: 125 - CrateActors: unitcrate - InitialSpawnDelay: 0 - -SpawnMPUnits: - -MPStartLocations: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - UNITCRATE: - Inherits: ^Crate - GiveUnitCrateAction@ttnk: - SelectionShares: 4 - Units: ttnk - GiveUnitCrateAction@ftrk: - SelectionShares: 6 - Units: ftrk - GiveUnitCrateAction@harv: - SelectionShares: 1 - Units: harv - GiveUnitCrateAction@shok: - SelectionShares: 1 - Units: shok - GiveUnitCrateAction@dog: - SelectionShares: 1 - Units: dog - Crate: - TerrainTypes: Clear, Road, Ore, Beach - ^Infantry: - GivesBounty: - Percentage: 0 - ^Tank: - GivesBounty: - Percentage: 0 - ^Vehicle: - GivesBounty: - Percentage: 0 - APC: - Health: - HP: 1000 - MustBeDestroyed: - RequiredForShortGame: true - -AttackMove: - HARV: - Tooltip: - Name: Bomb Truck - Description: Explodes like a damn nuke! - Health: - HP: 100 - Explodes: - Weapon: CrateNuke - EmptyWeapon: CrateNuke - AttackSuicides: - SHOK: - Health: - HP: 800 - DOG: - Health: - HP: 120 - Mobile: - Speed: 99 - Player: - Shroud: - FogLocked: True - FogEnabled: False - ExploredMapLocked: True - ExploredMapEnabled: True - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - -Sequences: - -VoxelSequences: - -Weapons: - PortaTesla: - ReloadDelay: 20 - Range: 10c0 - Warhead: SpreadDamage - Spread: 42 - Damage: 80 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/drop-zone/rules.yaml b/mods/ra/maps/drop-zone/rules.yaml new file mode 100644 index 0000000000..b1b1ed224f --- /dev/null +++ b/mods/ra/maps/drop-zone/rules.yaml @@ -0,0 +1,84 @@ +World: + CrateSpawner: + Maximum: 3 + SpawnInterval: 125 + CrateActors: unitcrate + InitialSpawnDelay: 0 + -SpawnMPUnits: + -MPStartLocations: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +UNITCRATE: + Inherits: ^Crate + GiveUnitCrateAction@ttnk: + SelectionShares: 4 + Units: ttnk + GiveUnitCrateAction@ftrk: + SelectionShares: 6 + Units: ftrk + GiveUnitCrateAction@harv: + SelectionShares: 1 + Units: harv + GiveUnitCrateAction@shok: + SelectionShares: 1 + Units: shok + GiveUnitCrateAction@dog: + SelectionShares: 1 + Units: dog + Crate: + TerrainTypes: Clear, Road, Ore, Beach + +^Infantry: + GivesBounty: + Percentage: 0 + +^Tank: + GivesBounty: + Percentage: 0 + +^Vehicle: + GivesBounty: + Percentage: 0 + +APC: + Health: + HP: 1000 + MustBeDestroyed: + RequiredForShortGame: true + -AttackMove: + +HARV: + Tooltip: + Name: Bomb Truck + Description: Explodes like a damn nuke! + Health: + HP: 100 + Explodes: + Weapon: CrateNuke + EmptyWeapon: CrateNuke + AttackSuicides: + +SHOK: + Health: + HP: 800 + +DOG: + Health: + HP: 120 + Mobile: + Speed: 99 + +Player: + Shroud: + FogLocked: True + FogEnabled: False + ExploredMapLocked: True + ExploredMapEnabled: True + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 diff --git a/mods/ra/maps/drop-zone/weapons.yaml b/mods/ra/maps/drop-zone/weapons.yaml new file mode 100644 index 0000000000..4cbbcc54f5 --- /dev/null +++ b/mods/ra/maps/drop-zone/weapons.yaml @@ -0,0 +1,7 @@ +PortaTesla: + ReloadDelay: 20 + Range: 10c0 + Warhead: SpreadDamage + Spread: 42 + Damage: 80 + DamageTypes: Prone50Percent, TriggerProne, FireDeath diff --git a/mods/ra/maps/east-vs-west.oramap b/mods/ra/maps/east-vs-west.oramap index 1afea2081b..5b38ba0739 100644 Binary files a/mods/ra/maps/east-vs-west.oramap and b/mods/ra/maps/east-vs-west.oramap differ diff --git a/mods/ra/maps/encounter.oramap b/mods/ra/maps/encounter.oramap index 8d7e31fcf6..4633bfeb95 100644 Binary files a/mods/ra/maps/encounter.oramap and b/mods/ra/maps/encounter.oramap differ diff --git a/mods/ra/maps/engagement.oramap b/mods/ra/maps/engagement.oramap index 29b4d47a94..14e9fdf27b 100644 Binary files a/mods/ra/maps/engagement.oramap and b/mods/ra/maps/engagement.oramap differ diff --git a/mods/ra/maps/equal-opportunity.oramap b/mods/ra/maps/equal-opportunity.oramap index bdeec4bb89..7aadcde5be 100644 Binary files a/mods/ra/maps/equal-opportunity.oramap and b/mods/ra/maps/equal-opportunity.oramap differ diff --git a/mods/ra/maps/first-come-first-served.oramap b/mods/ra/maps/first-come-first-served.oramap index 7d8f602522..59fba6095c 100644 Binary files a/mods/ra/maps/first-come-first-served.oramap and b/mods/ra/maps/first-come-first-served.oramap differ diff --git a/mods/ra/maps/forest-path.oramap b/mods/ra/maps/forest-path.oramap index 195523c0ed..eee3ad846d 100644 Binary files a/mods/ra/maps/forest-path.oramap and b/mods/ra/maps/forest-path.oramap differ diff --git a/mods/ra/maps/fort-lonestar/map.png b/mods/ra/maps/fort-lonestar/map.png new file mode 100644 index 0000000000..482d8c9632 Binary files /dev/null and b/mods/ra/maps/fort-lonestar/map.png differ diff --git a/mods/ra/maps/fort-lonestar/map.yaml b/mods/ra/maps/fort-lonestar/map.yaml index b1ab9388da..bafb55e3d5 100644 --- a/mods/ra/maps/fort-lonestar/map.yaml +++ b/mods/ra/maps/fort-lonestar/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -465,536 +465,8 @@ Actors: Location: 46,32 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - World: - CrateSpawner: - InitialSpawnDelay: 0 - Maximum: 4 - SpawnInterval: 1000 - CrateActors: fortcrate - MPStartUnits@mcvonly: - BaseActor: tent - WeatherOverlay: - WindTick: 150, 550 - UseSquares: false - ScatterDirection: 0, 0 - Gravity: 8.00, 12.00 - SwingOffset: 0, 0 - SwingSpeed: 0, 0 - SwingAmplitude: 0, 0 - ParticleColors: 304074, 28386C, 202C60, 182C54 - LineTailAlphaValue: 150 - ParticleSize: 1, 1 - GlobalLightingPaletteEffect: - Red: 0.75 - Green: 0.85 - Blue: 1.5 - Ambient: 0.35 - MusicPlaylist: - BackgroundMusic: rain - FlashPaletteEffect@LIGHTNINGSTRIKE: - Type: LightningStrike - LuaScript: - Scripts: fort-lonestar.lua - ScriptUpgradesCache: - Upgrades: invulnerability - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: True - SpawnMPUnits: - Locked: True - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - Difficulties: Hard (4P), Normal (3P), Easy (2P), Very Easy (1P), Real tough guy, Endless mode - ShortGameLocked: True - ShortGameEnabled: False - FORTCRATE: - Inherits: ^Crate - SupportPowerCrateAction@parabombs: - SelectionShares: 30 - Proxy: powerproxy.parabombs - Effect: parabombs - HealUnitsCrateAction: - SelectionShares: 30 - Notification: heal2.aud - Effect: heal - GiveCashCrateAction: - Amount: 400 - UseCashTick: true - SelectionShares: 30 - GiveUnitCrateAction@e7: - Units: e7 - SelectionShares: 10 - GrantUpgradeCrateAction@ironcurtain: - SelectionShares: 10 - Effect: invuln - Notification: ironcur9.aud - Upgrades: invulnerability - Duration: 1200 - ExplodeCrateAction@bigboom: - Weapon: SCUD - SelectionShares: 5 - GiveMcvCrateAction: - SelectionShares: 0 - NoBaseSelectionShares: 1000 - Units: mobiletent - ValidFactions: allies - Player: - ClassicProductionQueue@Infantry: - BuildSpeed: 1 - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 50 - ^Infantry: - Inherits@IC: ^IronCurtainable - ^Husk: - TransformOnCapture: - ForceHealthPercentage: 80 - OILB: - Health: - HP: 3000 - Armor: - Type: Wood - Bib: - RevealsShroud: - Range: 3c0 - CashTrickler: - Period: 250 - Amount: 50 - MOBILETENT: - Inherits: ^Vehicle - Valued: - Cost: 2000 - Tooltip: - Name: Mobile Tent - Selectable: - Priority: 4 - SelectionDecorations: - VisualBounds: 21,21 - Health: - HP: 600 - Armor: - Type: Light - Mobile: - Speed: 85 - Crushes: wall, mine, crate, infantry - RevealsShroud: - Range: 4c0 - MustBeDestroyed: - RequiredForShortGame: true - BaseBuilding: - Transforms: - IntoActor: tent - Offset: 0,0 - Facing: 96 - TransformSounds: placbldg.aud, build5.aud - NoTransformNotification: BuildingCannotPlaceAudio - RenderSprites: - Image: TRUK - TENT: - Health: - HP: 1000 - Production: - Produces: Infantry, Soldier, Dog, Defense - -Sellable: - BaseProvider: - Range: 12c0 - Power: - Amount: 0 - ProductionBar@Defense: - ProductionType: Defense - Color: 8A8A8A - BaseBuilding: - FTUR: - Buildable: - Prerequisites: barracks - Valued: - Cost: 400 - Power: - Amount: 0 - GivesBuildableArea: - PBOX: - Buildable: - Prerequisites: barracks - Valued: - Cost: 400 - Health: - HP: 200 - Armor: - Type: Heavy - Power: - Amount: 0 - GivesBuildableArea: - DOG: - Buildable: - Prerequisites: barracks - Valued: - Cost: 20 - E1: - Buildable: - Prerequisites: barracks - Valued: - Cost: 20 - E2: - Buildable: - Prerequisites: barracks - Valued: - Cost: 40 - Explodes: - Chance: 20 - E3: - Buildable: - Prerequisites: barracks - Valued: - Cost: 60 - E4: - Buildable: - Prerequisites: barracks - Valued: - Cost: 100 - E6: - Buildable: - Prerequisites: barracks - Valued: - Cost: 100 - E7: - Buildable: - Prerequisites: barracks - Valued: - Cost: 750 - 3TNK: - Inherits: ^Tank - Armament: - Weapon: TankNapalm - Recoil: 200 - RecoilRecovery: 38 - MEDI: - Buildable: - Prerequisites: barracks - Valued: - Cost: 100 - SHOK: - Buildable: - Prerequisites: barracks - Valued: - Cost: 150 - SNIPER: - Valued: - Cost: 200 - Buildable: - Prerequisites: barracks - Health: - HP: 200 - SNIPER.soviets: - Inherits: SNIPER - Buildable: - Prerequisites: ~disabled - MustBeDestroyed: - Targetable: - TargetTypes: Disguise - AutoTarget: - InitialStanceAI: AttackAnything - RenderSprites: - Image: SNIPER - SPY: - Buildable: - BuildPaletteOrder: 60 - Prerequisites: barracks - Valued: - Cost: 300 - -MustBeDestroyed: - FTRK: - -Armament@AA: - -Armament@AG: - Armament: - Weapon: FLAK-23 - Recoil: 85 - LocalOffset: 512,0,192 - MuzzleSequence: muzzle - ARTY: - Inherits: ^Tank - Valued: - Cost: 600 - Health: - HP: 75 - RevealsShroud: - Range: 7c0 - V2RL: - Health: - HP: 100 - 4TNK: - Health: - HP: 2500 - Mobile: - Speed: 56 - RevealsShroud: - Range: 14c0 - Turreted: - TurnSpeed: 1 - Armament@PRIMARY: - Recoil: 8 - RecoilRecovery: 0c7 - Armament@SECONDARY: - Recoil: 2 - Explodes: - Weapon: napalm - EmptyWeapon: napalm - SelfHealing: - Step: 2 - Ticks: 1 - HealIfBelow: 40% - BADR.Bomber: - Health: - HP: 60 - Aircraft: - Speed: 280 - AmmoPool: - Ammo: 30 - Tooltip: - Name: Mig Bomber - SpawnActorOnDeath: - Actor: MIG.Husk - RenderSprites: - Image: mig - MECH: - Buildable: - Prerequisites: barracks - Valued: - Cost: 1500 - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E1,E2,E2 - SILO: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - HBOX: - Buildable: - Prerequisites: ~disabled - GUN: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - SBAG: - Buildable: - Prerequisites: ~disabled - FENC: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled +Weapons: weapons.yaml -Sequences: - -VoxelSequences: - -Weapons: - 120mm: - ReloadDelay: 150 - Range: 10c0 - Burst: 6 - Projectile: Bullet - Speed: 204 - Blockable: false - Inaccuracy: 1c682 - Image: 120MM - ContrailLength: 50 - Warhead@1Dam: SpreadDamage - Spread: 256 - Versus: - None: 75 - Concrete: 100 - Damage: 150 - Warhead@3Eff: CreateEffect - Explosions: self_destruct - MammothTusk: - ReloadDelay: 300 - Range: 10c0 - ValidTargets: Ground, Air - Projectile: Missile - Blockable: false - Speed: 128 - TrailImage: smokey - ContrailLength: 150 - Inaccuracy: 0c853 - ROT: 10 - RangeLimit: 80 - Warhead@1Dam: SpreadDamage - Spread: 640 - ValidTargets: Ground, Air - Versus: - None: 125 - Wood: 110 - Light: 110 - Heavy: 100 - Concrete: 200 - Damage: 250 - Warhead@3Eff: CreateEffect - Explosions: nuke - TankNapalm: - ReloadDelay: 40 - Range: 8c0 - Report: aacanon3.aud - ValidTargets: Ground - Burst: 6 - BurstDelay: 1 - Projectile: Bullet - Speed: 426 - Image: 120MM - Inaccuracy: 2c512 - TrailImage: smokey - ContrailLength: 2 - Blockable: false - Warhead: SpreadDamage - Spread: 341 - ValidTargets: Ground - Versus: - None: 90 - Wood: 170 - Light: 100 - Heavy: 100 - Concrete: 100 - Damage: 15 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Warhead@3Eff: CreateEffect - Explosions: small_explosion - ImpactSounds: firebl3.aud - ParaBomb: - ReloadDelay: 5 - Range: 5c0 - Projectile: GravityBomb - Image: BOMBLET - OpenSequence: idle - Warhead@1Dam: SpreadDamage - Spread: 426 - Versus: - None: 125 - Wood: 100 - Light: 60 - Concrete: 25 - Damage: 200 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - 155mm: - ReloadDelay: 10 - Range: 7c5 - Burst: 20 - -Report: - Projectile: Bullet - Speed: 170 - TrailImage: fb4 - Image: fb3 - Blockable: false - Angle: 30 - Inaccuracy: 1c682 - ContrailLength: 2 - Warhead@1Dam: SpreadDamage - Versus: - None: 80 - Wood: 100 - Heavy: 75 - Concrete: 35 - Damage: 20 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - Warhead@3Eff: CreateEffect - Explosions: small_napalm - ImpactSounds: firebl3.aud - FLAK-23: - ReloadDelay: 10 - Range: 8c0 - Report: aacanon3.aud - ValidTargets: Air, Ground - Projectile: Bullet - Speed: 1c682 - Blockable: false - Warhead: SpreadDamage - Spread: 213 - ValidTargets: Air, Ground - Versus: - None: 35 - Wood: 30 - Light: 30 - Heavy: 40 - Concrete: 30 - Damage: 25 - DamageTypes: Prone50Percent, TriggerProne, DefaultDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Warhead@3Eff: CreateEffect - Explosions: med_explosion - SCUD: - ReloadDelay: 280 - Range: 7c0 - Projectile: Bullet - Arm: 10 - TrailImage: smokey - Blockable: false - Inaccuracy: 0c426 - Angle: 216 - Warhead@1Dam: SpreadDamage - Spread: 853 - Falloff: 100, 37, 14, 5, 0 - Versus: - None: 100 - Wood: 90 - Light: 80 - Heavy: 70 - Damage: 500 - AffectsParent: true - Warhead@3Eff: CreateEffect - Explosions: nuke - ImpactSounds: kaboom1.aud - SilencedPPK: - Range: 25c0 - ValidTargets: Infantry, Tank, Vehicle, Husk - InvalidTargets: Water, Structure, Wall - Warhead@1Dam: SpreadDamage - ValidTargets: Infantry, Tank, Vehicle, Husk - Versus: - Heavy: 50 - -Voices: - -Music: - rain: Rain (ambient) - Hidden: true - -Notifications: - -Translations: +Music: music.yaml diff --git a/mods/ra/maps/fort-lonestar/music.yaml b/mods/ra/maps/fort-lonestar/music.yaml new file mode 100644 index 0000000000..71ace5638e --- /dev/null +++ b/mods/ra/maps/fort-lonestar/music.yaml @@ -0,0 +1,2 @@ +rain: Rain (ambient) + Hidden: true \ No newline at end of file diff --git a/mods/ra/maps/fort-lonestar/rules.yaml b/mods/ra/maps/fort-lonestar/rules.yaml new file mode 100644 index 0000000000..ca47cd8372 --- /dev/null +++ b/mods/ra/maps/fort-lonestar/rules.yaml @@ -0,0 +1,390 @@ +World: + CrateSpawner: + InitialSpawnDelay: 0 + Maximum: 4 + SpawnInterval: 1000 + CrateActors: fortcrate + MPStartUnits@mcvonly: + BaseActor: tent + WeatherOverlay: + WindTick: 150, 550 + UseSquares: false + ScatterDirection: 0, 0 + Gravity: 8.00, 12.00 + SwingOffset: 0, 0 + SwingSpeed: 0, 0 + SwingAmplitude: 0, 0 + ParticleColors: 304074, 28386C, 202C60, 182C54 + LineTailAlphaValue: 150 + ParticleSize: 1, 1 + GlobalLightingPaletteEffect: + Red: 0.75 + Green: 0.85 + Blue: 1.5 + Ambient: 0.35 + MusicPlaylist: + BackgroundMusic: rain + FlashPaletteEffect@LIGHTNINGSTRIKE: + Type: LightningStrike + LuaScript: + Scripts: fort-lonestar.lua + ScriptUpgradesCache: + Upgrades: invulnerability + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: True + SpawnMPUnits: + Locked: True + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + Difficulties: Hard (4P), Normal (3P), Easy (2P), Very Easy (1P), Real tough guy, Endless mode + ShortGameLocked: True + ShortGameEnabled: False + +FORTCRATE: + Inherits: ^Crate + SupportPowerCrateAction@parabombs: + SelectionShares: 30 + Proxy: powerproxy.parabombs + Effect: parabombs + HealUnitsCrateAction: + SelectionShares: 30 + Notification: heal2.aud + Effect: heal + GiveCashCrateAction: + Amount: 400 + UseCashTick: true + SelectionShares: 30 + GiveUnitCrateAction@e7: + Units: e7 + SelectionShares: 10 + GrantUpgradeCrateAction@ironcurtain: + SelectionShares: 10 + Effect: invuln + Notification: ironcur9.aud + Upgrades: invulnerability + Duration: 1200 + ExplodeCrateAction@bigboom: + Weapon: SCUD + SelectionShares: 5 + GiveMcvCrateAction: + SelectionShares: 0 + NoBaseSelectionShares: 1000 + Units: mobiletent + ValidFactions: allies + +Player: + ClassicProductionQueue@Infantry: + BuildSpeed: 1 + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 50 + +^Infantry: + Inherits@IC: ^IronCurtainable + +^Husk: + TransformOnCapture: + ForceHealthPercentage: 80 + +OILB: + Health: + HP: 3000 + Armor: + Type: Wood + Bib: + RevealsShroud: + Range: 3c0 + CashTrickler: + Period: 250 + Amount: 50 + +MOBILETENT: + Inherits: ^Vehicle + Valued: + Cost: 2000 + Tooltip: + Name: Mobile Tent + Selectable: + Priority: 4 + SelectionDecorations: + VisualBounds: 21,21 + Health: + HP: 600 + Armor: + Type: Light + Mobile: + Speed: 85 + Crushes: wall, mine, crate, infantry + RevealsShroud: + Range: 4c0 + MustBeDestroyed: + RequiredForShortGame: true + BaseBuilding: + Transforms: + IntoActor: tent + Offset: 0,0 + Facing: 96 + TransformSounds: placbldg.aud, build5.aud + NoTransformNotification: BuildingCannotPlaceAudio + RenderSprites: + Image: TRUK + +TENT: + Health: + HP: 1000 + Production: + Produces: Infantry, Soldier, Dog, Defense + -Sellable: + BaseProvider: + Range: 12c0 + Power: + Amount: 0 + ProductionBar@Defense: + ProductionType: Defense + Color: 8A8A8A + BaseBuilding: + +FTUR: + Buildable: + Prerequisites: barracks + Valued: + Cost: 400 + Power: + Amount: 0 + GivesBuildableArea: + +PBOX: + Buildable: + Prerequisites: barracks + Valued: + Cost: 400 + Health: + HP: 200 + Armor: + Type: Heavy + Power: + Amount: 0 + GivesBuildableArea: + +DOG: + Buildable: + Prerequisites: barracks + Valued: + Cost: 20 + +E1: + Buildable: + Prerequisites: barracks + Valued: + Cost: 20 + +E2: + Buildable: + Prerequisites: barracks + Valued: + Cost: 40 + Explodes: + Chance: 20 + +E3: + Buildable: + Prerequisites: barracks + Valued: + Cost: 60 + +E4: + Buildable: + Prerequisites: barracks + Valued: + Cost: 100 + +E6: + Buildable: + Prerequisites: barracks + Valued: + Cost: 100 + +E7: + Buildable: + Prerequisites: barracks + Valued: + Cost: 750 + +3TNK: + Inherits: ^Tank + Armament: + Weapon: TankNapalm + Recoil: 200 + RecoilRecovery: 38 + +MEDI: + Buildable: + Prerequisites: barracks + Valued: + Cost: 100 + +SHOK: + Buildable: + Prerequisites: barracks + Valued: + Cost: 150 + +SNIPER: + Valued: + Cost: 200 + Buildable: + Prerequisites: barracks + Health: + HP: 200 + +SNIPER.soviets: + Inherits: SNIPER + Buildable: + Prerequisites: ~disabled + MustBeDestroyed: + Targetable: + TargetTypes: Disguise + AutoTarget: + InitialStanceAI: AttackAnything + RenderSprites: + Image: SNIPER + +SPY: + Buildable: + BuildPaletteOrder: 60 + Prerequisites: barracks + Valued: + Cost: 300 + -MustBeDestroyed: + +FTRK: + -Armament@AA: + -Armament@AG: + Armament: + Weapon: FLAK-23 + Recoil: 85 + LocalOffset: 512,0,192 + MuzzleSequence: muzzle + +ARTY: + Inherits: ^Tank + Valued: + Cost: 600 + Health: + HP: 75 + RevealsShroud: + Range: 7c0 + +V2RL: + Health: + HP: 100 + +4TNK: + Health: + HP: 2500 + Mobile: + Speed: 56 + RevealsShroud: + Range: 14c0 + Turreted: + TurnSpeed: 1 + Armament@PRIMARY: + Recoil: 8 + RecoilRecovery: 0c7 + Armament@SECONDARY: + Recoil: 2 + Explodes: + Weapon: napalm + EmptyWeapon: napalm + SelfHealing: + Step: 2 + Ticks: 1 + HealIfBelow: 40% + +BADR.Bomber: + Health: + HP: 60 + Aircraft: + Speed: 280 + AmmoPool: + Ammo: 30 + Tooltip: + Name: Mig Bomber + SpawnActorOnDeath: + Actor: MIG.Husk + RenderSprites: + Image: mig + +MECH: + Buildable: + Prerequisites: barracks + Valued: + Cost: 1500 + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E1,E2,E2 + +SILO: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +HBOX: + Buildable: + Prerequisites: ~disabled + +GUN: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +SBAG: + Buildable: + Prerequisites: ~disabled + +FENC: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/fort-lonestar/weapons.yaml b/mods/ra/maps/fort-lonestar/weapons.yaml new file mode 100644 index 0000000000..5dfdaeceb0 --- /dev/null +++ b/mods/ra/maps/fort-lonestar/weapons.yaml @@ -0,0 +1,174 @@ +120mm: + ReloadDelay: 150 + Range: 10c0 + Burst: 6 + Projectile: Bullet + Speed: 204 + Blockable: false + Inaccuracy: 1c682 + Image: 120MM + ContrailLength: 50 + Warhead@1Dam: SpreadDamage + Spread: 256 + Versus: + None: 75 + Concrete: 100 + Damage: 150 + Warhead@3Eff: CreateEffect + Explosions: self_destruct + +MammothTusk: + ReloadDelay: 300 + Range: 10c0 + ValidTargets: Ground, Air + Projectile: Missile + Blockable: false + Speed: 128 + TrailImage: smokey + ContrailLength: 150 + Inaccuracy: 0c853 + ROT: 10 + RangeLimit: 80 + Warhead@1Dam: SpreadDamage + Spread: 640 + ValidTargets: Ground, Air + Versus: + None: 125 + Wood: 110 + Light: 110 + Heavy: 100 + Concrete: 200 + Damage: 250 + Warhead@3Eff: CreateEffect + Explosions: nuke + +TankNapalm: + ReloadDelay: 40 + Range: 8c0 + Report: aacanon3.aud + ValidTargets: Ground + Burst: 6 + BurstDelay: 1 + Projectile: Bullet + Speed: 426 + Image: 120MM + Inaccuracy: 2c512 + TrailImage: smokey + ContrailLength: 2 + Blockable: false + Warhead: SpreadDamage + Spread: 341 + ValidTargets: Ground + Versus: + None: 90 + Wood: 170 + Light: 100 + Heavy: 100 + Concrete: 100 + Damage: 15 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Warhead@3Eff: CreateEffect + Explosions: small_explosion + ImpactSounds: firebl3.aud + +ParaBomb: + ReloadDelay: 5 + Range: 5c0 + Projectile: GravityBomb + Image: BOMBLET + OpenSequence: idle + Warhead@1Dam: SpreadDamage + Spread: 426 + Versus: + None: 125 + Wood: 100 + Light: 60 + Concrete: 25 + Damage: 200 + DamageTypes: Prone50Percent, TriggerProne, FireDeath + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + +155mm: + ReloadDelay: 10 + Range: 7c5 + Burst: 20 + -Report: + Projectile: Bullet + Speed: 170 + TrailImage: fb4 + Image: fb3 + Blockable: false + Angle: 30 + Inaccuracy: 1c682 + ContrailLength: 2 + Warhead@1Dam: SpreadDamage + Versus: + None: 80 + Wood: 100 + Heavy: 75 + Concrete: 35 + Damage: 20 + DamageTypes: Prone50Percent, TriggerProne, FireDeath + Warhead@3Eff: CreateEffect + Explosions: small_napalm + ImpactSounds: firebl3.aud + +FLAK-23: + ReloadDelay: 10 + Range: 8c0 + Report: aacanon3.aud + ValidTargets: Air, Ground + Projectile: Bullet + Speed: 1c682 + Blockable: false + Warhead: SpreadDamage + Spread: 213 + ValidTargets: Air, Ground + Versus: + None: 35 + Wood: 30 + Light: 30 + Heavy: 40 + Concrete: 30 + Damage: 25 + DamageTypes: Prone50Percent, TriggerProne, DefaultDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Warhead@3Eff: CreateEffect + Explosions: med_explosion + +SCUD: + ReloadDelay: 280 + Range: 7c0 + Projectile: Bullet + Arm: 10 + TrailImage: smokey + Blockable: false + Inaccuracy: 0c426 + Angle: 216 + Warhead@1Dam: SpreadDamage + Spread: 853 + Falloff: 100, 37, 14, 5, 0 + Versus: + None: 100 + Wood: 90 + Light: 80 + Heavy: 70 + Damage: 500 + AffectsParent: true + Warhead@3Eff: CreateEffect + Explosions: nuke + ImpactSounds: kaboom1.aud + +SilencedPPK: + Range: 25c0 + ValidTargets: Infantry, Tank, Vehicle, Husk + InvalidTargets: Water, Structure, Wall + Warhead@1Dam: SpreadDamage + ValidTargets: Infantry, Tank, Vehicle, Husk + Versus: + Heavy: 50 diff --git a/mods/ra/maps/ghost-town.oramap b/mods/ra/maps/ghost-town.oramap index 3e9ab2c061..a45d71344e 100644 Binary files a/mods/ra/maps/ghost-town.oramap and b/mods/ra/maps/ghost-town.oramap differ diff --git a/mods/ra/maps/haos-ridges.oramap b/mods/ra/maps/haos-ridges.oramap index 3bf8c11fbe..e1d624288c 100644 Binary files a/mods/ra/maps/haos-ridges.oramap and b/mods/ra/maps/haos-ridges.oramap differ diff --git a/mods/ra/maps/high-and-low-extended.oramap b/mods/ra/maps/high-and-low-extended.oramap index cef56ce5f6..8c4596cde1 100644 Binary files a/mods/ra/maps/high-and-low-extended.oramap and b/mods/ra/maps/high-and-low-extended.oramap differ diff --git a/mods/ra/maps/high-and-low.oramap b/mods/ra/maps/high-and-low.oramap index eea1b8e44c..b219ed0e9e 100644 Binary files a/mods/ra/maps/high-and-low.oramap and b/mods/ra/maps/high-and-low.oramap differ diff --git a/mods/ra/maps/intervention/map.yaml b/mods/ra/maps/intervention/map.yaml index f144ec62d2..3bd78331ab 100644 --- a/mods/ra/maps/intervention/map.yaml +++ b/mods/ra/maps/intervention/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Mission +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -2197,229 +2199,6 @@ Actors: Location: 129,57 Owner: Soviets -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 2000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: intervention.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: The Soviet Air Force is flying air raids against a civilian village.\n\nWe have to do everything in our power to stop them!\n\nYour job is to establish a base on the mainland ASAP. We can prevent the village's destruction by capturing the enemy's Air Force Headquarters building. The enemy base is heavily guarded, though. You will not have enough time to build a force big enough to overpower the Soviet defences. You will have to find a way to sneak in!\n\nGood luck, Commander!\n - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Medium, Hard - ShortGameLocked: True - ShortGameEnabled: False - CAMERA: - RevealsShroud: - Range: 18c0 - MISS: - Tooltip: - Name: Soviet Air Force HQ - Capturable: - Type: building - AllowAllies: False - AllowNeutral: False - AllowEnemies: True - CaptureThreshold: 1.0 - E6.MOD: - Inherits: E6 - Buildable: - Prerequisites: ~barracks - Captures: - CaptureTypes: building - Sabotage: False - RenderSprites: - Image: e6 - E6: - Buildable: - Prerequisites: ~disabled - TENT: - Buildable: - Prerequisites: anypower, ~structures.allies, ~techlevel.infonly, mainland - DOME: - Buildable: - Prerequisites: proc, ~techlevel.medium, mainland - WEAP: - Buildable: - Prerequisites: proc, ~techlevel.low, mainland - ProvidesPrerequisite: - Prerequisite: givefix - MAINLAND: - AlwaysVisible: - Tooltip: - Name: Reach the mainland - ProvidesPrerequisite: - Prerequisite: mainland - HPAD: - ProvidesPrerequisite: - Prerequisite: givefix - FIX: - Buildable: - Prerequisites: givefix - GIVEFIX: - AlwaysVisible: - Tooltip: - Name: Weapons Factory or Helipad - MIG: - Buildable: - Prerequisites: ~afld - AmmoPool: - Ammo: 2 - HELI: - Buildable: - Prerequisites: ~hpad - Valued: - Cost: 1500 - SAM: - RevealsShroud: - Range: 7c0 - Power: - Amount: -5 - TSLA: - Power: - Amount: -50 - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ATEK: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E7: - Buildable: - Prerequisites: ~disabled - THF: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - 2TNK: - Buildable: - Prerequisites: ~disabled - ARTY: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - HIND: - Buildable: - Prerequisites: ~disabled - YAK: - Buildable: - Prerequisites: ~disabled - CA: - Buildable: - Prerequisites: ~disabled - DD: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - Nike: - Range: 9c0 - Maverick: - Warhead@1Dam: SpreadDamage - Damage: 175 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/intervention/rules.yaml b/mods/ra/maps/intervention/rules.yaml new file mode 100644 index 0000000000..7d9dce836b --- /dev/null +++ b/mods/ra/maps/intervention/rules.yaml @@ -0,0 +1,251 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 2000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: intervention.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: The Soviet Air Force is flying air raids against a civilian village.\n\nWe have to do everything in our power to stop them!\n\nYour job is to establish a base on the mainland ASAP. We can prevent the village's destruction by capturing the enemy's Air Force Headquarters building. The enemy base is heavily guarded, though. You will not have enough time to build a force big enough to overpower the Soviet defences. You will have to find a way to sneak in!\n\nGood luck, Commander!\n + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Medium, Hard + ShortGameLocked: True + ShortGameEnabled: False + +CAMERA: + RevealsShroud: + Range: 18c0 + +MISS: + Tooltip: + Name: Soviet Air Force HQ + Capturable: + Type: building + AllowAllies: False + AllowNeutral: False + AllowEnemies: True + CaptureThreshold: 1.0 + +E6.MOD: + Inherits: E6 + Buildable: + Prerequisites: ~barracks + Captures: + CaptureTypes: building + Sabotage: False + RenderSprites: + Image: e6 + +E6: + Buildable: + Prerequisites: ~disabled + +TENT: + Buildable: + Prerequisites: anypower, ~structures.allies, ~techlevel.infonly, mainland + +DOME: + Buildable: + Prerequisites: proc, ~techlevel.medium, mainland + +WEAP: + Buildable: + Prerequisites: proc, ~techlevel.low, mainland + ProvidesPrerequisite: + Prerequisite: givefix + +MAINLAND: + AlwaysVisible: + Tooltip: + Name: Reach the mainland + ProvidesPrerequisite: + Prerequisite: mainland + +HPAD: + ProvidesPrerequisite: + Prerequisite: givefix + +FIX: + Buildable: + Prerequisites: givefix + +GIVEFIX: + AlwaysVisible: + Tooltip: + Name: Weapons Factory or Helipad + +MIG: + Buildable: + Prerequisites: ~afld + AmmoPool: + Ammo: 2 + +HELI: + Buildable: + Prerequisites: ~hpad + Valued: + Cost: 1500 + +SAM: + RevealsShroud: + Range: 7c0 + Power: + Amount: -5 + +TSLA: + Power: + Amount: -50 + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +ATEK: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E7: + Buildable: + Prerequisites: ~disabled + +THF: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +2TNK: + Buildable: + Prerequisites: ~disabled + +ARTY: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +HIND: + Buildable: + Prerequisites: ~disabled + +YAK: + Buildable: + Prerequisites: ~disabled + +CA: + Buildable: + Prerequisites: ~disabled + +DD: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/intervention/weapons.yaml b/mods/ra/maps/intervention/weapons.yaml new file mode 100644 index 0000000000..00d8411987 --- /dev/null +++ b/mods/ra/maps/intervention/weapons.yaml @@ -0,0 +1,7 @@ +Nike: + Range: 9c0 + +Maverick: + Warhead@1Dam: SpreadDamage + Damage: 175 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath diff --git a/mods/ra/maps/island-hoppers.oramap b/mods/ra/maps/island-hoppers.oramap index 6251d9de46..5497a84ceb 100644 Binary files a/mods/ra/maps/island-hoppers.oramap and b/mods/ra/maps/island-hoppers.oramap differ diff --git a/mods/ra/maps/keep-off-the-grass-2.oramap b/mods/ra/maps/keep-off-the-grass-2.oramap index 00e8f84fbd..aaa2fb2bac 100644 Binary files a/mods/ra/maps/keep-off-the-grass-2.oramap and b/mods/ra/maps/keep-off-the-grass-2.oramap differ diff --git a/mods/ra/maps/koth-hopes-anchor/map.png b/mods/ra/maps/koth-hopes-anchor/map.png new file mode 100644 index 0000000000..fd59ff6a68 Binary files /dev/null and b/mods/ra/maps/koth-hopes-anchor/map.png differ diff --git a/mods/ra/maps/koth-hopes-anchor/map.yaml b/mods/ra/maps/koth-hopes-anchor/map.yaml index d2da4a6ba2..e0f5cf6bb5 100644 --- a/mods/ra/maps/koth-hopes-anchor/map.yaml +++ b/mods/ra/maps/koth-hopes-anchor/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -621,42 +621,4 @@ Actors: Location: 8,56 Owner: Neutral -Smudges: - -Rules: - MISS: - ProximityCapturable: - MustBeClear: true - Range: 9c0 - CaptorTypes: Ship,Vehicle,Tank,Infantry - StrategicPoint: - Critical: false - Tooltip: - Name: Strategic Point - RevealsShroud: - Range: 20c0 - DamageMultiplier@INVULNERABLE: - Modifier: 0 - -Selectable: - -Targetable: - Player: - StrategicVictoryConditions: - TicksToHold: 3000 - ResetOnHoldLost: true - RatioRequired: 0.65 - CriticalRatioRequired: 0.65 - -ConquestVictoryConditions: - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/koth-hopes-anchor/rules.yaml b/mods/ra/maps/koth-hopes-anchor/rules.yaml new file mode 100644 index 0000000000..82257f331c --- /dev/null +++ b/mods/ra/maps/koth-hopes-anchor/rules.yaml @@ -0,0 +1,23 @@ +MISS: + ProximityCapturable: + MustBeClear: true + Range: 9c0 + CaptorTypes: Ship,Vehicle,Tank,Infantry + StrategicPoint: + Critical: false + Tooltip: + Name: Strategic Point + RevealsShroud: + Range: 20c0 + DamageMultiplier@INVULNERABLE: + Modifier: 0 + -Selectable: + -Targetable: + +Player: + StrategicVictoryConditions: + TicksToHold: 3000 + ResetOnHoldLost: true + RatioRequired: 0.65 + CriticalRatioRequired: 0.65 + -ConquestVictoryConditions: diff --git a/mods/ra/maps/mad-science.oramap b/mods/ra/maps/mad-science.oramap index eeba94b843..4e6d9a75b5 100644 Binary files a/mods/ra/maps/mad-science.oramap and b/mods/ra/maps/mad-science.oramap differ diff --git a/mods/ra/maps/man-to-man.oramap b/mods/ra/maps/man-to-man.oramap index cb6519164c..74a75d5fa9 100644 Binary files a/mods/ra/maps/man-to-man.oramap and b/mods/ra/maps/man-to-man.oramap differ diff --git a/mods/ra/maps/marooned-2.oramap b/mods/ra/maps/marooned-2.oramap index f1c7fc7374..08a98cb144 100644 Binary files a/mods/ra/maps/marooned-2.oramap and b/mods/ra/maps/marooned-2.oramap differ diff --git a/mods/ra/maps/mass-confliction.oramap b/mods/ra/maps/mass-confliction.oramap index d3753654df..e4ab97b289 100644 Binary files a/mods/ra/maps/mass-confliction.oramap and b/mods/ra/maps/mass-confliction.oramap differ diff --git a/mods/ra/maps/monster-tank-madness/map.yaml b/mods/ra/maps/monster-tank-madness/map.yaml index 10a325f3d6..2177ea4d3d 100644 --- a/mods/ra/maps/monster-tank-madness/map.yaml +++ b/mods/ra/maps/monster-tank-madness/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Mission +LockPreview: True + Players: PlayerReference@Greece: Name: Greece @@ -2085,359 +2087,8 @@ Actors: Location: 65,78 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: monster-tank-madness.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - -StartGameNotification: - MissionData: - Briefing: Dr. Demitri, creator of a Soviet Super Tank, wants to defect.\n\nWe planned to extract him while the Soviets were testing their new weapon, but something has gone wrong.\n\nThe Super Tanks are out of control, and Demitri is missing -- likely hiding in the village to the far south.\n\nFind our outpost and start repairs on it, then find and evacuate Demitri.\n\nAs for the tanks, we can reprogram them. Send a spy into the Soviet radar dome in the NE, turning the tanks on their creators.\n - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - AnnounceOnSeen: - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^CivBuilding: - Explodes: - Weapon: BarrelExplode - EmptyWeapon: BarrelExplode - Tooltip: - ShowOwnerRow: false - DEMITRI: - Inherits: DELPHI - Tooltip: - Name: Dr. Demitri - Passenger: - CargoType: Demitri - RenderSprites: - Image: DELPHI - Voiced: - VoiceSet: DemitriVoice - TRAN: - RevealsShroud: - Range: 0c0 - Cargo: - Types: Demitri - MaxWeight: 1 - -Selectable: - LST: - Cargo: - Types: Infantry, Vehicle, Demitri - JEEP: - Cargo: - Types: Infantry, Demitri - PBOX: - Cargo: - Types: Infantry, Demitri - 5TNK: - Inherits: ^Tank - Valued: - Cost: 10000 - Tooltip: - Name: Super Tank - GenericName: Super Tank - Health: - HP: 20000 - Armor: - Type: Concrete - Mobile: - Speed: 42 - Crushes: wall, mine, crate, infantry - RevealsShroud: - Range: 6c0 - Turreted: - TurnSpeed: 1 - Armament@PRIMARY: - Weapon: SuperTankPrimary - LocalOffset: 900,180,340, 900,-180,340 - Recoil: 171 - RecoilRecovery: 30 - MuzzleSequence: muzzle - Armament@SECONDARY: - Name: secondary - Weapon: MammothTusk - LocalOffset: -85,384,340, -85,-384,340 - LocalYaw: -100,100 - Recoil: 43 - MuzzleSequence: muzzle - AttackTurreted: - WithMuzzleOverlay: - WithSpriteTurret: - AutoTarget: - Explodes: - Weapon: MiniNuke - EmptyWeapon: MiniNuke - SpawnActorOnDeath: - Actor: 5TNK.Husk - SelfHealing: - Step: 1 - Ticks: 1 - HealIfBelow: 100% - DamageCooldown: 150 - Selectable: - Bounds: 44,38,0,-4 - -EjectOnDeath: - RenderSprites: - Image: 4TNK - 5TNK.Husk: - Inherits: ^Husk - Tooltip: - Name: Husk (Super Tank) - ThrowsParticle@turret: - Anim: turret - Health: - HP: 2000 - RenderSprites: - Image: 4TNK - DOME.NoInfiltrate: - Inherits: DOME - Buildable: - Prerequisites: ~disabled - RenderSprites: - Image: DOME - -InfiltrateForExploration: - Targetable: - TargetTypes: Ground, C4, DetonateAttack, MissionObjective - SPY: - Infiltrates: - Types: SpyInfiltrate, MissionObjective - BAD3TNK: - Inherits: 3TNK - Buildable: - Prerequisites: ~disabled - -EjectOnDeath: - RenderSprites: - Image: 3TNK - BADTRUK: - Inherits: TRUK - Buildable: - Prerequisites: ~disabled - -EjectOnDeath: - RenderSprites: - Image: TRUK - SS: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - MSUB: - Buildable: - Prerequisites: ~disabled - DD: - Buildable: - Prerequisites: ~disabled - CA: - Buildable: - Prerequisites: ~disabled - PT: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - ATEK: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - E7: - Buildable: - Prerequisites: ~disabled - C1: - -Crushable: - C2: - -Crushable: - C5: - -Crushable: - C7: - -Crushable: - C8: - -Crushable: - SHOK: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled +Weapons: weapons.yaml -Sequences: - -VoxelSequences: - -Weapons: - FireballLauncher: - Projectile: - Blockable: false - TurretGun: - Projectile: - Blockable: false - SuperTankPrimary: - ROF: 70 - Range: 4c768 - Report: turret1.aud - Burst: 2 - InvalidTargets: Air, Infantry - Projectile: Bullet - Speed: 682 - Image: 120MM - Warhead@1Dam: SpreadDamage - Spread: 128 - Damage: 50 - InvalidTargets: Air, Infantry - Versus: - None: 20 - Wood: 75 - Light: 75 - Concrete: 50 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Crater - Warhead@3EffGround: CreateEffect - Explosions: small_explosion - InvalidImpactTypes: Water - Warhead@4EffWater: CreateEffect - Explosions: small_splash - ValidImpactTypes: Water - -Voices: - DemitriVoice: - Variants: - allies: .r01,.r03 - england: .r01,.r03 - france: .r01,.r03 - germany: .r01,.r03 - soviet: .r01,.r03 - russia: .r01,.r03 - ukraine: .r01,.r03 - Voices: - Select: await1,ready,report1,yessir1 - Action: ackno,affirm1,noprob,overout,ritaway,roger,ugotit - Die: dedman1,dedman2,dedman3,dedman4,dedman5,dedman7,dedman8 - Burned: dedman10 - Zapped: dedman6 - DisableVariants: Die, Burned, Zapped - -Music: - -Notifications: - -Translations: +Voices: voices.yaml diff --git a/mods/ra/maps/monster-tank-madness/rules.yaml b/mods/ra/maps/monster-tank-madness/rules.yaml new file mode 100644 index 0000000000..b7bbd8a6a3 --- /dev/null +++ b/mods/ra/maps/monster-tank-madness/rules.yaml @@ -0,0 +1,349 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: monster-tank-madness.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + -StartGameNotification: + MissionData: + Briefing: Dr. Demitri, creator of a Soviet Super Tank, wants to defect.\n\nWe planned to extract him while the Soviets were testing their new weapon, but something has gone wrong.\n\nThe Super Tanks are out of control, and Demitri is missing -- likely hiding in the village to the far south.\n\nFind our outpost and start repairs on it, then find and evacuate Demitri.\n\nAs for the tanks, we can reprogram them. Send a spy into the Soviet radar dome in the NE, turning the tanks on their creators.\n + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + AnnounceOnSeen: + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^CivBuilding: + Explodes: + Weapon: BarrelExplode + EmptyWeapon: BarrelExplode + Tooltip: + ShowOwnerRow: false + +DEMITRI: + Inherits: DELPHI + Tooltip: + Name: Dr. Demitri + Passenger: + CargoType: Demitri + RenderSprites: + Image: DELPHI + Voiced: + VoiceSet: DemitriVoice + +TRAN: + RevealsShroud: + Range: 0c0 + Cargo: + Types: Demitri + MaxWeight: 1 + -Selectable: + +LST: + Cargo: + Types: Infantry, Vehicle, Demitri + +JEEP: + Cargo: + Types: Infantry, Demitri + +PBOX: + Cargo: + Types: Infantry, Demitri + +5TNK: + Inherits: ^Tank + Valued: + Cost: 10000 + Tooltip: + Name: Super Tank + GenericName: Super Tank + Health: + HP: 20000 + Armor: + Type: Concrete + Mobile: + Speed: 42 + Crushes: wall, mine, crate, infantry + RevealsShroud: + Range: 6c0 + Turreted: + TurnSpeed: 1 + Armament@PRIMARY: + Weapon: SuperTankPrimary + LocalOffset: 900,180,340, 900,-180,340 + Recoil: 171 + RecoilRecovery: 30 + MuzzleSequence: muzzle + Armament@SECONDARY: + Name: secondary + Weapon: MammothTusk + LocalOffset: -85,384,340, -85,-384,340 + LocalYaw: -100,100 + Recoil: 43 + MuzzleSequence: muzzle + AttackTurreted: + WithMuzzleOverlay: + WithSpriteTurret: + AutoTarget: + Explodes: + Weapon: MiniNuke + EmptyWeapon: MiniNuke + SpawnActorOnDeath: + Actor: 5TNK.Husk + SelfHealing: + Step: 1 + Ticks: 1 + HealIfBelow: 100% + DamageCooldown: 150 + Selectable: + Bounds: 44,38,0,-4 + -EjectOnDeath: + RenderSprites: + Image: 4TNK + +5TNK.Husk: + Inherits: ^Husk + Tooltip: + Name: Husk (Super Tank) + ThrowsParticle@turret: + Anim: turret + Health: + HP: 2000 + RenderSprites: + Image: 4TNK + +DOME.NoInfiltrate: + Inherits: DOME + Buildable: + Prerequisites: ~disabled + RenderSprites: + Image: DOME + -InfiltrateForExploration: + Targetable: + TargetTypes: Ground, C4, DetonateAttack, MissionObjective + +SPY: + Infiltrates: + Types: SpyInfiltrate, MissionObjective + +BAD3TNK: + Inherits: 3TNK + Buildable: + Prerequisites: ~disabled + -EjectOnDeath: + RenderSprites: + Image: 3TNK + +BADTRUK: + Inherits: TRUK + Buildable: + Prerequisites: ~disabled + -EjectOnDeath: + RenderSprites: + Image: TRUK + +SS: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +MSUB: + Buildable: + Prerequisites: ~disabled + +DD: + Buildable: + Prerequisites: ~disabled + +CA: + Buildable: + Prerequisites: ~disabled + +PT: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + +ATEK: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +E7: + Buildable: + Prerequisites: ~disabled + +C1: + -Crushable: + +C2: + -Crushable: + +C5: + -Crushable: + +C7: + -Crushable: + +C8: + -Crushable: + +SHOK: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/monster-tank-madness/voices.yaml b/mods/ra/maps/monster-tank-madness/voices.yaml new file mode 100644 index 0000000000..4ac80b71c4 --- /dev/null +++ b/mods/ra/maps/monster-tank-madness/voices.yaml @@ -0,0 +1,16 @@ +DemitriVoice: + Variants: + allies: .r01,.r03 + england: .r01,.r03 + france: .r01,.r03 + germany: .r01,.r03 + soviet: .r01,.r03 + russia: .r01,.r03 + ukraine: .r01,.r03 + Voices: + Select: await1,ready,report1,yessir1 + Action: ackno,affirm1,noprob,overout,ritaway,roger,ugotit + Die: dedman1,dedman2,dedman3,dedman4,dedman5,dedman7,dedman8 + Burned: dedman10 + Zapped: dedman6 + DisableVariants: Die, Burned, Zapped \ No newline at end of file diff --git a/mods/ra/maps/monster-tank-madness/weapons.yaml b/mods/ra/maps/monster-tank-madness/weapons.yaml new file mode 100644 index 0000000000..26bd9a3928 --- /dev/null +++ b/mods/ra/maps/monster-tank-madness/weapons.yaml @@ -0,0 +1,35 @@ +FireballLauncher: + Projectile: + Blockable: false + +TurretGun: + Projectile: + Blockable: false + +SuperTankPrimary: + ROF: 70 + Range: 4c768 + Report: turret1.aud + Burst: 2 + InvalidTargets: Air, Infantry + Projectile: Bullet + Speed: 682 + Image: 120MM + Warhead@1Dam: SpreadDamage + Spread: 128 + Damage: 50 + InvalidTargets: Air, Infantry + Versus: + None: 20 + Wood: 75 + Light: 75 + Concrete: 50 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Crater + Warhead@3EffGround: CreateEffect + Explosions: small_explosion + InvalidImpactTypes: Water + Warhead@4EffWater: CreateEffect + Explosions: small_splash + ValidImpactTypes: Water diff --git a/mods/ra/maps/north-by-northwest.oramap b/mods/ra/maps/north-by-northwest.oramap index fffca295fa..c6243ea11e 100644 Binary files a/mods/ra/maps/north-by-northwest.oramap and b/mods/ra/maps/north-by-northwest.oramap differ diff --git a/mods/ra/maps/ore-lord.oramap b/mods/ra/maps/ore-lord.oramap index e0884fbf0d..f28e7a1755 100644 Binary files a/mods/ra/maps/ore-lord.oramap and b/mods/ra/maps/ore-lord.oramap differ diff --git a/mods/ra/maps/pearly-wastelands.oramap b/mods/ra/maps/pearly-wastelands.oramap index 30c81ca111..051025e0ab 100644 Binary files a/mods/ra/maps/pearly-wastelands.oramap and b/mods/ra/maps/pearly-wastelands.oramap differ diff --git a/mods/ra/maps/poland-raid/map.png b/mods/ra/maps/poland-raid/map.png new file mode 100644 index 0000000000..67ea2bda7f Binary files /dev/null and b/mods/ra/maps/poland-raid/map.png differ diff --git a/mods/ra/maps/poland-raid/map.yaml b/mods/ra/maps/poland-raid/map.yaml index 185826aa0e..df9149a0b8 100644 --- a/mods/ra/maps/poland-raid/map.yaml +++ b/mods/ra/maps/poland-raid/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -777,27 +777,4 @@ Actors: Location: 91,86 Owner: Neutral -Smudges: - -Rules: - OILB: - CashTrickler: - Period: 250 - Amount: 100 - FACT: - RevealsShroud: - Range: 8c0 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/poland-raid/rules.yaml b/mods/ra/maps/poland-raid/rules.yaml new file mode 100644 index 0000000000..d67ee43efb --- /dev/null +++ b/mods/ra/maps/poland-raid/rules.yaml @@ -0,0 +1,8 @@ +OILB: + CashTrickler: + Period: 250 + Amount: 100 + +FACT: + RevealsShroud: + Range: 8c0 diff --git a/mods/ra/maps/pressure.oramap b/mods/ra/maps/pressure.oramap index c7a1041794..e3c2fbb0bb 100644 Binary files a/mods/ra/maps/pressure.oramap and b/mods/ra/maps/pressure.oramap differ diff --git a/mods/ra/maps/puddles-redux.oramap b/mods/ra/maps/puddles-redux.oramap index 49e3739300..874a2b5b78 100644 Binary files a/mods/ra/maps/puddles-redux.oramap and b/mods/ra/maps/puddles-redux.oramap differ diff --git a/mods/ra/maps/raraku.oramap b/mods/ra/maps/raraku.oramap index 8c4917dbed..ec419a266a 100644 Binary files a/mods/ra/maps/raraku.oramap and b/mods/ra/maps/raraku.oramap differ diff --git a/mods/ra/maps/regeneration-basin.oramap b/mods/ra/maps/regeneration-basin.oramap index e32af6dd7e..1ed3248392 100644 Binary files a/mods/ra/maps/regeneration-basin.oramap and b/mods/ra/maps/regeneration-basin.oramap differ diff --git a/mods/ra/maps/ring-of-fire.oramap b/mods/ra/maps/ring-of-fire.oramap index 9df2842e07..3beeb5ebcc 100644 Binary files a/mods/ra/maps/ring-of-fire.oramap and b/mods/ra/maps/ring-of-fire.oramap differ diff --git a/mods/ra/maps/seaside-2.oramap b/mods/ra/maps/seaside-2.oramap index e8beedb660..23fcf76fc4 100644 Binary files a/mods/ra/maps/seaside-2.oramap and b/mods/ra/maps/seaside-2.oramap differ diff --git a/mods/ra/maps/sidestep.oramap b/mods/ra/maps/sidestep.oramap index 2e03f5021a..9d47fc0cd2 100644 Binary files a/mods/ra/maps/sidestep.oramap and b/mods/ra/maps/sidestep.oramap differ diff --git a/mods/ra/maps/singles.oramap b/mods/ra/maps/singles.oramap index a0a2b546cf..58a2ca3850 100644 Binary files a/mods/ra/maps/singles.oramap and b/mods/ra/maps/singles.oramap differ diff --git a/mods/ra/maps/snow town/map.png b/mods/ra/maps/snow town/map.png new file mode 100644 index 0000000000..ab5209ebb7 Binary files /dev/null and b/mods/ra/maps/snow town/map.png differ diff --git a/mods/ra/maps/snow town/map.yaml b/mods/ra/maps/snow town/map.yaml index c6ce1cdfab..9538c80329 100644 --- a/mods/ra/maps/snow town/map.yaml +++ b/mods/ra/maps/snow town/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -651,41 +651,4 @@ Actors: Location: 75,43 Owner: Neutral -Smudges: - -Rules: - World: - WeatherOverlay: - ParticleDensityFactor: 0.0007625 - ChangingWindLevel: true - WindLevels: -5, -3, -2, 0, 2, 3, 5 - WindTick: 150, 550 - InstantWindChanges: false - UseSquares: true - ParticleSize: 1, 3 - ScatterDirection: -1, 1 - Gravity: 1.00, 2.00 - SwingOffset: 1.0, 1.5 - SwingSpeed: 0.001, 0.025 - SwingAmplitude: 1.0, 1.5 - ParticleColors: ECECEC, E4E4E4, D0D0D0, BCBCBC - LineTailAlphaValue: 0 - GlobalLightingPaletteEffect: - Red: 0.9 - Green: 0.9 - Blue: 1.0 - Ambient: 1.2 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/snow town/rules.yaml b/mods/ra/maps/snow town/rules.yaml new file mode 100644 index 0000000000..94ff76aad6 --- /dev/null +++ b/mods/ra/maps/snow town/rules.yaml @@ -0,0 +1,21 @@ +World: + WeatherOverlay: + ParticleDensityFactor: 0.0007625 + ChangingWindLevel: true + WindLevels: -5, -3, -2, 0, 2, 3, 5 + WindTick: 150, 550 + InstantWindChanges: false + UseSquares: true + ParticleSize: 1, 3 + ScatterDirection: -1, 1 + Gravity: 1.00, 2.00 + SwingOffset: 1.0, 1.5 + SwingSpeed: 0.001, 0.025 + SwingAmplitude: 1.0, 1.5 + ParticleColors: ECECEC, E4E4E4, D0D0D0, BCBCBC + LineTailAlphaValue: 0 + GlobalLightingPaletteEffect: + Red: 0.9 + Green: 0.9 + Blue: 1.0 + Ambient: 1.2 diff --git a/mods/ra/maps/snowy-island.oramap b/mods/ra/maps/snowy-island.oramap index 6c030373e9..b41670da35 100644 Binary files a/mods/ra/maps/snowy-island.oramap and b/mods/ra/maps/snowy-island.oramap differ diff --git a/mods/ra/maps/soviet-01/map.yaml b/mods/ra/maps/soviet-01/map.yaml index 19f1064640..9d3fd1436b 100644 --- a/mods/ra/maps/soviet-01/map.yaml +++ b/mods/ra/maps/soviet-01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@France: Name: France @@ -583,107 +585,4 @@ Actors: Location: 51,84 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet01.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: A pitiful excuse for resistance has blockaded itself in this village.\n\nStalin has decided to make an example of them. Kill them all and destroy their homes. You will have Yak aircraft to use in teaching these rebels a lesson. - BackgroundVideo: prolog.vqa - BriefingVideo: soviet1.vqa - StartVideo: flare.vqa - WinVideo: snstrafe.vqa - LossVideo: sfrozen.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - V01: - SpawnActorOnDeath: - Actor: healcrate - HEALCRATE: - Tooltip: - GenericStancePrefix: false - GenericVisibility: Enemy - ShowOwnerRow: false - ^CivBuilding: - MustBeDestroyed: - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - JEEP: - Explodes: - JamsRadar: - Range: 10c0 - YAK: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - AFLD: - AirstrikePower@spyplane: - Prerequisites: ~disabled - ParatroopersPower@paratroopers: - ChargeTime: 60 - DropItems: E1,E1,E1,E2,E2 - -RallyPoint: - -Sellable: - DOME: - -Sellable: - POWR: - -Sellable: - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-01/rules.yaml b/mods/ra/maps/soviet-01/rules.yaml new file mode 100644 index 0000000000..23ab1f42bb --- /dev/null +++ b/mods/ra/maps/soviet-01/rules.yaml @@ -0,0 +1,102 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet01.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: A pitiful excuse for resistance has blockaded itself in this village.\n\nStalin has decided to make an example of them. Kill them all and destroy their homes. You will have Yak aircraft to use in teaching these rebels a lesson. + BackgroundVideo: prolog.vqa + BriefingVideo: soviet1.vqa + StartVideo: flare.vqa + WinVideo: snstrafe.vqa + LossVideo: sfrozen.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +V01: + SpawnActorOnDeath: + Actor: healcrate + +HEALCRATE: + Tooltip: + GenericStancePrefix: false + GenericVisibility: Enemy + ShowOwnerRow: false + +^CivBuilding: + MustBeDestroyed: + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +JEEP: + Explodes: + JamsRadar: + Range: 10c0 + +YAK: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +AFLD: + AirstrikePower@spyplane: + Prerequisites: ~disabled + ParatroopersPower@paratroopers: + ChargeTime: 60 + DropItems: E1,E1,E1,E2,E2 + -RallyPoint: + -Sellable: + +DOME: + -Sellable: + +POWR: + -Sellable: diff --git a/mods/ra/maps/soviet-02a/map.yaml b/mods/ra/maps/soviet-02a/map.yaml index cd9cf03ff1..021d31da53 100644 --- a/mods/ra/maps/soviet-02a/map.yaml +++ b/mods/ra/maps/soviet-02a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@USSR: Name: USSR @@ -562,156 +564,4 @@ Actors: Owner: Germany SubCell: 2 -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet02a.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Tomorrow, the attack on Germany begins, but today, we must protect our facility from Allied attacks.\n\nKeep the Command Center intact at all costs, and destroy any Allied fortification you might find. - BriefingVideo: soviet2.vqa - StartVideo: spotter.vqa - WinVideo: sovtstar.vqa - LossVideo: sovcemet.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - FCOM: - Tooltip: - ShowOwnerRow: false - SPEN: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - AFLD: - Buildable: - Prerequisites: ~disabled - AirstrikePower@spyplane: - Prerequisites: ~disabled - ParatroopersPower@paratroopers: - Prerequisites: ~disabled - DOG: - Health: - HP: 25 - AutoTarget: - ScanRadius: 5 - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E2,E2,E2,E2,E2 - HARV: - Harvester: - SearchFromProcRadius: 50 - SearchFromOrderRadius: 50 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-02a/rules.yaml b/mods/ra/maps/soviet-02a/rules.yaml new file mode 100644 index 0000000000..617b37e8a0 --- /dev/null +++ b/mods/ra/maps/soviet-02a/rules.yaml @@ -0,0 +1,167 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet02a.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Tomorrow, the attack on Germany begins, but today, we must protect our facility from Allied attacks.\n\nKeep the Command Center intact at all costs, and destroy any Allied fortification you might find. + BriefingVideo: soviet2.vqa + StartVideo: spotter.vqa + WinVideo: sovtstar.vqa + LossVideo: sovcemet.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +FCOM: + Tooltip: + ShowOwnerRow: false + +SPEN: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +AFLD: + Buildable: + Prerequisites: ~disabled + AirstrikePower@spyplane: + Prerequisites: ~disabled + ParatroopersPower@paratroopers: + Prerequisites: ~disabled + +DOG: + Health: + HP: 25 + AutoTarget: + ScanRadius: 5 + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E2,E2,E2,E2,E2 + +HARV: + Harvester: + SearchFromProcRadius: 50 + SearchFromOrderRadius: 50 diff --git a/mods/ra/maps/soviet-02b/map.yaml b/mods/ra/maps/soviet-02b/map.yaml index 98ac25b9fc..16b57e7d7d 100644 --- a/mods/ra/maps/soviet-02b/map.yaml +++ b/mods/ra/maps/soviet-02b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -485,201 +487,6 @@ Actors: Location: 67,75 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet02b.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Tomorrow, the attack on Germany begins, but today, we must protect our facility from Allied attacks.\n\nKeep the Command Center intact at all costs, and destroy any Allied fortification you might find. - BriefingVideo: soviet2.vqa - StartVideo: spotter.vqa - WinVideo: sovtstar.vqa - LossVideo: sovcemet.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - SPEN: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - WEAP: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~disabled - E4: - Buildable: - Prerequisites: ~disabled - E6: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - GUN: - -RepairableBuilding: - FCOM: - RepairableBuilding: - Tooltip: - ShowOwnerRow: false - AFLD: - Buildable: - Prerequisites: ~disabled - AirstrikePower@spyplane: - Prerequisites: ~disabled - ParatroopersPower@paratroopers: - Prerequisites: ~disabled - DOG: - Health: - HP: 25 - AutoTarget: - ScanRadius: 5 - HARV: - Harvester: - SearchFromProcRadius: 50 - SearchFromOrderRadius: 50 - BARL: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplode - BRL3: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplode - MONEYCRATE: - GiveCashCrateAction: - Amount: 2000 - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E2,E2,E2 - powerproxy.paratroopers2: - Inherits: powerproxy.paratroopers - ParatroopersPower: - DropItems: E2,E2,E2,E2,E2 - powerproxy.paratroopers3: - Inherits: powerproxy.paratroopers - ParatroopersPower: - DropItems: E1,E1,E1,E1,E1 - -Sequences: - -VoxelSequences: - -Weapons: - MissionBarrelExplode: - Warhead@1Dam: SpreadDamage - Spread: 600 - Damage: 100 - Falloff: 1000, 368, 135, 50, 18, 7, 0 - Delay: 5 - Versus: - None: 120 - Wood: 200 - Light: 50 - Heavy: 25 - Concrete: 10 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Size: 2,1 - Delay: 5 - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - Delay: 5 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/soviet-02b/rules.yaml b/mods/ra/maps/soviet-02b/rules.yaml new file mode 100644 index 0000000000..cc1243fbdb --- /dev/null +++ b/mods/ra/maps/soviet-02b/rules.yaml @@ -0,0 +1,197 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet02b.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Tomorrow, the attack on Germany begins, but today, we must protect our facility from Allied attacks.\n\nKeep the Command Center intact at all costs, and destroy any Allied fortification you might find. + BriefingVideo: soviet2.vqa + StartVideo: spotter.vqa + WinVideo: sovtstar.vqa + LossVideo: sovcemet.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +SPEN: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +WEAP: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~disabled + +E4: + Buildable: + Prerequisites: ~disabled + +E6: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +GUN: + -RepairableBuilding: + +FCOM: + RepairableBuilding: + Tooltip: + ShowOwnerRow: false + +AFLD: + Buildable: + Prerequisites: ~disabled + AirstrikePower@spyplane: + Prerequisites: ~disabled + ParatroopersPower@paratroopers: + Prerequisites: ~disabled + +DOG: + Health: + HP: 25 + AutoTarget: + ScanRadius: 5 + +HARV: + Harvester: + SearchFromProcRadius: 50 + SearchFromOrderRadius: 50 + +BARL: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplode + +BRL3: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplode + +MONEYCRATE: + GiveCashCrateAction: + Amount: 2000 + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E2,E2,E2 + +powerproxy.paratroopers2: + Inherits: powerproxy.paratroopers + ParatroopersPower: + DropItems: E2,E2,E2,E2,E2 + +powerproxy.paratroopers3: + Inherits: powerproxy.paratroopers + ParatroopersPower: + DropItems: E1,E1,E1,E1,E1 diff --git a/mods/ra/maps/soviet-02b/weapons.yaml b/mods/ra/maps/soviet-02b/weapons.yaml new file mode 100644 index 0000000000..3f46f31baa --- /dev/null +++ b/mods/ra/maps/soviet-02b/weapons.yaml @@ -0,0 +1,21 @@ +MissionBarrelExplode: + Warhead@1Dam: SpreadDamage + Spread: 600 + Damage: 100 + Falloff: 1000, 368, 135, 50, 18, 7, 0 + Delay: 5 + Versus: + None: 120 + Wood: 200 + Light: 50 + Heavy: 25 + Concrete: 10 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Size: 2,1 + Delay: 5 + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + Delay: 5 diff --git a/mods/ra/maps/soviet-03/map.yaml b/mods/ra/maps/soviet-03/map.yaml index ff6667b553..93700eadf8 100644 --- a/mods/ra/maps/soviet-03/map.yaml +++ b/mods/ra/maps/soviet-03/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1165,144 +1167,8 @@ Actors: Location: 47,50 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet03.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: A spy who has compromised the security of one of the northern sarin gas sites has been traced back to Lund, Sweden, by Nadia's intelligence groups.\n\nHe has been marked for death and a squad of Soviet troops was dispatched to the location to hunt him down. - BriefingVideo: soviet3.vqa - StartVideo: search.vqa - WinVideo: execute.vqa - LossVideo: take_off.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^TechBuilding: - AutoTargetIgnore: - Tooltip: - ShowOwnerRow: false - ^Infantry: - -GivesBounty: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - -GivesBounty: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Helicopter: - -GivesBounty: - Health: - HP: 9000 - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - BARL: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplode - BRL3: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplode - FENC: - Health: - HP: 9000 - HEALCRATE: - Tooltip: - GenericStancePrefix: false - GenericVisibility: Enemy - ShowOwnerRow: false - V01: - Cargo: - Types: Infantry - MaxWeight: 1 - PipCount: 1 - V05: - SpawnActorOnDeath: - Actor: healcrate - DOG: - -GainsExperience: - SPY: - Mobile: - Speed: 80 - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E2,E2 +Weapons: weapons.yaml -Sequences: - -VoxelSequences: - -Weapons: - MissionBarrelExplode: - Warhead@1Dam: SpreadDamage - Spread: 600 - Damage: 200 - Falloff: 1000, 368, 135, 50, 18, 7, 0 - Delay: 5 - Versus: - None: 120 - Wood: 200 - Light: 50 - Heavy: 25 - Concrete: 10 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Size: 2,1 - Delay: 5 - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - Delay: 5 - -Voices: - -Music: - -Notifications: - Sounds: - Notifications: - sking: sking1 - -Translations: +Notifications: notifications.yaml diff --git a/mods/ra/maps/soviet-03/notifications.yaml b/mods/ra/maps/soviet-03/notifications.yaml new file mode 100644 index 0000000000..b50090bb66 --- /dev/null +++ b/mods/ra/maps/soviet-03/notifications.yaml @@ -0,0 +1,3 @@ +Sounds: + Notifications: + sking: sking1 \ No newline at end of file diff --git a/mods/ra/maps/soviet-03/rules.yaml b/mods/ra/maps/soviet-03/rules.yaml new file mode 100644 index 0000000000..e859caccf6 --- /dev/null +++ b/mods/ra/maps/soviet-03/rules.yaml @@ -0,0 +1,117 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet03.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: A spy who has compromised the security of one of the northern sarin gas sites has been traced back to Lund, Sweden, by Nadia's intelligence groups.\n\nHe has been marked for death and a squad of Soviet troops was dispatched to the location to hunt him down. + BriefingVideo: soviet3.vqa + StartVideo: search.vqa + WinVideo: execute.vqa + LossVideo: take_off.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^TechBuilding: + AutoTargetIgnore: + Tooltip: + ShowOwnerRow: false + +^Infantry: + -GivesBounty: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + -GivesBounty: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Helicopter: + -GivesBounty: + Health: + HP: 9000 + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +BARL: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplode + +BRL3: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplode + +FENC: + Health: + HP: 9000 + +HEALCRATE: + Tooltip: + GenericStancePrefix: false + GenericVisibility: Enemy + ShowOwnerRow: false + +V01: + Cargo: + Types: Infantry + MaxWeight: 1 + PipCount: 1 + +V05: + SpawnActorOnDeath: + Actor: healcrate + +DOG: + -GainsExperience: + +SPY: + Mobile: + Speed: 80 + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E2,E2 diff --git a/mods/ra/maps/soviet-03/weapons.yaml b/mods/ra/maps/soviet-03/weapons.yaml new file mode 100644 index 0000000000..d4f2a7d387 --- /dev/null +++ b/mods/ra/maps/soviet-03/weapons.yaml @@ -0,0 +1,21 @@ +MissionBarrelExplode: + Warhead@1Dam: SpreadDamage + Spread: 600 + Damage: 200 + Falloff: 1000, 368, 135, 50, 18, 7, 0 + Delay: 5 + Versus: + None: 120 + Wood: 200 + Light: 50 + Heavy: 25 + Concrete: 10 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Size: 2,1 + Delay: 5 + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + Delay: 5 diff --git a/mods/ra/maps/soviet-04a/map.yaml b/mods/ra/maps/soviet-04a/map.yaml index 8a9d5409b6..0b9e24f076 100644 --- a/mods/ra/maps/soviet-04a/map.yaml +++ b/mods/ra/maps/soviet-04a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -619,153 +621,4 @@ Actors: Location: 84,83 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - -EnemyWatcher: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet04a.lua, soviet04a-AI.lua, soviet04a-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: The Allied base in this region is proving to be problematic.\n\nYour mission is to take it out so that we can begin to move forces through this area.\n\nAs long as they have communications they will be able to call upon heavy reinforcements.\n\nCrush their communications, and they should be easier to remove. - BriefingVideo: soviet4.vqa - StartVideo: sovmcv.vqa - WinVideo: radrraid.vqa - LossVideo: allymorf.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Medium - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E2,E2 - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E4: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - SPEN: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-04a/rules.yaml b/mods/ra/maps/soviet-04a/rules.yaml new file mode 100644 index 0000000000..404b8eca78 --- /dev/null +++ b/mods/ra/maps/soviet-04a/rules.yaml @@ -0,0 +1,163 @@ +Player: + -ConquestVictoryConditions: + -EnemyWatcher: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet04a.lua, soviet04a-AI.lua, soviet04a-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: The Allied base in this region is proving to be problematic.\n\nYour mission is to take it out so that we can begin to move forces through this area.\n\nAs long as they have communications they will be able to call upon heavy reinforcements.\n\nCrush their communications, and they should be easier to remove. + BriefingVideo: soviet4.vqa + StartVideo: sovmcv.vqa + WinVideo: radrraid.vqa + LossVideo: allymorf.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Medium + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E2,E2 + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E4: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +SPEN: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/soviet-04b/map.yaml b/mods/ra/maps/soviet-04b/map.yaml index 82ce456604..a899e15862 100644 --- a/mods/ra/maps/soviet-04b/map.yaml +++ b/mods/ra/maps/soviet-04b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -647,147 +649,4 @@ Actors: Location: 33,88 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - -EnemyWatcher: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet04b.lua, soviet04b-AI.lua, soviet04b-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: The Allied base in this region is proving to be problematic.\n\nYour mission is to take it out so that we can begin to move forces through this area.\n\nAs long as they have communications they will be able to call upon heavy reinforcements.\n\nCrush their communications, and they should be easier to remove. - BriefingVideo: soviet4.vqa - StartVideo: sovmcv.vqa - WinVideo: radrraid.vqa - LossVideo: allymorf.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Medium - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^CivBuilding: - Tooltip: - ShowOwnerRow: false - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E2,E2 - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E4: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-04b/rules.yaml b/mods/ra/maps/soviet-04b/rules.yaml new file mode 100644 index 0000000000..7e5a3101f0 --- /dev/null +++ b/mods/ra/maps/soviet-04b/rules.yaml @@ -0,0 +1,155 @@ +Player: + -ConquestVictoryConditions: + -EnemyWatcher: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet04b.lua, soviet04b-AI.lua, soviet04b-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: The Allied base in this region is proving to be problematic.\n\nYour mission is to take it out so that we can begin to move forces through this area.\n\nAs long as they have communications they will be able to call upon heavy reinforcements.\n\nCrush their communications, and they should be easier to remove. + BriefingVideo: soviet4.vqa + StartVideo: sovmcv.vqa + WinVideo: radrraid.vqa + LossVideo: allymorf.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Medium + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^CivBuilding: + Tooltip: + ShowOwnerRow: false + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E2,E2 + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E4: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/soviet-05/map.yaml b/mods/ra/maps/soviet-05/map.yaml index 8d7b5947d0..6bcefc54ac 100644 --- a/mods/ra/maps/soviet-05/map.yaml +++ b/mods/ra/maps/soviet-05/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -601,151 +603,4 @@ Actors: Location: 21,80 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - -EnemyWatcher: - MissionObjectives: - EarlyGameOver: true - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet05.lua, soviet05-AI.lua, soviet05-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: Khalkis island contains a large quantity of ore that we need.\n\nThe Allies are well aware of our plans, and intend to establish their own base there. See to it that they fail.\n\nIn addition, capture their radar center so we can track Allied activity in this area. - BriefingVideo: soviet5.vqa - StartVideo: double.vqa - WinVideo: strafe.vqa - LossVideo: sovbatl.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Medium - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - Demolishable: - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E2,E2 - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - HPAD: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E4: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - DOME.IGNORE: - Inherits: DOME - RenderSprites: - Image: DOME - AutoTargetIgnore: - Buildable: - Prerequisites: ~disabled - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E1,E1 - AGUN: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-05/rules.yaml b/mods/ra/maps/soviet-05/rules.yaml new file mode 100644 index 0000000000..1faa1172d3 --- /dev/null +++ b/mods/ra/maps/soviet-05/rules.yaml @@ -0,0 +1,159 @@ +Player: + -ConquestVictoryConditions: + -EnemyWatcher: + MissionObjectives: + EarlyGameOver: true + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet05.lua, soviet05-AI.lua, soviet05-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: Khalkis island contains a large quantity of ore that we need.\n\nThe Allies are well aware of our plans, and intend to establish their own base there. See to it that they fail.\n\nIn addition, capture their radar center so we can track Allied activity in this area. + BriefingVideo: soviet5.vqa + StartVideo: double.vqa + WinVideo: strafe.vqa + LossVideo: sovbatl.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Medium + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + Demolishable: + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E2,E2 + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +HPAD: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E4: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +DOME.IGNORE: + Inherits: DOME + RenderSprites: + Image: DOME + AutoTargetIgnore: + Buildable: + Prerequisites: ~disabled + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E1,E1 + +AGUN: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/soviet-06a/map.yaml b/mods/ra/maps/soviet-06a/map.yaml index 40093664a4..b8b3002a58 100644 --- a/mods/ra/maps/soviet-06a/map.yaml +++ b/mods/ra/maps/soviet-06a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -828,204 +830,4 @@ Actors: Location: 22,15 Owner: Greece -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 11500 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet06a.lua, soviet06a-AI.lua, soviet06a-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: There is a special cargo that needs to be transported to a nearby Soviet base in the northeast.\n\nMake sure the trucks reach their destination intact. Along the way, there is a bridge which the Allies may have destroyed.\n\nIf so, use the Naval options at your disposal. Our attack subs will make short work of any Allied boats you discover. - BriefingVideo: soviet6.vqa - StartVideo: onthprwl.vqa - WinVideo: sitduck.vqa - LossVideo: dpthchrg.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - APWR: - Buildable: - Prerequisites: ~structures.allies - ARTY: - Buildable: - Prerequisites: ~vehicles.allies, ~techlevel.low - ATEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E7: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - 2TNK: - Buildable: - Prerequisites: ~vehicles.allies, ~techlevel.low - 4TNK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - TRUK: - -SpawnActorOnDeath: - -SupplyTruck: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MSUB: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - CA: - Buildable: - Prerequisites: ~disabled - HELI: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - DOG: - Health: - HP: 25 - AutoTarget: - ScanRadius: 5 - HARV: - Harvester: - SearchFromProcRadius: 50 - SearchFromOrderRadius: 50 - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E1,E1 - MONEYCRATE: - GiveCashCrateAction: - Amount: 2000 - V01: - SpawnActorOnDeath: - Actor: moneycrate - V05: - SpawnActorOnDeath: - Actor: healcrate - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-06a/rules.yaml b/mods/ra/maps/soviet-06a/rules.yaml new file mode 100644 index 0000000000..11a3afd0bd --- /dev/null +++ b/mods/ra/maps/soviet-06a/rules.yaml @@ -0,0 +1,231 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 11500 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet06a.lua, soviet06a-AI.lua, soviet06a-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: There is a special cargo that needs to be transported to a nearby Soviet base in the northeast.\n\nMake sure the trucks reach their destination intact. Along the way, there is a bridge which the Allies may have destroyed.\n\nIf so, use the Naval options at your disposal. Our attack subs will make short work of any Allied boats you discover. + BriefingVideo: soviet6.vqa + StartVideo: onthprwl.vqa + WinVideo: sitduck.vqa + LossVideo: dpthchrg.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +APWR: + Buildable: + Prerequisites: ~structures.allies + +ARTY: + Buildable: + Prerequisites: ~vehicles.allies, ~techlevel.low + +ATEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E7: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +2TNK: + Buildable: + Prerequisites: ~vehicles.allies, ~techlevel.low + +4TNK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +TRUK: + -SpawnActorOnDeath: + -SupplyTruck: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MSUB: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +CA: + Buildable: + Prerequisites: ~disabled + +HELI: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +DOG: + Health: + HP: 25 + AutoTarget: + ScanRadius: 5 + +HARV: + Harvester: + SearchFromProcRadius: 50 + SearchFromOrderRadius: 50 + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E1,E1 + +MONEYCRATE: + GiveCashCrateAction: + Amount: 2000 + +V01: + SpawnActorOnDeath: + Actor: moneycrate + +V05: + SpawnActorOnDeath: + Actor: healcrate diff --git a/mods/ra/maps/soviet-06b/map.yaml b/mods/ra/maps/soviet-06b/map.yaml index 7087a534ee..e39adcdb68 100644 --- a/mods/ra/maps/soviet-06b/map.yaml +++ b/mods/ra/maps/soviet-06b/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -520,195 +522,4 @@ Actors: Location: 67,41 Owner: Greece -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 11500 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet06b.lua, soviet06b-AI.lua, soviet06b-reinforcements_teams.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: There is a special cargo that needs to be transported to a nearby Soviet base in the northeast.\n\nMake sure the trucks reach their destination intact. Along the way, there is a bridge which the Allies may have destroyed.\n\nIf so, use the Naval options at your disposal. Our attack subs will make short work of any Allied boats you discover. - BriefingVideo: soviet6.vqa - StartVideo: onthprwl.vqa - WinVideo: sitduck.vqa - LossVideo: dpthchrg.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Ship: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Plane: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^TechBuilding: - Tooltip: - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - APWR: - Buildable: - Prerequisites: ~structures.allies - ARTY: - Buildable: - Prerequisites: ~vehicles.allies, ~techlevel.low - ATEK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - TSLA: - Buildable: - Prerequisites: ~disabled - SAM: - Buildable: - Prerequisites: ~disabled - IRON: - Buildable: - Prerequisites: ~disabled - MECH: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - E3: - Buildable: - Prerequisites: ~tent - E7: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - SPY: - Buildable: - Prerequisites: ~disabled - SNIPER: - Buildable: - Prerequisites: ~disabled - HIJACKER: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - FTRK: - Buildable: - Prerequisites: ~disabled - 2TNK: - Buildable: - Prerequisites: ~vehicles.allies, ~techlevel.low - 4TNK: - Buildable: - Prerequisites: ~disabled - APC: - Buildable: - Prerequisites: ~disabled - TRUK: - -SpawnActorOnDeath: - -SupplyTruck: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MSUB: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - CA: - Buildable: - Prerequisites: ~disabled - HELI: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - DOG: - Health: - HP: 25 - AutoTarget: - ScanRadius: 5 - HARV: - Harvester: - SearchFromProcRadius: 50 - SearchFromOrderRadius: 50 - AFLD: - ParatroopersPower@paratroopers: - DropItems: E1,E1,E1,E1,E1 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/soviet-06b/rules.yaml b/mods/ra/maps/soviet-06b/rules.yaml new file mode 100644 index 0000000000..d0483a96cf --- /dev/null +++ b/mods/ra/maps/soviet-06b/rules.yaml @@ -0,0 +1,219 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 11500 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet06b.lua, soviet06b-AI.lua, soviet06b-reinforcements_teams.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: There is a special cargo that needs to be transported to a nearby Soviet base in the northeast.\n\nMake sure the trucks reach their destination intact. Along the way, there is a bridge which the Allies may have destroyed.\n\nIf so, use the Naval options at your disposal. Our attack subs will make short work of any Allied boats you discover. + BriefingVideo: soviet6.vqa + StartVideo: onthprwl.vqa + WinVideo: sitduck.vqa + LossVideo: dpthchrg.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Ship: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Plane: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^TechBuilding: + Tooltip: + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +APWR: + Buildable: + Prerequisites: ~structures.allies + +ARTY: + Buildable: + Prerequisites: ~vehicles.allies, ~techlevel.low + +ATEK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +TSLA: + Buildable: + Prerequisites: ~disabled + +SAM: + Buildable: + Prerequisites: ~disabled + +IRON: + Buildable: + Prerequisites: ~disabled + +MECH: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +E3: + Buildable: + Prerequisites: ~tent + +E7: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +SPY: + Buildable: + Prerequisites: ~disabled + +SNIPER: + Buildable: + Prerequisites: ~disabled + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +FTRK: + Buildable: + Prerequisites: ~disabled + +2TNK: + Buildable: + Prerequisites: ~vehicles.allies, ~techlevel.low + +4TNK: + Buildable: + Prerequisites: ~disabled + +APC: + Buildable: + Prerequisites: ~disabled + +TRUK: + -SpawnActorOnDeath: + -SupplyTruck: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MSUB: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +CA: + Buildable: + Prerequisites: ~disabled + +HELI: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +DOG: + Health: + HP: 25 + AutoTarget: + ScanRadius: 5 + +HARV: + Harvester: + SearchFromProcRadius: 50 + SearchFromOrderRadius: 50 + +AFLD: + ParatroopersPower@paratroopers: + DropItems: E1,E1,E1,E1,E1 diff --git a/mods/ra/maps/soviet-07/map.yaml b/mods/ra/maps/soviet-07/map.yaml index eb5bcba684..bca9c8ee90 100644 --- a/mods/ra/maps/soviet-07/map.yaml +++ b/mods/ra/maps/soviet-07/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Campaign +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -787,167 +789,6 @@ Actors: Owner: Neutral Location: 45,52 -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 0 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: soviet07.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: The Allies have infiltrated one of our nuclear reactors! They have tampered with the core so that a meltdown is imminent within 30 minutes. They must not succeed!\n\nEnter the base and find any remaining technicians. Guide them to the 4 coolant stations so they can activate them, then activate the main computer. The security systems have been armed so beware.\n\nKill any Allies you find. - BriefingVideo: soviet7.vqa - StartVideo: countdwn.vqa - WinVideo: averted.vqa - LossVideo: nukestok.vqa - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Normal, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - -GivesBounty: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - ^Crate: - Tooltip: - ShowOwnerRow: false - BARL: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplodeInterior - BRL3: - Health: - HP: 1 - Explodes: - Weapon: MissionBarrelExplodeInterior - CAMERA: - RevealsShroud: - Range: 6c0 - E1: - Armament@PRIMARY: - Weapon: M1CarbineInterior - FTUR: - Armament: - Weapon: FireballLauncherInterior - LocalOffset: 512,0,0 - Valued: - Cost: 0 - Power: - Amount: 0 - -Sellable: - PBOX: - -AutoTarget: - -Sequences: - -VoxelSequences: - -Weapons: - M1CarbineInterior: - ReloadDelay: 20 - Range: 3c0 - Report: gun11.aud - Projectile: Bullet - Speed: 1c682 - Warhead@1Dam: SpreadDamage - Spread: 128 - Damage: 15 - Versus: - Wood: 25 - Light: 30 - Heavy: 10 - Concrete: 10 - DamageTypes: Prone50Percent, TriggerProne, BulletDeath - Warhead@2Eff: CreateEffect - Explosions: piffs - InvalidImpactTypes: Water - Warhead@3EffWater: CreateEffect - Explosions: water_piffs - ValidImpactTypes: Water - FireballLauncherInterior: - ReloadDelay: 65 - Range: 3c0 - Burst: 2 - BurstDelay: 20 - Projectile: Bullet - Speed: 204 - Trail: fb2 - Image: FB1 - Warhead@1Dam: SpreadDamage - Spread: 213 - Damage: 150 - Versus: - None: 90 - Wood: 50 - Light: 60 - Heavy: 25 - Concrete: 50 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - MissionBarrelExplodeInterior: - Warhead@1Dam: SpreadDamage - Spread: 350 - Damage: 250 - Falloff: 1000, 368, 135, 50, 18, 7, 0 - Delay: 5 - Versus: - None: 120 - Wood: 200 - Light: 50 - Heavy: 25 - Concrete: 10 - DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Scorch - Size: 2,1 - Delay: 5 - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - Delay: 5 - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/soviet-07/rules.yaml b/mods/ra/maps/soviet-07/rules.yaml new file mode 100644 index 0000000000..690717c934 --- /dev/null +++ b/mods/ra/maps/soviet-07/rules.yaml @@ -0,0 +1,93 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 0 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: soviet07.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: The Allies have infiltrated one of our nuclear reactors! They have tampered with the core so that a meltdown is imminent within 30 minutes. They must not succeed!\n\nEnter the base and find any remaining technicians. Guide them to the 4 coolant stations so they can activate them, then activate the main computer. The security systems have been armed so beware.\n\nKill any Allies you find. + BriefingVideo: soviet7.vqa + StartVideo: countdwn.vqa + WinVideo: averted.vqa + LossVideo: nukestok.vqa + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Normal, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + -GivesBounty: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +^Crate: + Tooltip: + ShowOwnerRow: false + +BARL: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplodeInterior + +BRL3: + Health: + HP: 1 + Explodes: + Weapon: MissionBarrelExplodeInterior + +CAMERA: + RevealsShroud: + Range: 6c0 + +E1: + Armament@PRIMARY: + Weapon: M1CarbineInterior + +FTUR: + Armament: + Weapon: FireballLauncherInterior + LocalOffset: 512,0,0 + Valued: + Cost: 0 + Power: + Amount: 0 + -Sellable: + +PBOX: + -AutoTarget: diff --git a/mods/ra/maps/soviet-07/weapons.yaml b/mods/ra/maps/soviet-07/weapons.yaml new file mode 100644 index 0000000000..d03c74575c --- /dev/null +++ b/mods/ra/maps/soviet-07/weapons.yaml @@ -0,0 +1,68 @@ +M1CarbineInterior: + ReloadDelay: 20 + Range: 3c0 + Report: gun11.aud + Projectile: Bullet + Speed: 1c682 + Warhead@1Dam: SpreadDamage + Spread: 128 + Damage: 15 + Versus: + Wood: 25 + Light: 30 + Heavy: 10 + Concrete: 10 + DamageTypes: Prone50Percent, TriggerProne, BulletDeath + Warhead@2Eff: CreateEffect + Explosions: piffs + InvalidImpactTypes: Water + Warhead@3EffWater: CreateEffect + Explosions: water_piffs + ValidImpactTypes: Water + +FireballLauncherInterior: + ReloadDelay: 65 + Range: 3c0 + Burst: 2 + BurstDelay: 20 + Projectile: Bullet + Speed: 204 + Trail: fb2 + Image: FB1 + Warhead@1Dam: SpreadDamage + Spread: 213 + Damage: 150 + Versus: + None: 90 + Wood: 50 + Light: 60 + Heavy: 25 + Concrete: 50 + DamageTypes: Prone50Percent, TriggerProne, FireDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + +MissionBarrelExplodeInterior: + Warhead@1Dam: SpreadDamage + Spread: 350 + Damage: 250 + Falloff: 1000, 368, 135, 50, 18, 7, 0 + Delay: 5 + Versus: + None: 120 + Wood: 200 + Light: 50 + Heavy: 25 + Concrete: 10 + DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Scorch + Size: 2,1 + Delay: 5 + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + Delay: 5 diff --git a/mods/ra/maps/styrian-mountains.oramap b/mods/ra/maps/styrian-mountains.oramap index 94d68dedaa..a8d2c2973a 100644 Binary files a/mods/ra/maps/styrian-mountains.oramap and b/mods/ra/maps/styrian-mountains.oramap differ diff --git a/mods/ra/maps/suffrage.oramap b/mods/ra/maps/suffrage.oramap index 372316673b..6ae9fe9aa1 100644 Binary files a/mods/ra/maps/suffrage.oramap and b/mods/ra/maps/suffrage.oramap differ diff --git a/mods/ra/maps/survival01/map.yaml b/mods/ra/maps/survival01/map.yaml index e55e1f8581..f509ac3cd0 100644 --- a/mods/ra/maps/survival01/map.yaml +++ b/mods/ra/maps/survival01/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Mission +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1194,202 +1196,4 @@ Actors: Location: 58,61 Owner: Neutral -Smudges: - -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: survival01.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: LANDCOM 66 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A34\n\nTHE SOVIETS STARTED HEAVY ATTACKS AT OUR POSITION.\n SURVIVE AND HOLD THE BASE UNTIL OUR FRENCH ALLIES ARRIVE.\n\nCONFIRMATION CODE 5593.\n\nTRANSMISSION ENDS. - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - Difficulties: Easy, Medium, Hard - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - powerproxy.paratroopers: - ParatroopersPower: - DropItems: E1,E1,E1,E2,E2 - powerproxy.allied: - Inherits: powerproxy.paratroopers - ParatroopersPower: - DropItems: ARTY,ARTY,ARTY - CAMERA.sam: - Inherits: CAMERA - RevealsShroud: - Range: 4c0 - CAMERA.Large: - Inherits: CAMERA - RevealsShroud: - Range: 1000 - AFLD.mission: - Inherits: AFLD - -AirstrikePower@spyplane: - -ParatroopersPower@paratroopers: - -AirstrikePower@parabombs: - -SupportPowerChargeBar: - RenderSprites: - Image: AFLD - ATEK.mission: - Inherits: ATEK - GpsPower: - ChargeTime: 0 - Power: - Amount: 0 - -Selectable: - -Targetable: - -GivesBuildableArea: - -Huntable: - RenderSprites: - Image: ATEK - GUN: - Valued: - Cost: 1000 - E7: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: ~disabled - HELI: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - ATEK: - Buildable: - Prerequisites: ~disabled - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - FACF: - Buildable: - Prerequisites: ~disabled - WEAF: - Buildable: - Prerequisites: ~disabled - SYRF: - Buildable: - Prerequisites: ~disabled - DOMF: - Buildable: - Prerequisites: ~disabled - ATEF: - Buildable: - Prerequisites: ~disabled - MSLF: - Buildable: - Prerequisites: ~disabled - PDOF: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/survival01/rules.yaml b/mods/ra/maps/survival01/rules.yaml new file mode 100644 index 0000000000..af7eab2484 --- /dev/null +++ b/mods/ra/maps/survival01/rules.yaml @@ -0,0 +1,226 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: survival01.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: LANDCOM 66 HQS.\nTOP SECRET.\nTO: FIELD COMMANDER A34\n\nTHE SOVIETS STARTED HEAVY ATTACKS AT OUR POSITION.\n SURVIVE AND HOLD THE BASE UNTIL OUR FRENCH ALLIES ARRIVE.\n\nCONFIRMATION CODE 5593.\n\nTRANSMISSION ENDS. + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + Difficulties: Easy, Medium, Hard + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +powerproxy.paratroopers: + ParatroopersPower: + DropItems: E1,E1,E1,E2,E2 + +powerproxy.allied: + Inherits: powerproxy.paratroopers + ParatroopersPower: + DropItems: ARTY,ARTY,ARTY + +CAMERA.sam: + Inherits: CAMERA + RevealsShroud: + Range: 4c0 + +CAMERA.Large: + Inherits: CAMERA + RevealsShroud: + Range: 1000 + +AFLD.mission: + Inherits: AFLD + -AirstrikePower@spyplane: + -ParatroopersPower@paratroopers: + -AirstrikePower@parabombs: + -SupportPowerChargeBar: + RenderSprites: + Image: AFLD + +ATEK.mission: + Inherits: ATEK + GpsPower: + ChargeTime: 0 + Power: + Amount: 0 + -Selectable: + -Targetable: + -GivesBuildableArea: + -Huntable: + RenderSprites: + Image: ATEK + +GUN: + Valued: + Cost: 1000 + +E7: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: ~disabled + +HELI: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +ATEK: + Buildable: + Prerequisites: ~disabled + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled + +FACF: + Buildable: + Prerequisites: ~disabled + +WEAF: + Buildable: + Prerequisites: ~disabled + +SYRF: + Buildable: + Prerequisites: ~disabled + +DOMF: + Buildable: + Prerequisites: ~disabled + +ATEF: + Buildable: + Prerequisites: ~disabled + +MSLF: + Buildable: + Prerequisites: ~disabled + +PDOF: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/survival02/map.yaml b/mods/ra/maps/survival02/map.yaml index 6e9f859523..16c9beb93d 100644 --- a/mods/ra/maps/survival02/map.yaml +++ b/mods/ra/maps/survival02/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -16,6 +16,8 @@ Visibility: MissionSelector Type: Mission +LockPreview: True + Players: PlayerReference@Neutral: Name: Neutral @@ -1004,187 +1006,6 @@ Actors: Location: 39,37 Owner: Neutral -Smudges: +Rules: rules.yaml -Rules: - Player: - -ConquestVictoryConditions: - MissionObjectives: - EarlyGameOver: true - -EnemyWatcher: - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 5000 - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - LuaScript: - Scripts: survival02.lua - ObjectivesPanel: - PanelName: MISSION_OBJECTIVES - MissionData: - Briefing: INCOMING REPORT:\n\nCommander! The Soviets have rendered us useless...\nReports indicate Soviet reinforcements are coming to finish us off... The situation looks bleak...\n - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - ShortGameLocked: True - ShortGameEnabled: False - ^Infantry: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Tank: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Vehicle: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Building: - Tooltip: - GenericVisibility: Enemy - ShowOwnerRow: false - ^Wall: - Tooltip: - ShowOwnerRow: false - ^Husk: - Tooltip: - GenericVisibility: Enemy, Ally, Neutral - GenericStancePrefix: false - ShowOwnerRow: false - SovietSquad: - AlwaysVisible: - ParatroopersPower: - DropItems: E1,E1,E2,E4,E4 - QuantizedFacings: 8 - DisplayBeacon: false - SovietPlatoonUnits: - AlwaysVisible: - ParatroopersPower: - DropItems: E1,E1,E2,E4,E4,E1,E1,E2,E4,E4 - QuantizedFacings: 8 - DisplayBeacon: false - MINV: - Mine: - AvoidFriendly: yes - CAMERA: - RevealsShroud: - Range: 7c0 - ARTY: - Valued: - Cost: 1000 - GUN: - Valued: - Cost: 1000 - E7: - Buildable: - Prerequisites: ~disabled - SHOK: - Buildable: - Prerequisites: ~disabled - HELI: - Buildable: - Prerequisites: ~disabled - MSLO: - Buildable: - Prerequisites: ~disabled - GAP: - Buildable: - Prerequisites: ~disabled - SYRD: - Buildable: - Prerequisites: ~disabled - PDOX: - Buildable: - Prerequisites: ~disabled - AGUN: - Buildable: - Prerequisites: ~disabled - ATEK: - Buildable: - Prerequisites: ~disabled - 4TNK: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - TTNK: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - BRIK: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - QTNK: - Buildable: - Prerequisites: ~disabled - DTRK: - Buildable: - Prerequisites: ~disabled - -Sequences: - -VoxelSequences: - -Weapons: - ParaBomb: - ROF: 5 - Range: 7c0 - Report: chute1.aud - Projectile: GravityBomb - Image: BOMBLET - -OpenSequence: - Warhead@1Dam: SpreadDamage - Spread: 150 - Damage: 3500 - Versus: - None: 125 - Wood: 100 - Light: 60 - Heavy: 50 - Concrete: 25 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - Warhead@2Smu: LeaveSmudge - SmudgeType: Crater - Warhead@3Eff: CreateEffect - Explosions: napalm - ImpactSounds: firebl3.aud - InvalidImpactTypes: Water - Warhead@4EffWater: CreateEffect - Explosions: napalm - ImpactSounds: splash9.aud - ValidImpactTypes: Water - -Voices: - -Music: - -Notifications: - -Translations: +Weapons: weapons.yaml diff --git a/mods/ra/maps/survival02/rules.yaml b/mods/ra/maps/survival02/rules.yaml new file mode 100644 index 0000000000..0f3cfaf471 --- /dev/null +++ b/mods/ra/maps/survival02/rules.yaml @@ -0,0 +1,174 @@ +Player: + -ConquestVictoryConditions: + MissionObjectives: + EarlyGameOver: true + -EnemyWatcher: + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 5000 + +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + LuaScript: + Scripts: survival02.lua + ObjectivesPanel: + PanelName: MISSION_OBJECTIVES + MissionData: + Briefing: INCOMING REPORT:\n\nCommander! The Soviets have rendered us useless...\nReports indicate Soviet reinforcements are coming to finish us off... The situation looks bleak...\n + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + ShortGameLocked: True + ShortGameEnabled: False + +^Infantry: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Tank: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Vehicle: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Building: + Tooltip: + GenericVisibility: Enemy + ShowOwnerRow: false + +^Wall: + Tooltip: + ShowOwnerRow: false + +^Husk: + Tooltip: + GenericVisibility: Enemy, Ally, Neutral + GenericStancePrefix: false + ShowOwnerRow: false + +SovietSquad: + AlwaysVisible: + ParatroopersPower: + DropItems: E1,E1,E2,E4,E4 + QuantizedFacings: 8 + DisplayBeacon: false + +SovietPlatoonUnits: + AlwaysVisible: + ParatroopersPower: + DropItems: E1,E1,E2,E4,E4,E1,E1,E2,E4,E4 + QuantizedFacings: 8 + DisplayBeacon: false + +MINV: + Mine: + AvoidFriendly: yes + +CAMERA: + RevealsShroud: + Range: 7c0 + +ARTY: + Valued: + Cost: 1000 + +GUN: + Valued: + Cost: 1000 + +E7: + Buildable: + Prerequisites: ~disabled + +SHOK: + Buildable: + Prerequisites: ~disabled + +HELI: + Buildable: + Prerequisites: ~disabled + +MSLO: + Buildable: + Prerequisites: ~disabled + +GAP: + Buildable: + Prerequisites: ~disabled + +SYRD: + Buildable: + Prerequisites: ~disabled + +PDOX: + Buildable: + Prerequisites: ~disabled + +AGUN: + Buildable: + Prerequisites: ~disabled + +ATEK: + Buildable: + Prerequisites: ~disabled + +4TNK: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +TTNK: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +BRIK: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +QTNK: + Buildable: + Prerequisites: ~disabled + +DTRK: + Buildable: + Prerequisites: ~disabled diff --git a/mods/ra/maps/survival02/weapons.yaml b/mods/ra/maps/survival02/weapons.yaml new file mode 100644 index 0000000000..b66f3bfdcc --- /dev/null +++ b/mods/ra/maps/survival02/weapons.yaml @@ -0,0 +1,27 @@ +ParaBomb: + ROF: 5 + Range: 7c0 + Report: chute1.aud + Projectile: GravityBomb + Image: BOMBLET + -OpenSequence: + Warhead@1Dam: SpreadDamage + Spread: 150 + Damage: 3500 + Versus: + None: 125 + Wood: 100 + Light: 60 + Heavy: 50 + Concrete: 25 + DamageTypes: Prone50Percent, TriggerProne, FireDeath + Warhead@2Smu: LeaveSmudge + SmudgeType: Crater + Warhead@3Eff: CreateEffect + Explosions: napalm + ImpactSounds: firebl3.aud + InvalidImpactTypes: Water + Warhead@4EffWater: CreateEffect + Explosions: napalm + ImpactSounds: splash9.aud + ValidImpactTypes: Water diff --git a/mods/ra/maps/synergy.oramap b/mods/ra/maps/synergy.oramap index a3010423a7..e450b347d6 100644 Binary files a/mods/ra/maps/synergy.oramap and b/mods/ra/maps/synergy.oramap differ diff --git a/mods/ra/maps/tabula-rasa.oramap b/mods/ra/maps/tabula-rasa.oramap index dd7c3c789b..f54d35e4f5 100644 Binary files a/mods/ra/maps/tabula-rasa.oramap and b/mods/ra/maps/tabula-rasa.oramap differ diff --git a/mods/ra/maps/tainted-peak.oramap b/mods/ra/maps/tainted-peak.oramap index 12c18469ec..d77f055636 100644 Binary files a/mods/ra/maps/tainted-peak.oramap and b/mods/ra/maps/tainted-peak.oramap differ diff --git a/mods/ra/maps/temperal.oramap b/mods/ra/maps/temperal.oramap index ac9141a5e3..9cc8deba0f 100644 Binary files a/mods/ra/maps/temperal.oramap and b/mods/ra/maps/temperal.oramap differ diff --git a/mods/ra/maps/tournament-island.oramap b/mods/ra/maps/tournament-island.oramap index 3a12ca9223..70bbc78739 100644 Binary files a/mods/ra/maps/tournament-island.oramap and b/mods/ra/maps/tournament-island.oramap differ diff --git a/mods/ra/maps/training-camp/map.png b/mods/ra/maps/training-camp/map.png new file mode 100644 index 0000000000..11ab3150d2 Binary files /dev/null and b/mods/ra/maps/training-camp/map.png differ diff --git a/mods/ra/maps/training-camp/map.yaml b/mods/ra/maps/training-camp/map.yaml index 6be043de75..8b06c9a627 100644 --- a/mods/ra/maps/training-camp/map.yaml +++ b/mods/ra/maps/training-camp/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ra @@ -790,279 +790,4 @@ Actors: Location: 37,33 Owner: Neutral -Smudges: - -Rules: - World: - -CrateSpawner: - -SpawnMPUnits: - -MPStartLocations: - MapBuildRadius: - AllyBuildRadiusLocked: True - AllyBuildRadiusEnabled: False - MapOptions: - TechLevelLocked: True - TechLevel: Unrestricted - Player: - ClassicProductionQueue@Infantry: - BuildSpeed: 1 - ClassicProductionQueue@Vehicle: - BuildSpeed: 1 - Shroud: - FogLocked: True - FogEnabled: True - ExploredMapLocked: True - ExploredMapEnabled: False - PlayerResources: - DefaultCashLocked: True - DefaultCash: 100 - OILB: - Health: - HP: 6000 - BARR: - Buildable: - Prerequisites: ~disabled - Health: - HP: 5000 - Production: - Produces: Building, Infantry, Soldier, Dog - BaseProvider: - Range: 16c0 - Power: - Amount: 0 - WEAP: - Buildable: - Prerequisites: ~disabled - Health: - HP: 10000 - Valued: - Cost: 2000 - Power: - Amount: 0 - FTUR: - Power: - Amount: 0 - SPEN: - Buildable: - Prerequisites: ~disabled - DOME: - Buildable: - Prerequisites: ~disabled - PROC: - Buildable: - Prerequisites: ~disabled - SILO: - Buildable: - Prerequisites: ~disabled - APWR: - Buildable: - Prerequisites: ~disabled - STEK: - Buildable: - Prerequisites: ~disabled - FIX: - Buildable: - Prerequisites: ~disabled - POWR: - Buildable: - Prerequisites: ~disabled - MIG: - Buildable: - Prerequisites: afld - Valued: - Cost: 2000 - YAK: - Buildable: - Prerequisites: afld - Valued: - Cost: 150 - TRAN: - Buildable: - Prerequisites: hpad - Valued: - Cost: 150 - HIND: - Buildable: - Prerequisites: hpad - Valued: - Cost: 200 - HELI: - Buildable: - Prerequisites: hpad - Valued: - Cost: 200 - HPAD: - Buildable: - Prerequisites: barr - Valued: - Cost: 200 - Power: - Amount: 0 - FENC: - Buildable: - Queue: Building - Prerequisites: barr - Valued: - Cost: 10 - AFLD: - Buildable: - Prerequisites: barr - Valued: - Cost: 200 - Power: - Amount: 0 - DOG: - Buildable: - Prerequisites: barr - Valued: - Cost: 20 - E1: - Buildable: - Prerequisites: barr - Valued: - Cost: 20 - E2: - Buildable: - Prerequisites: barr - Valued: - Cost: 32 - E3: - Buildable: - Prerequisites: barr - Valued: - Cost: 60 - E4: - Buildable: - Prerequisites: barr - Valued: - Cost: 60 - E6: - Buildable: - Prerequisites: barr - Valued: - Cost: 100 - SPY: - Buildable: - Prerequisites: barr - Valued: - Cost: 100 - E7: - Buildable: - Prerequisites: barr - Valued: - Cost: 400 - MEDI: - Buildable: - Prerequisites: barr - Valued: - Cost: 60 - SHOK: - Buildable: - Prerequisites: barr - Valued: - Cost: 200 - SNIPER: - Buildable: - Prerequisites: barr - Valued: - Cost: 200 - HIJACKER: - Buildable: - Prerequisites: ~disabled - V2RL: - Buildable: - Prerequisites: weap - Valued: - Cost: 1250 - 1TNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 125 - 2TNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 175 - 3TNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 250 - 4TNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 500 - ARTY: - Buildable: - Prerequisites: weap - Valued: - Cost: 1000 - HARV: - Buildable: - Prerequisites: ~disabled - MCV: - Buildable: - Prerequisites: ~disabled - MNLY.AP: - Buildable: - Prerequisites: ~disabled - MNLY.AT: - Buildable: - Prerequisites: ~disabled - TRUK: - Buildable: - Prerequisites: ~disabled - STNK: - Buildable: - Prerequisites: ~disabled - MRJ: - Buildable: - Prerequisites: ~disabled - MGG: - Buildable: - Prerequisites: ~disabled - CTNK: - Buildable: - Prerequisites: ~disabled - JEEP: - Buildable: - Prerequisites: weap - Valued: - Cost: 50 - APC: - Buildable: - Prerequisites: weap - Valued: - Cost: 250 - TTNK: - Buildable: - Prerequisites: weap - Valued: - Cost: 200 - FTRK: - Buildable: - Prerequisites: weap - Valued: - Cost: 150 - DTRK: - Buildable: - BuildPaletteOrder: 10 - Prerequisites: weap - Valued: - Cost: 150 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ra/maps/training-camp/rules.yaml b/mods/ra/maps/training-camp/rules.yaml new file mode 100644 index 0000000000..c81395d0af --- /dev/null +++ b/mods/ra/maps/training-camp/rules.yaml @@ -0,0 +1,312 @@ +World: + -CrateSpawner: + -SpawnMPUnits: + -MPStartLocations: + MapBuildRadius: + AllyBuildRadiusLocked: True + AllyBuildRadiusEnabled: False + MapOptions: + TechLevelLocked: True + TechLevel: Unrestricted + +Player: + ClassicProductionQueue@Infantry: + BuildSpeed: 1 + ClassicProductionQueue@Vehicle: + BuildSpeed: 1 + Shroud: + FogLocked: True + FogEnabled: True + ExploredMapLocked: True + ExploredMapEnabled: False + PlayerResources: + DefaultCashLocked: True + DefaultCash: 100 + +OILB: + Health: + HP: 6000 + +BARR: + Buildable: + Prerequisites: ~disabled + Health: + HP: 5000 + Production: + Produces: Building, Infantry, Soldier, Dog + BaseProvider: + Range: 16c0 + Power: + Amount: 0 + +WEAP: + Buildable: + Prerequisites: ~disabled + Health: + HP: 10000 + Valued: + Cost: 2000 + Power: + Amount: 0 + +FTUR: + Power: + Amount: 0 + +SPEN: + Buildable: + Prerequisites: ~disabled + +DOME: + Buildable: + Prerequisites: ~disabled + +PROC: + Buildable: + Prerequisites: ~disabled + +SILO: + Buildable: + Prerequisites: ~disabled + +APWR: + Buildable: + Prerequisites: ~disabled + +STEK: + Buildable: + Prerequisites: ~disabled + +FIX: + Buildable: + Prerequisites: ~disabled + +POWR: + Buildable: + Prerequisites: ~disabled + +MIG: + Buildable: + Prerequisites: afld + Valued: + Cost: 2000 + +YAK: + Buildable: + Prerequisites: afld + Valued: + Cost: 150 + +TRAN: + Buildable: + Prerequisites: hpad + Valued: + Cost: 150 + +HIND: + Buildable: + Prerequisites: hpad + Valued: + Cost: 200 + +HELI: + Buildable: + Prerequisites: hpad + Valued: + Cost: 200 + +HPAD: + Buildable: + Prerequisites: barr + Valued: + Cost: 200 + Power: + Amount: 0 + +FENC: + Buildable: + Queue: Building + Prerequisites: barr + Valued: + Cost: 10 + +AFLD: + Buildable: + Prerequisites: barr + Valued: + Cost: 200 + Power: + Amount: 0 + +DOG: + Buildable: + Prerequisites: barr + Valued: + Cost: 20 + +E1: + Buildable: + Prerequisites: barr + Valued: + Cost: 20 + +E2: + Buildable: + Prerequisites: barr + Valued: + Cost: 32 + +E3: + Buildable: + Prerequisites: barr + Valued: + Cost: 60 + +E4: + Buildable: + Prerequisites: barr + Valued: + Cost: 60 + +E6: + Buildable: + Prerequisites: barr + Valued: + Cost: 100 + +SPY: + Buildable: + Prerequisites: barr + Valued: + Cost: 100 + +E7: + Buildable: + Prerequisites: barr + Valued: + Cost: 400 + +MEDI: + Buildable: + Prerequisites: barr + Valued: + Cost: 60 + +SHOK: + Buildable: + Prerequisites: barr + Valued: + Cost: 200 + +SNIPER: + Buildable: + Prerequisites: barr + Valued: + Cost: 200 + +HIJACKER: + Buildable: + Prerequisites: ~disabled + +V2RL: + Buildable: + Prerequisites: weap + Valued: + Cost: 1250 + +1TNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 125 + +2TNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 175 + +3TNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 250 + +4TNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 500 + +ARTY: + Buildable: + Prerequisites: weap + Valued: + Cost: 1000 + +HARV: + Buildable: + Prerequisites: ~disabled + +MCV: + Buildable: + Prerequisites: ~disabled + +MNLY.AP: + Buildable: + Prerequisites: ~disabled + +MNLY.AT: + Buildable: + Prerequisites: ~disabled + +TRUK: + Buildable: + Prerequisites: ~disabled + +STNK: + Buildable: + Prerequisites: ~disabled + +MRJ: + Buildable: + Prerequisites: ~disabled + +MGG: + Buildable: + Prerequisites: ~disabled + +CTNK: + Buildable: + Prerequisites: ~disabled + +JEEP: + Buildable: + Prerequisites: weap + Valued: + Cost: 50 + +APC: + Buildable: + Prerequisites: weap + Valued: + Cost: 250 + +TTNK: + Buildable: + Prerequisites: weap + Valued: + Cost: 200 + +FTRK: + Buildable: + Prerequisites: weap + Valued: + Cost: 150 + +DTRK: + Buildable: + BuildPaletteOrder: 10 + Prerequisites: weap + Valued: + Cost: 150 diff --git a/mods/ra/maps/vegetation.oramap b/mods/ra/maps/vegetation.oramap index 5f98766c38..5202407339 100644 Binary files a/mods/ra/maps/vegetation.oramap and b/mods/ra/maps/vegetation.oramap differ diff --git a/mods/ts/maps/arivruns/map.png b/mods/ts/maps/arivruns/map.png new file mode 100644 index 0000000000..bcb6f2c759 Binary files /dev/null and b/mods/ts/maps/arivruns/map.png differ diff --git a/mods/ts/maps/arivruns/map.yaml b/mods/ts/maps/arivruns/map.yaml index fc0c150619..6aac0348d3 100644 --- a/mods/ts/maps/arivruns/map.yaml +++ b/mods/ts/maps/arivruns/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -1293,23 +1293,4 @@ Actors: Owner: Neutral Location: 115,-15 -Smudges: - -Rules: - World: - GlobalLightingPaletteEffect: - Ambient: 0.72 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/arivruns/rules.yaml b/mods/ts/maps/arivruns/rules.yaml new file mode 100644 index 0000000000..f8fa63e382 --- /dev/null +++ b/mods/ts/maps/arivruns/rules.yaml @@ -0,0 +1,3 @@ +World: + GlobalLightingPaletteEffect: + Ambient: 0.72 diff --git a/mods/ts/maps/cliffsin/map.png b/mods/ts/maps/cliffsin/map.png new file mode 100644 index 0000000000..14e4b6ebdc Binary files /dev/null and b/mods/ts/maps/cliffsin/map.png differ diff --git a/mods/ts/maps/cliffsin/map.yaml b/mods/ts/maps/cliffsin/map.yaml index 3410b3ed61..49aa13d7bd 100644 --- a/mods/ts/maps/cliffsin/map.yaml +++ b/mods/ts/maps/cliffsin/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -1499,23 +1499,4 @@ Actors: Location: 123,87 Owner: Neutral -Smudges: - -Rules: - World: - GlobalLightingPaletteEffect: - Ambient: 0.68 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/cliffsin/rules.yaml b/mods/ts/maps/cliffsin/rules.yaml new file mode 100644 index 0000000000..60f2701725 --- /dev/null +++ b/mods/ts/maps/cliffsin/rules.yaml @@ -0,0 +1,3 @@ +World: + GlobalLightingPaletteEffect: + Ambient: 0.68 diff --git a/mods/ts/maps/gdi4a/map.png b/mods/ts/maps/gdi4a/map.png new file mode 100644 index 0000000000..032a0a5ff3 Binary files /dev/null and b/mods/ts/maps/gdi4a/map.png differ diff --git a/mods/ts/maps/gdi4a/map.yaml b/mods/ts/maps/gdi4a/map.yaml index 563198a288..6a02f07652 100644 --- a/mods/ts/maps/gdi4a/map.yaml +++ b/mods/ts/maps/gdi4a/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -1736,33 +1736,4 @@ Actors: Owner: Neutral Location: 111,13 -Smudges: - -Rules: - World: - -StartGameNotification: - -SpawnMPUnits: - -MPStartLocations: - MusicPlaylist: - BackgroundMusic: intro - GlobalLightingPaletteEffect: - Red: 1.1 - Green: 1.1 - Blue: 1 - Ambient: 0.55 - LuaScript: - Scripts: map.lua - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/gdi4a/rules.yaml b/mods/ts/maps/gdi4a/rules.yaml new file mode 100644 index 0000000000..adfe77c8ab --- /dev/null +++ b/mods/ts/maps/gdi4a/rules.yaml @@ -0,0 +1,13 @@ +World: + -StartGameNotification: + -SpawnMPUnits: + -MPStartLocations: + MusicPlaylist: + BackgroundMusic: intro + GlobalLightingPaletteEffect: + Red: 1.1 + Green: 1.1 + Blue: 1 + Ambient: 0.55 + LuaScript: + Scripts: map.lua diff --git a/mods/ts/maps/karasjok/map.png b/mods/ts/maps/karasjok/map.png new file mode 100644 index 0000000000..ded07b0a65 Binary files /dev/null and b/mods/ts/maps/karasjok/map.png differ diff --git a/mods/ts/maps/karasjok/map.yaml b/mods/ts/maps/karasjok/map.yaml index 7ab542ddc9..4969205cef 100644 --- a/mods/ts/maps/karasjok/map.yaml +++ b/mods/ts/maps/karasjok/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -1554,26 +1554,4 @@ Actors: Location: 134,73 Owner: Neutral -Smudges: - -Rules: - World: - GlobalLightingPaletteEffect: - Red: 0.5 - Blue: 0.7 - Green: 0.7 - Ambient: 0.78 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/karasjok/rules.yaml b/mods/ts/maps/karasjok/rules.yaml new file mode 100644 index 0000000000..de64efd8cd --- /dev/null +++ b/mods/ts/maps/karasjok/rules.yaml @@ -0,0 +1,6 @@ +World: + GlobalLightingPaletteEffect: + Red: 0.5 + Blue: 0.7 + Green: 0.7 + Ambient: 0.78 diff --git a/mods/ts/maps/rivrrad4/map.png b/mods/ts/maps/rivrrad4/map.png new file mode 100644 index 0000000000..c9626645c1 Binary files /dev/null and b/mods/ts/maps/rivrrad4/map.png differ diff --git a/mods/ts/maps/rivrrad4/map.yaml b/mods/ts/maps/rivrrad4/map.yaml index c0d9324730..129d01f1f1 100644 --- a/mods/ts/maps/rivrrad4/map.yaml +++ b/mods/ts/maps/rivrrad4/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -868,23 +868,4 @@ Actors: Location: 254,39 Owner: Neutral -Smudges: - -Rules: - World: - GlobalLightingPaletteEffect: - Ambient: 0.85 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/rivrrad4/rules.yaml b/mods/ts/maps/rivrrad4/rules.yaml new file mode 100644 index 0000000000..7493f42ace --- /dev/null +++ b/mods/ts/maps/rivrrad4/rules.yaml @@ -0,0 +1,3 @@ +World: + GlobalLightingPaletteEffect: + Ambient: 0.85 diff --git a/mods/ts/maps/springs/map.png b/mods/ts/maps/springs/map.png new file mode 100644 index 0000000000..5b18390197 Binary files /dev/null and b/mods/ts/maps/springs/map.png differ diff --git a/mods/ts/maps/springs/map.yaml b/mods/ts/maps/springs/map.yaml index 351ea171fc..13f41bb60e 100644 --- a/mods/ts/maps/springs/map.yaml +++ b/mods/ts/maps/springs/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -853,23 +853,4 @@ Actors: Owner: Neutral Location: 95,3 -Smudges: - -Rules: - World: - GlobalLightingPaletteEffect: - Ambient: 0.62 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/springs/rules.yaml b/mods/ts/maps/springs/rules.yaml new file mode 100644 index 0000000000..4ff8dd87ae --- /dev/null +++ b/mods/ts/maps/springs/rules.yaml @@ -0,0 +1,3 @@ +World: + GlobalLightingPaletteEffect: + Ambient: 0.62 diff --git a/mods/ts/maps/t_garden/map.png b/mods/ts/maps/t_garden/map.png new file mode 100644 index 0000000000..c9508b8d66 Binary files /dev/null and b/mods/ts/maps/t_garden/map.png differ diff --git a/mods/ts/maps/t_garden/map.yaml b/mods/ts/maps/t_garden/map.yaml index b93aec77d8..d632589d50 100644 --- a/mods/ts/maps/t_garden/map.yaml +++ b/mods/ts/maps/t_garden/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -830,26 +830,4 @@ Actors: Location: 99,74 Owner: Neutral -Smudges: - -Rules: - World: - GlobalLightingPaletteEffect: - Red: 1 - Blue: 1 - Green: 1 - Ambient: 0.79 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/t_garden/rules.yaml b/mods/ts/maps/t_garden/rules.yaml new file mode 100644 index 0000000000..005365fd83 --- /dev/null +++ b/mods/ts/maps/t_garden/rules.yaml @@ -0,0 +1,6 @@ +World: + GlobalLightingPaletteEffect: + Red: 1 + Blue: 1 + Green: 1 + Ambient: 0.79 diff --git a/mods/ts/maps/tactical/map.png b/mods/ts/maps/tactical/map.png new file mode 100644 index 0000000000..93fab7499a Binary files /dev/null and b/mods/ts/maps/tactical/map.png differ diff --git a/mods/ts/maps/tactical/map.yaml b/mods/ts/maps/tactical/map.yaml index 5aeaad64f1..96783707ed 100644 --- a/mods/ts/maps/tactical/map.yaml +++ b/mods/ts/maps/tactical/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -800,23 +800,4 @@ Actors: Location: 167,83 Owner: Neutral -Smudges: - -Rules: - World: - GlobalLightingPaletteEffect: - Ambient: 0.85 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/tactical/rules.yaml b/mods/ts/maps/tactical/rules.yaml new file mode 100644 index 0000000000..7493f42ace --- /dev/null +++ b/mods/ts/maps/tactical/rules.yaml @@ -0,0 +1,3 @@ +World: + GlobalLightingPaletteEffect: + Ambient: 0.85 diff --git a/mods/ts/maps/terrace/map.png b/mods/ts/maps/terrace/map.png new file mode 100644 index 0000000000..8fc35ab839 Binary files /dev/null and b/mods/ts/maps/terrace/map.png differ diff --git a/mods/ts/maps/terrace/map.yaml b/mods/ts/maps/terrace/map.yaml index 77bf857cf7..3263c9db70 100644 --- a/mods/ts/maps/terrace/map.yaml +++ b/mods/ts/maps/terrace/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -509,23 +509,4 @@ Actors: Location: 84,60 Owner: Neutral -Smudges: - -Rules: - World: - GlobalLightingPaletteEffect: - Ambient: 0.63 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/terrace/rules.yaml b/mods/ts/maps/terrace/rules.yaml new file mode 100644 index 0000000000..7bd64ec853 --- /dev/null +++ b/mods/ts/maps/terrace/rules.yaml @@ -0,0 +1,3 @@ +World: + GlobalLightingPaletteEffect: + Ambient: 0.63 diff --git a/mods/ts/maps/tread_l/map.png b/mods/ts/maps/tread_l/map.png new file mode 100644 index 0000000000..8cf5b8d84a Binary files /dev/null and b/mods/ts/maps/tread_l/map.png differ diff --git a/mods/ts/maps/tread_l/map.yaml b/mods/ts/maps/tread_l/map.yaml index 7e1b45a6c9..a27cd3c2fc 100644 --- a/mods/ts/maps/tread_l/map.yaml +++ b/mods/ts/maps/tread_l/map.yaml @@ -1,4 +1,4 @@ -MapFormat: 9 +MapFormat: 10 RequiresMod: ts @@ -1213,23 +1213,4 @@ Actors: Location: 123,20 Owner: Neutral -Smudges: - -Rules: - World: - GlobalLightingPaletteEffect: - Ambient: 0.75 - -Sequences: - -VoxelSequences: - -Weapons: - -Voices: - -Music: - -Notifications: - -Translations: +Rules: rules.yaml diff --git a/mods/ts/maps/tread_l/rules.yaml b/mods/ts/maps/tread_l/rules.yaml new file mode 100644 index 0000000000..9fad12c1dc --- /dev/null +++ b/mods/ts/maps/tread_l/rules.yaml @@ -0,0 +1,3 @@ +World: + GlobalLightingPaletteEffect: + Ambient: 0.75