Posted: Thu May 17, 2012 5:22 pm
Nothing happen because i'm lazy
OpenRA is a GPLv3 real time strategy game engine which recreates the look and feel of the original C&C games.
https://forum.openra.net/
I just forgot to reference the Cnc.dll but it still looks strange as the cargo is not lifted.Cmd. Matt wrote: Carryall is basically working, however the frames also need to be reordered to be compatible with the OpenRA helicopter code. It can pickup a vehicle which currently vanishes inside. "RenderCargo:" does not work as it asks for RenderCargoInfo (which I don't understand as the hovercraft in CnC does goes without parameter).
The engine only supports one tile size per mod. Are you taking this into account?
Not planned yet, but certainly possible. They would have to use the structures of the other 3 factions and most of their units.
There is already TileSize: 32 in Arrakis.yaml and no definition of 24 inside the mods/ra folder. Does it still interfere?Sleipnir wrote:The engine only supports one tile size per mod. Are you taking this into account?
Assuming that you are using the Arrakis tileset that I exported with 32x32px tiles, you will need to add TileSize:32 to your mod.yaml, and then remove all the ra/cnc maps and tilesets (which use 24x24 tiles).
The plan is now to have concrete tiles for the proper Dune feeling even though they are annoying. People use them only for powerplants anyway when you search YouTube for Dune 2000 Multiplayer.
If I set TileSize: 32 in mod.yaml the game crashes at startup with
Code: Select all
Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
at OpenRA.Graphics.Util.FastCopyIntoChannel (OpenRA.Graphics.Sprite dest, System.Byte[] src) [0x0008f] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Graphics/Util.cs:49
at OpenRA.Graphics.SheetBuilder.Add (System.Byte[] src, Size size) [0x00008] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Graphics/SheetBuilder.cs:28
at OpenRA.Mods.RA.Bridge.<Create>m__1F (TileReference`2 x) [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/Bridge.cs:98
at OpenRA.FileFormats.Cache`2[OpenRA.FileFormats.TileReference`2[System.UInt16,System.Byte],OpenRA.Graphics.Sprite].get_Item (TileReference`2 key) [0x00013] in /home/matthias/Projekte/OpenRA/OpenRA.FileFormats/Primitives/Cache.cs:40
at OpenRA.Mods.RA.Bridge+<Create>c__AnonStorey5F.<>m__21 (KeyValuePair`2 a) [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/Bridge.cs:108
at System.Linq.Enumerable.ToDictionary[KeyValuePair`2,int2,Sprite] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector, IEqualityComparer`1 comparer) [0x0002f] in /home/abuild/rpmbuild/BUILD/mono-2.10.6/mcs/class/System.Core/System.Linq/Enumerable.cs:2823
at System.Linq.Enumerable.ToDictionary[KeyValuePair`2,int2,Sprite] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector) [0x00000] in /home/abuild/rpmbuild/BUILD/mono-2.10.6/mcs/class/System.Core/System.Linq/Enumerable.cs:2810
at OpenRA.Mods.RA.Bridge.Create (UInt16 template, System.Collections.Generic.Dictionary`2 subtiles) [0x000be] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/Bridge.cs:106
at OpenRA.Mods.RA.BridgeLayer.ConvertBridgeToActor (OpenRA.World w, Int32 i, Int32 j) [0x001cd] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/BridgeLayer.cs:103
at OpenRA.Mods.RA.BridgeLayer.WorldLoaded (OpenRA.World w) [0x00120] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/BridgeLayer.cs:55
at OpenRA.World..ctor (OpenRA.FileFormats.Manifest manifest, OpenRA.Map map, OpenRA.Network.OrderManager orderManager) [0x00233] in /home/matthias/Projekte/OpenRA/OpenRA.Game/World.cs:113
at OpenRA.Game.StartGame (System.String mapUID, Boolean isShellmap) [0x00035] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Game.cs:209
at OpenRA.Game.LoadShellMap () [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Game.cs:309
at OpenRA.Mods.D2k.D2kLoadScreen.TestAndContinue () [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.D2k/D2kLoadScreen.cs:75
at OpenRA.Mods.D2k.D2kLoadScreen.StartGame () [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.D2k/D2kLoadScreen.cs:69
at OpenRA.Game.InitializeWithMods (System.String[] mods) [0x001c2] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Game.cs:304
at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x0013f] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Game.cs:263
at OpenRA.Program.Run (System.String[] args) [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Support/Program.cs:47
at OpenRA.Program.Main (System.String[] args) [0x0002b] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Support/Program.cs:35
[ERROR] FATAL UNHANDLED EXCEPTION: System.IndexOutOfRangeException: Array index is out of range.
at OpenRA.Graphics.Util.FastCopyIntoChannel (OpenRA.Graphics.Sprite dest, System.Byte[] src) [0x0008f] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Graphics/Util.cs:49
at OpenRA.Graphics.SheetBuilder.Add (System.Byte[] src, Size size) [0x00008] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Graphics/SheetBuilder.cs:28
at OpenRA.Mods.RA.Bridge.<Create>m__1F (TileReference`2 x) [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/Bridge.cs:98
at OpenRA.FileFormats.Cache`2[OpenRA.FileFormats.TileReference`2[System.UInt16,System.Byte],OpenRA.Graphics.Sprite].get_Item (TileReference`2 key) [0x00013] in /home/matthias/Projekte/OpenRA/OpenRA.FileFormats/Primitives/Cache.cs:40
at OpenRA.Mods.RA.Bridge+<Create>c__AnonStorey5F.<>m__21 (KeyValuePair`2 a) [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/Bridge.cs:108
at System.Linq.Enumerable.ToDictionary[KeyValuePair`2,int2,Sprite] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector, IEqualityComparer`1 comparer) [0x0002f] in /home/abuild/rpmbuild/BUILD/mono-2.10.6/mcs/class/System.Core/System.Linq/Enumerable.cs:2823
at System.Linq.Enumerable.ToDictionary[KeyValuePair`2,int2,Sprite] (IEnumerable`1 source, System.Func`2 keySelector, System.Func`2 elementSelector) [0x00000] in /home/abuild/rpmbuild/BUILD/mono-2.10.6/mcs/class/System.Core/System.Linq/Enumerable.cs:2810
at OpenRA.Mods.RA.Bridge.Create (UInt16 template, System.Collections.Generic.Dictionary`2 subtiles) [0x000be] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/Bridge.cs:106
at OpenRA.Mods.RA.BridgeLayer.ConvertBridgeToActor (OpenRA.World w, Int32 i, Int32 j) [0x001cd] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/BridgeLayer.cs:103
at OpenRA.Mods.RA.BridgeLayer.WorldLoaded (OpenRA.World w) [0x00120] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.RA/BridgeLayer.cs:55
at OpenRA.World..ctor (OpenRA.FileFormats.Manifest manifest, OpenRA.Map map, OpenRA.Network.OrderManager orderManager) [0x00233] in /home/matthias/Projekte/OpenRA/OpenRA.Game/World.cs:113
at OpenRA.Game.StartGame (System.String mapUID, Boolean isShellmap) [0x00035] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Game.cs:209
at OpenRA.Game.LoadShellMap () [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Game.cs:309
at OpenRA.Mods.D2k.D2kLoadScreen.TestAndContinue () [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.D2k/D2kLoadScreen.cs:75
at OpenRA.Mods.D2k.D2kLoadScreen.StartGame () [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Mods.D2k/D2kLoadScreen.cs:69
at OpenRA.Game.InitializeWithMods (System.String[] mods) [0x001c2] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Game.cs:304
at OpenRA.Game.Initialize (OpenRA.Arguments args) [0x0013f] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Game.cs:263
at OpenRA.Program.Run (System.String[] args) [0x00000] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Support/Program.cs:47
at OpenRA.Program.Main (System.String[] args) [0x0002b] in /home/matthias/Projekte/OpenRA/OpenRA.Game/Support/Program.cs:352998 is a fremen sietchThe only idea for a gameplay addition I had so far is to get the Ordos a hole that spawns infrantry for sneaky attacks
It's trying to load a bridge in the shellmap, and then crashes because the bridge tiles aren't 32px. Presumably ShowShellmap doesn't prevent map loading, but only ticking/rendering. Try using the test map in the original d2k mod (you will need to update the map.yaml by hand to format 5 or above) or create a new map using the arrakis tileset in the editor to use as your shellmap.Cmd. Matt wrote:ShowShellmap: False is set in settings.yaml (don't know if that's enough).Code: Select all
Unhandled Exception: [snip]