I'm making a small RA mod with a "resistance" faction but I've run into a snag. I wanted to bring over Nod style vehicle production, but whenever I start the game I get this error:
Description:
Stopped working
Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: openra.game.exe
Problem Signature 02: 1.0.0.0
Problem Signature 03: 4fa2f03f
Problem Signature 04: OpenRA.Game
Problem Signature 05: 1.0.0.0
Problem Signature 06: 4fa2f03f
Problem Signature 07: 15a
Problem Signature 08: 19
Problem Signature 09: System.InvalidOperationException
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
I don't really know if it'll help. I'm using almost a direct copy of the airstrip with a changed id. (It's AIRS not AFLD)
I've uploaded a copy of my mod. (I don't think there is anything that's not mine in it, but I can't remember)
System.InvalidOperationException: Cannot locate type: ProductionAirdropInfo
at OpenRA.ObjectCreator.<MissingTypeAction>m__55(String s)
at OpenRA.ObjectCreator.CreateObject[T](String className, Dictionary`2 args)
at OpenRA.ActorInfo..ctor(String name, MiniYaml node, Dictionary`2 allUnits)
at OpenRA.Rules.<LoadRules>m__34(MiniYamlNode k, Dictionary`2 y)
at OpenRA.Rules.<LoadYamlRules>c__AnonStorey28`1.<>m__3D(MiniYamlNode kv)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at OpenRA.Rules.LoadYamlRules[T](String[] files, List`1 dict, Func`3 f)
at OpenRA.Rules.LoadRules(Manifest m, Map map)
at OpenRA.ModData.PrepareMap(String uid)
at OpenRA.Game.StartGame(String mapUID, Boolean isShellmap)
at OpenRA.Game.LoadShellMap()
at OpenRA.Mods.RA.RALoadScreen.TestAndContinue()
at OpenRA.Mods.RA.RALoadScreen.StartGame()
at OpenRA.Game.InitializeWithMods(String[] mods)
at OpenRA.Mods.RA.Widgets.Logic.ModBrowserLogic.<LoadMod>c__AnonStorey102.<>m__26A()
at System.Action.Invoke()
at OpenRA.FileFormats.ActionQueue.PerformActions()
at OpenRA.Game.Tick(OrderManager orderManager, Viewport viewPort)
at OpenRA.Game.Run()
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)
EDIT: Tested it. However, you will need to add a C17 SHP with sequences in order to get it to work. That SHP must be named C17. With a conversion tool, you can convert the CNC C17 to get it to work.
Make sure to add the sequences for the C17 as well.
Last edited by Generalcamo on Mon Jun 11, 2012 12:35 am, edited 2 times in total.
Well that cnc dll thing solved that issue but I got this when I built a unit (mind you I pretty much copied the c17 to my mod's aircraft file and just changed its render image).
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
at System.ThrowHelper.ThrowKeyNotFoundException()
at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
at OpenRA.Mods.Cnc.ProductionAirdrop.<Produce>c__AnonStorey11.<>m__1C(World w)
at OpenRA.World.Tick()
at OpenRA.Game.Tick(OrderManager orderManager)
at OpenRA.Game.Tick(OrderManager orderManager, Viewport viewPort)
at OpenRA.Game.Run()
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)