Tough Cookie
Advanced
Click to see custom Rules.
Edit map info
Reports of Tough Cookie
Lint check for release-20210321
Testing map: Tough Cookie
OpenRA.Utility(1,1): Error: System.AggregateException: One or more errors occurred. (MiniYaml.Merge, duplicate values found for the following keys: MissionData: [MissionData (at rules_try_2.yaml:21),MissionData (at rules_try_2.yaml:23)]) ---> System.ArgumentException: MiniYaml.Merge, duplicate values found for the following keys: MissionData: [MissionData (at rules_try_2.yaml:21),MissionData (at rules_try_2.yaml:23)]
at OpenRA.Exts.ToDictionaryWithConflictLog[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.String debugName, System.Func`2[T,TResult] logKey, System.Func`2[T,TResult] logValue) [0x00164] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.Exts.ToDictionaryWithConflictLog[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.String debugName, System.Func`2[T,TResult] logKey, System.Func`2[T,TResult] logValue) [0x00000] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.MiniYaml.MergePartial (System.Collections.Generic.List`1[T] existingNodes, System.Collections.Generic.List`1[T] overrideNodes) [0x00065] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.MiniYaml.MergePartial (OpenRA.MiniYaml existingNodes, OpenRA.MiniYaml overrideNodes) [0x00014] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.MiniYaml.MergePartial (System.Collections.Generic.List`1[T] existingNodes, System.Collections.Generic.List`1[T] overrideNodes) [0x0011e] in <24adfa0d4e934ea8abdc965bd2260629>:0
at System.Linq.Enumerable.Aggregate[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`3[T1,T2,TResult] func) [0x00042] in <6f6cfe3dc7984568b6f7767c7378b138>:0
at OpenRA.MiniYaml.Merge (System.Collections.Generic.IEnumerable`1[T] sources) [0x00044] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.MiniYaml.Load (OpenRA.FileSystem.IReadOnlyFileSystem fileSystem, System.Collections.Generic.IEnumerable`1[T] files, OpenRA.MiniYaml mapRules) [0x0006b] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.Ruleset.MergeOrDefault[T] (System.String name, OpenRA.FileSystem.IReadOnlyFileSystem fileSystem, System.Collections.Generic.IEnumerable`1[T] files, OpenRA.MiniYaml additional, OpenRA.IReadOnlyDictionary`2[TKey,TValue] defaults, System.Func`2[T,TResult] makeObject, System.Func`2[T,TResult] filterNode) [0x00018] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.Ruleset+<>c__DisplayClass14_0.b__0 () [0x00000] in <24adfa0d4e934ea8abdc965bd2260629>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <285579f54af44a2ca048dad6be20e190>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <285579f54af44a2ca048dad6be20e190>:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <285579f54af44a2ca048dad6be20e190>:0
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <285579f54af44a2ca048dad6be20e190>:0
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout) [0x00000] in <285579f54af44a2ca048dad6be20e190>:0
at OpenRA.Ruleset.Load (OpenRA.ModData modData, OpenRA.FileSystem.IReadOnlyFileSystem fileSystem, System.String tileSet, OpenRA.MiniYaml mapRules, OpenRA.MiniYaml mapWeapons, OpenRA.MiniYaml mapVoices, OpenRA.MiniYaml mapNotifications, OpenRA.MiniYaml mapMusic, OpenRA.MiniYaml mapSequences, OpenRA.MiniYaml mapModelSequences) [0x000ba] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.Map.PostInit () [0x00000] in <24adfa0d4e934ea8abdc965bd2260629>:0
---> (Inner Exception #0) System.ArgumentException: MiniYaml.Merge, duplicate values found for the following keys: MissionData: [MissionData (at rules_try_2.yaml:21),MissionData (at rules_try_2.yaml:23)]
at OpenRA.Exts.ToDictionaryWithConflictLog[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.Func`2[T,TResult] elementSelector, System.String debugName, System.Func`2[T,TResult] logKey, System.Func`2[T,TResult] logValue) [0x00164] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.Exts.ToDictionaryWithConflictLog[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector, System.String debugName, System.Func`2[T,TResult] logKey, System.Func`2[T,TResult] logValue) [0x00000] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.MiniYaml.MergePartial (System.Collections.Generic.List`1[T] existingNodes, System.Collections.Generic.List`1[T] overrideNodes) [0x00065] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.MiniYaml.MergePartial (OpenRA.MiniYaml existingNodes, OpenRA.MiniYaml overrideNodes) [0x00014] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.MiniYaml.MergePartial (System.Collections.Generic.List`1[T] existingNodes, System.Collections.Generic.List`1[T] overrideNodes) [0x0011e] in <24adfa0d4e934ea8abdc965bd2260629>:0
at System.Linq.Enumerable.Aggregate[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`3[T1,T2,TResult] func) [0x00042] in <6f6cfe3dc7984568b6f7767c7378b138>:0
at OpenRA.MiniYaml.Merge (System.Collections.Generic.IEnumerable`1[T] sources) [0x00044] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.MiniYaml.Load (OpenRA.FileSystem.IReadOnlyFileSystem fileSystem, System.Collections.Generic.IEnumerable`1[T] files, OpenRA.MiniYaml mapRules) [0x0006b] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.Ruleset.MergeOrDefault[T] (System.String name, OpenRA.FileSystem.IReadOnlyFileSystem fileSystem, System.Collections.Generic.IEnumerable`1[T] files, OpenRA.MiniYaml additional, OpenRA.IReadOnlyDictionary`2[TKey,TValue] defaults, System.Func`2[T,TResult] makeObject, System.Func`2[T,TResult] filterNode) [0x00018] in <24adfa0d4e934ea8abdc965bd2260629>:0
at OpenRA.Ruleset+<>c__DisplayClass14_0.b__0 () [0x00000] in <24adfa0d4e934ea8abdc965bd2260629>:0
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in <285579f54af44a2ca048dad6be20e190>:0
at System.Threading.Tasks.Task.Execute () [0x00000] in <285579f54af44a2ca048dad6be20e190>:0 <---
Errors: 1
Previous revision | Revision | Next revision |
---|---|---|
2 |
Comments for revision 3:
Some rights reserved: Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International. External graphics and sounds are not covered by the license.
Mod:
RA
File Size:
22.3 KB
Categories:
Conquest
Uploader:
Players:
6
Tileset:
SNOW
Size:
100x200
MapFormat:
11
Published:
Oct. 03 - 2021
Downloading:
Parsed by: release-20210321
Lint check status:
release-20210321
Rating:
0.0
Viewed:
237
Downloaded:
81
Played:
0
There are a lot of misplaced tiles, which are not even connected properly. You should also add at least one mine to each base of the 5 players at the bottom, as the resources are too far away at the start, and the top player can rush them very fast. Also try to add some more terrain variety, as the map is basically one big open space.
As to the player slots where the last slot must be spawn F, you can lock the spawns to player slots in the map.yaml file:
Close to the top you should find player references, it should look like this:
PlayerReference@Multi0:
Name: Multi0
Playable: True
Faction: Random
Enemies: Creeps
If you add this:
LockSpawn: True
Spawn: 1 #Numbers correspond to slots
LockTeam: True
Team: 1
you can lock the spawns and teams according to slots - Multi0 is slot 1, Multi1 is slot 2 and so on. Note that it must be on the same level as the Enemies or Faction traits are.
The spaces (offsets by the code) were automatically deleted by the website, but you should look at the yaml file where you will find the correct spacing.
Thank you for taking the time to look at my map!!! And for offering your advice. I agree, it needs a lot of work. I just threw it together so my buddies and I would have a fresh challenge on game night. I'm about to revisit the editing.
Thanks!
I'm glad I could help : ) There are a couple useful sites that concern lua scripting and yaml editing that really helped me when I was starting:
Yaml traits: https://docs.openra.net/en/latest/release/traits/ - It's basically a place where all the things that could describe an object in the game world are. There are usually references as to what each trait should be attached to.
Lua scripting commands: https://docs.openra.net/en/latest/release/lua/ - It doesn't explain the basics of lua scripting bu it covers the commands that are used by the game and which you could use in a map.
Github Wiki: https://github.com/OpenRA/OpenRA/wiki/ - there is a quite nice guide on map creating (mainly about editing yaml files) and scripting.
Basic map options: https://github.com/OpenRA/OpenRA/wiki/Map-Options - Here you can find how to edit options in a map
World coordinates system: https://github.com/OpenRA/OpenRA/wiki/World-Coordinate-System - This will help you to understand 2D and 1D world coordinates.
Those are the main ones, but on the Github Wiki you can find many more guides.