Skip to content

Instantly share code, notes, and snippets.

@YarekTyshchenko
Created December 11, 2015 23:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YarekTyshchenko/c016a6e26cc72abdff74 to your computer and use it in GitHub Desktop.
Save YarekTyshchenko/c016a6e26cc72abdff74 to your computer and use it in GitHub Desktop.
Space Engineers Replicator ship
<?xml version="1.0"?>
<Definitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ShipBlueprints>
<ShipBlueprint>
<Id>
<TypeId>MyObjectBuilder_ShipBlueprintDefinition</TypeId>
<SubtypeId>replicator</SubtypeId>
</Id>
<DisplayName>yarekt</DisplayName>
<CubeGrids>
<CubeGrid>
<EntityId>78633812613939588</EntityId>
<PersistentFlags>CastShadows InScene</PersistentFlags>
<PositionAndOrientation>
<Position x="0" y="0" z="0" />
<Forward x="-0.03823645" y="0.0174027048" z="-0.9991172" />
<Up x="-8.185177E-05" y="0.9998483" z="0.01741857" />
<Orientation>
<X>0.008707241</X>
<Y>0.01912064</Y>
<Z>0.00020745967</Z>
<W>0.9997793</W>
</Orientation>
</PositionAndOrientation>
<EntityDefinitionId xsi:nil="true" />
<GridSizeEnum>Large</GridSizeEnum>
<CubeBlocks>
<MyObjectBuilder_CubeBlock xsi:type="MyObjectBuilder_Projector">
<SubtypeName>LargeProjector</SubtypeName>
<EntityId>128029203230313972</EntityId>
<Min x="2" y="0" z="0" />
<ShareMode>All</ShareMode>
<CustomName>Projector 9</CustomName>
<ShowOnHUD>false</ShowOnHUD>
<ShowInTerminal>true</ShowInTerminal>
<ShowInToolbarConfig>true</ShowInToolbarConfig>
<Enabled>true</Enabled>
<ProjectionOffset>
<X>0</X>
<Y>0</Y>
<Z>0</Z>
</ProjectionOffset>
<ProjectionRotation>
<X>0</X>
<Y>0</Y>
<Z>0</Z>
</ProjectionRotation>
<KeepProjection>false</KeepProjection>
<ShowOnlyBuildable>true</ShowOnlyBuildable>
<InstantBuildingEnabled>false</InstantBuildingEnabled>
<MaxNumberOfProjections>5</MaxNumberOfProjections>
<MaxNumberOfBlocks>200</MaxNumberOfBlocks>
<ProjectionsRemaining>0</ProjectionsRemaining>
<GetOwnershipFromProjector>false</GetOwnershipFromProjector>
</MyObjectBuilder_CubeBlock>
<MyObjectBuilder_CubeBlock xsi:type="MyObjectBuilder_TimerBlock">
<SubtypeName>TimerBlockLarge</SubtypeName>
<EntityId>104774421643980462</EntityId>
<Min x="2" y="-1" z="2" />
<ShareMode>All</ShareMode>
<CustomName>Timer Block 2</CustomName>
<ShowOnHUD>false</ShowOnHUD>
<ShowInTerminal>true</ShowInTerminal>
<ShowInToolbarConfig>true</ShowInToolbarConfig>
<Enabled>true</Enabled>
<Toolbar>
<ToolbarType>Character</ToolbarType>
<SelectedSlot xsi:nil="true" />
<Slots>
<Slot>
<Index>2</Index>
<Item />
<Data xsi:type="MyObjectBuilder_ToolbarItemTerminalBlock">
<Action>Run</Action>
<Parameters>
<MyObjectBuilder_ToolbarItemActionParameter>
<TypeCode>String</TypeCode>
<Value />
</MyObjectBuilder_ToolbarItemActionParameter>
</Parameters>
<BlockEntityId>130858513929653526</BlockEntityId>
</Data>
</Slot>
<Slot>
<Index>3</Index>
<Item />
<Data xsi:type="MyObjectBuilder_ToolbarItemTerminalBlock">
<Action>OnOff_On</Action>
<BlockEntityId>96866272666187980</BlockEntityId>
</Data>
</Slot>
<Slot>
<Index>8</Index>
<Item />
<Data xsi:type="MyObjectBuilder_ToolbarItemTerminalBlock">
<Action>Start</Action>
<BlockEntityId>104774421643980462</BlockEntityId>
</Data>
</Slot>
</Slots>
</Toolbar>
<Delay>10000</Delay>
<CurrentTime>8008</CurrentTime>
</MyObjectBuilder_CubeBlock>
<MyObjectBuilder_CubeBlock xsi:type="MyObjectBuilder_MergeBlock">
<SubtypeName>LargeShipMergeBlock</SubtypeName>
<EntityId>143226676608569843</EntityId>
<Min x="3" y="-1" z="0" />
<BlockOrientation Forward="Backward" Up="Down" />
<ShareMode>All</ShareMode>
<CustomName>Merge Block 11</CustomName>
<ShowOnHUD>false</ShowOnHUD>
<ShowInTerminal>true</ShowInTerminal>
<ShowInToolbarConfig>true</ShowInToolbarConfig>
<Enabled>true</Enabled>
</MyObjectBuilder_CubeBlock>
<MyObjectBuilder_CubeBlock xsi:type="MyObjectBuilder_ShipWelder">
<SubtypeName>LargeShipWelder</SubtypeName>
<EntityId>96866272666187980</EntityId>
<Min x="2" y="-1" z="1" />
<BlockOrientation Forward="Right" Up="Forward" />
<ShareMode>All</ShareMode>
<DeformationRatio>0.5</DeformationRatio>
<ComponentContainer>
<Components>
<ComponentData>
<TypeId>MyInventoryBase</TypeId>
<Component xsi:type="MyObjectBuilder_Inventory">
<Items />
<nextItemId>0</nextItemId>
<Volume>15.625</Volume>
<Mass>9223372036854.775807</Mass>
<Size xsi:nil="true" />
<InventoryFlags>CanSend</InventoryFlags>
<RemoveEntityOnEmpty>false</RemoveEntityOnEmpty>
</Component>
</ComponentData>
</Components>
</ComponentContainer>
<CustomName>Welder 4</CustomName>
<ShowOnHUD>false</ShowOnHUD>
<ShowInTerminal>true</ShowInTerminal>
<ShowInToolbarConfig>true</ShowInToolbarConfig>
<Enabled>true</Enabled>
<Inventory>
<Items />
<nextItemId>0</nextItemId>
<Volume>15.625</Volume>
<Mass>9223372036854.775807</Mass>
<Size xsi:nil="true" />
<InventoryFlags>CanSend</InventoryFlags>
<RemoveEntityOnEmpty>false</RemoveEntityOnEmpty>
</Inventory>
<HelpOthers>true</HelpOthers>
</MyObjectBuilder_CubeBlock>
<MyObjectBuilder_CubeBlock xsi:type="MyObjectBuilder_MyProgrammableBlock">
<SubtypeName>LargeProgrammableBlock</SubtypeName>
<EntityId>130858513929653526</EntityId>
<Min x="2" y="0" z="2" />
<ShareMode>All</ShareMode>
<CustomName>Programmable block 2</CustomName>
<ShowOnHUD>false</ShowOnHUD>
<ShowInTerminal>true</ShowInTerminal>
<ShowInToolbarConfig>true</ShowInToolbarConfig>
<Enabled>true</Enabled>
<Program>void Main(string argument)
{
List&lt;IMyTerminalBlock&gt; ps = new List&lt;IMyTerminalBlock&gt;();
GridTerminalSystem.GetBlocksOfType&lt;IMyProjector&gt;(ps);
Echo(ps.Count.ToString());
for(int i = 0; i &lt; ps.Count; i++)
{
IMyTerminalBlock p = ps[i];
Echo(p.ToString());
IMyProjector pr = (IMyProjector)p;
pr.LoadRandomBlueprint("bp.sbc");
p.SetCustomName("Used Projector");
}
}</Program>
<Storage />
</MyObjectBuilder_CubeBlock>
<MyObjectBuilder_CubeBlock xsi:type="MyObjectBuilder_MergeBlock">
<SubtypeName>LargeShipMergeBlock</SubtypeName>
<EntityId>123503231321839206</EntityId>
<Min x="2" y="-1" z="0" />
<BlockOrientation Forward="Backward" Up="Up" />
<ShareMode>All</ShareMode>
<CustomName>Merge Block 10</CustomName>
<ShowOnHUD>false</ShowOnHUD>
<ShowInTerminal>true</ShowInTerminal>
<ShowInToolbarConfig>true</ShowInToolbarConfig>
<Enabled>true</Enabled>
</MyObjectBuilder_CubeBlock>
<MyObjectBuilder_CubeBlock xsi:type="MyObjectBuilder_Reactor">
<SubtypeName>LargeBlockSmallGenerator</SubtypeName>
<EntityId>80239889980690125</EntityId>
<Min x="2" y="0" z="1" />
<ShareMode>All</ShareMode>
<ComponentContainer>
<Components>
<ComponentData>
<TypeId>MyInventoryBase</TypeId>
<Component xsi:type="MyObjectBuilder_Inventory">
<Items />
<nextItemId>0</nextItemId>
<Volume>1</Volume>
<Mass>9223372036854.775807</Mass>
<Size xsi:nil="true" />
<InventoryFlags>CanReceive</InventoryFlags>
<RemoveEntityOnEmpty>false</RemoveEntityOnEmpty>
</Component>
</ComponentData>
</Components>
</ComponentContainer>
<CustomName>Small Reactor 6</CustomName>
<ShowOnHUD>false</ShowOnHUD>
<ShowInTerminal>true</ShowInTerminal>
<ShowInToolbarConfig>true</ShowInToolbarConfig>
<Enabled>true</Enabled>
<Inventory>
<Items />
<nextItemId>0</nextItemId>
<Volume>1</Volume>
<Mass>9223372036854.775807</Mass>
<Size xsi:nil="true" />
<InventoryFlags>CanReceive</InventoryFlags>
<RemoveEntityOnEmpty>false</RemoveEntityOnEmpty>
</Inventory>
</MyObjectBuilder_CubeBlock>
</CubeBlocks>
<DisplayName>replicator</DisplayName>
<DestructibleBlocks>true</DestructibleBlocks>
<CreatePhysics>false</CreatePhysics>
<EnableSmallToLargeConnections>false</EnableSmallToLargeConnections>
<IsRespawnGrid>false</IsRespawnGrid>
<LocalCoordSys>24</LocalCoordSys>
</CubeGrid>
</CubeGrids>
<WorkshopId>0</WorkshopId>
<OwnerSteamId>76561198025891964</OwnerSteamId>
<Points>0</Points>
</ShipBlueprint>
</ShipBlueprints>
</Definitions>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment