start of shellmap (dropped its actors :(); fix saving of actors from the editor
This commit is contained in:
@@ -45,7 +45,7 @@ namespace OpenRA.FileFormats
|
|||||||
foreach( var init in InitDict )
|
foreach( var init in InitDict )
|
||||||
{
|
{
|
||||||
var initName = init.GetType().Name;
|
var initName = init.GetType().Name;
|
||||||
ret.NodesDict.Add( initName.Substring( 0, initName.Length - 4 ), FieldSaver.Save( init ) );
|
ret.Nodes.Add( new MiniYamlNode( initName.Substring( 0, initName.Length - 4 ), FieldSaver.Save( init ) ) );
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
mods/cnc/maps/shellmap/map.bin
Normal file
BIN
mods/cnc/maps/shellmap/map.bin
Normal file
Binary file not shown.
1
mods/cnc/maps/shellmap/map.uid
Normal file
1
mods/cnc/maps/shellmap/map.uid
Normal file
@@ -0,0 +1 @@
|
|||||||
|
8f204fea98ed407cdbb7be8fd631368cd7571d20
|
||||||
46
mods/cnc/maps/shellmap/map.yaml
Normal file
46
mods/cnc/maps/shellmap/map.yaml
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
Selectable: False
|
||||||
|
|
||||||
|
MapFormat: 3
|
||||||
|
|
||||||
|
Title: shellmap
|
||||||
|
|
||||||
|
Description: CNC Shellmap
|
||||||
|
|
||||||
|
Author: Chris Forbes
|
||||||
|
|
||||||
|
PlayerCount: 0
|
||||||
|
|
||||||
|
Tileset: WINTER
|
||||||
|
|
||||||
|
MapSize: 96,48
|
||||||
|
|
||||||
|
TopLeft: 8,1
|
||||||
|
|
||||||
|
BottomRight: 88,46
|
||||||
|
|
||||||
|
Players:
|
||||||
|
PlayerReference@Neutral:
|
||||||
|
Name: Neutral
|
||||||
|
Palette:
|
||||||
|
Race: gdi
|
||||||
|
OwnsWorld: True
|
||||||
|
NonCombatant: True
|
||||||
|
Playable: False
|
||||||
|
DefaultStartingUnits: False
|
||||||
|
Color: 255,238,238,238
|
||||||
|
Color2: 255,44,28,24
|
||||||
|
InitialCash: 0
|
||||||
|
Allies:
|
||||||
|
Enemies:
|
||||||
|
|
||||||
|
Actors:
|
||||||
|
Actor0: tc04
|
||||||
|
Location: 10,2
|
||||||
|
Owner: Neutral
|
||||||
|
|
||||||
|
Waypoints:
|
||||||
|
|
||||||
|
Smudges:
|
||||||
|
|
||||||
|
Rules:
|
||||||
|
|
||||||
Reference in New Issue
Block a user