diff --git a/OpenRA.Mods.Cnc/UtilityCommands/ImportTiberianDawnLegacyMapCommand.cs b/OpenRA.Mods.Cnc/UtilityCommands/ImportTiberianDawnLegacyMapCommand.cs index 78159643b4..9c8fc0865e 100644 --- a/OpenRA.Mods.Cnc/UtilityCommands/ImportTiberianDawnLegacyMapCommand.cs +++ b/OpenRA.Mods.Cnc/UtilityCommands/ImportTiberianDawnLegacyMapCommand.cs @@ -115,7 +115,17 @@ namespace OpenRA.Mods.Cnc.UtilityCommands public override string ParseTreeActor(string input) { - return input.Split(',')[0].ToLowerInvariant(); + var tree = input.Split(',')[0].ToLowerInvariant(); + + switch (tree) + { + case "split2": + return "t03.transformable"; + case "split3": + return "t13.transformable"; + default: + return tree; + } } public override CPos ParseActorLocation(string input, int loc) diff --git a/mods/cnc/maps/cnc64gdi01/map.yaml b/mods/cnc/maps/cnc64gdi01/map.yaml index fd68bc5ef8..2dfe48b534 100644 --- a/mods/cnc/maps/cnc64gdi01/map.yaml +++ b/mods/cnc/maps/cnc64gdi01/map.yaml @@ -277,7 +277,7 @@ Actors: Actor76: tc02 Location: 38,27 Owner: Neutral - Actor77: split3 + Actor77: t13.transformable Location: 31,28 Owner: Neutral Actor78: tc01 @@ -316,13 +316,13 @@ Actors: Actor89: t03 Location: 21,9 Owner: Neutral - Actor90: split2 + Actor90: t03.transformable Location: 19,60 Owner: Neutral - Actor91: split3 + Actor91: t13.transformable Location: 22,59 Owner: Neutral - Actor92: split3 + Actor92: t13.transformable Location: 42,57 Owner: Neutral Actor93: tc05 @@ -412,16 +412,16 @@ Actors: Actor121: t12 Location: 4,14 Owner: Neutral - Actor122: split3 + Actor122: t13.transformable Location: 7,29 Owner: Neutral - Actor123: split3 + Actor123: t13.transformable Location: 7,33 Owner: Neutral - Actor124: split3 + Actor124: t13.transformable Location: 3,34 Owner: Neutral - Actor125: split3 + Actor125: t13.transformable Location: 22,42 Owner: Neutral AttackTrigger1: proc diff --git a/mods/cnc/maps/gdi09/map.yaml b/mods/cnc/maps/gdi09/map.yaml index e0af54545c..c716ae2a15 100644 --- a/mods/cnc/maps/gdi09/map.yaml +++ b/mods/cnc/maps/gdi09/map.yaml @@ -340,10 +340,10 @@ Actors: Actor97: tc04 Location: 45,24 Owner: Neutral - Actor98: split2 + Actor98: t03.transformable Location: 55,23 Owner: Neutral - Actor99: split2 + Actor99: t03.transformable Location: 60,28 Owner: Neutral Actor100: tc04 diff --git a/mods/cnc/maps/nod08a/map.yaml b/mods/cnc/maps/nod08a/map.yaml index 881f2fc670..0db22372ad 100644 --- a/mods/cnc/maps/nod08a/map.yaml +++ b/mods/cnc/maps/nod08a/map.yaml @@ -489,10 +489,10 @@ Actors: Actor145: waypoint Location: 49,22 Owner: Neutral - Actor156: split3 + Actor156: t13.transformable Owner: Neutral Location: 40,22 - Actor157: split3 + Actor157: t13.transformable Owner: Neutral Location: 57,42 AirstrikeTarget: waypoint diff --git a/mods/cnc/maps/nod08b/map.yaml b/mods/cnc/maps/nod08b/map.yaml index 50f459ed0d..d16e172810 100644 --- a/mods/cnc/maps/nod08b/map.yaml +++ b/mods/cnc/maps/nod08b/map.yaml @@ -401,10 +401,10 @@ Actors: Actor111: t18 Location: 11,43 Owner: Neutral - Actor112: split3 + Actor112: t13.transformable Location: 5,31 Owner: Neutral - Actor113: split3 + Actor113: t13.transformable Location: 58,47 Owner: Neutral Actor142: mtnk diff --git a/mods/cnc/maps/nod09/map.yaml b/mods/cnc/maps/nod09/map.yaml index e466e5349e..7d8b159f2d 100644 --- a/mods/cnc/maps/nod09/map.yaml +++ b/mods/cnc/maps/nod09/map.yaml @@ -348,10 +348,10 @@ Actors: Actor93: t08 Location: 50,55 Owner: Neutral - Actor94: split3 + Actor94: t13.transformable Location: 56,48 Owner: Neutral - Actor95: split3 + Actor95: t13.transformable Location: 6,24 Owner: Neutral Actor96: t18 @@ -405,10 +405,10 @@ Actors: Actor112: t08 Location: 29,15 Owner: Neutral - Actor113: split3 + Actor113: t13.transformable Location: 47,23 Owner: Neutral - Actor114: split3 + Actor114: t13.transformable Location: 38,20 Owner: Neutral Actor115: rock4