Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" ?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CubeBlocks>
<Definition>
<Id>
<TypeId>TerminalBlock</TypeId>
<SubtypeId>ActiveRadiator</SubtypeId>
</Id>
<DisplayName>
Rotary Active Radiator
</DisplayName>
<Description>
Provides massive heat dissipation at the cost of a high surface area.
</Description>
<Icon>Textures\GUI\Icons\AstronautBackpack.dds</Icon>
<CubeSize>Large</CubeSize>
<BlockTopology>TriangleMesh</BlockTopology>
<Size x="5" y="1" z="5"/>
<ModelOffset x="0" y="0" z="0"/>
<Model>Models\ActiveRadiator.mwm</Model>
<Components>
<Component Subtype="SteelPlate" Count="10"/>
</Components>
<CriticalComponent Subtype="SteelPlate" Index="0"/>
<BlockPairName>ActiveRadiator</BlockPairName>
</Definition>
</CubeBlocks>
</Definitions>
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</MountPoints>
<BlockPairName>Caster_FocusLens</BlockPairName>
<ResourceSinkGroup>Thrust</ResourceSinkGroup>
<ForceMagnitude>100</ForceMagnitude>
<ForceMagnitude>34560000</ForceMagnitude>
<MaxPowerConsumption>0.200</MaxPowerConsumption>
<MinPowerConsumption>0.000002</MinPowerConsumption>
<FlameDamageLengthScale>1</FlameDamageLengthScale>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" ?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CubeBlocks>
<Definition>
<Id>
<TypeId>TerminalBlock</TypeId>
<SubtypeId>ExtendableRadiatorBase</SubtypeId>
</Id>
<DisplayName>Retractable Radiator Base</DisplayName>
<Description>
Allows attached radiator panels to be retracted and extended.
</Description>
<Icon>Textures\GUI\Icons\Cubes\ExtendableRadiatorBase.dds</Icon>
<CubeSize>Large</CubeSize>
<BlockTopology>TriangleMesh</BlockTopology>
<Size x="1" y="1" z="1"/>
<ModelOffset x="0" y="0" z="0"/>
<Model>Models\ExtendableRadiatorBase.mwm</Model>
<Components>
<Component Subtype="SteelPlate" Count="10" />
<Component Subtype="Construction" Count="10" />
<Component Subtype="LargeTube" Count="4" />
<Component Subtype="Motor" Count="4" />
<Component Subtype="Computer" Count="2" />
<Component Subtype="SteelPlate" Count="5" />
</Components>
<CriticalComponent Subtype="Computer" Index="0" />
<BlockPairName>ExtendableRadiatorBase</BlockPairName>
</Definition>
</CubeBlocks>
</Definitions>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<ModelOffset x="0" y="0" z="0"/>
<Model>Models\Heat_FlatRadiator.mwm</Model>
<Components>
<Component Subtype="SteelPlate" Count="10"/>
<Component Subtype="SteelPlate" Count="50"/>
</Components>
<CriticalComponent Subtype="SteelPlate" Index="0"/>
<MountPoints>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" ?>
<Definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<CubeBlocks>
<Definition>
<Id>
<TypeId>CubeBlock</TypeId>
<SubtypeId>RadiatorPanel</SubtypeId>
</Id>
<DisplayName>Retractable Radiator Panel</DisplayName>
<Description>
A simple radiator panel. Can be retracted when attached to a base, but still functions as a radiator when standalone.
</Description>
<Icon>Textures\GUI\Icons\Cubes\RadiatorPanel.dds</Icon>
<CubeSize>Large</CubeSize>
<BlockTopology>TriangleMesh</BlockTopology>
<Size x="1" y="1" z="1"/>
<ModelOffset x="0" y="0" z="0"/>
<Model>Models\RadiatorPanel.mwm</Model>
<Components>
<Component Subtype="SteelPlate" Count="25"/>
</Components>
<CriticalComponent Subtype="SteelPlate" Index="0"/>
<BlockPairName>RadiatorPanel</BlockPairName>
<MountPoints>
<MountPoint Side="Top" StartX="0.25" StartY="0.05" EndX="0.35" EndY="0.15"/>
<MountPoint Side="Top" StartX="0.25" StartY="0.85" EndX="0.35" EndY="0.95"/>
<MountPoint Side="Bottom" StartX="0.65" StartY="0.85" EndX="0.75" EndY="0.95"/>
<MountPoint Side="Bottom" StartX="0.65" StartY="0.05" EndX="0.75" EndY="0.15"/>
</MountPoints>
<MirroringX>Y</MirroringX>
<MirroringY>X</MirroringY>
</Definition>
</CubeBlocks>
</Definitions>
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
using VRage.Utils;
using VRageMath;

namespace StarCore.FusionSystems.
Communication
namespace Epstein_Fusion_DS.Communication
{
/// <summary>
/// Class used to communicate with the Modular Assemblies Framework mod. <br /><br />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using StarCore.FusionSystems.Communication;
using static StarCore.FusionSystems.Communication.DefinitionDefs;
using Epstein_Fusion_DS.Communication;
using static Epstein_Fusion_DS.Communication.DefinitionDefs;

// ReSharper disable once CheckNamespace
namespace StarCore.FusionSystems
namespace Epstein_Fusion_DS
{
internal partial class ModularDefinition
{
Expand All @@ -20,7 +20,7 @@ internal void LoadDefinitions(params ModularPhysicalDefinition[] defs)
/// <param name="baseDefs"></param>
internal static ModularDefinitionContainer GetBaseDefinitions()
{
return new StarCore.FusionSystems.ModularDefinition().Container;
return new Epstein_Fusion_DS.ModularDefinition().Container;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using VRage.Game.Components;
using VRage.Utils;
using static StarCore.FusionSystems.Communication.DefinitionDefs;
using static Epstein_Fusion_DS.Communication.DefinitionDefs;

namespace StarCore.FusionSystems.
Communication
namespace Epstein_Fusion_DS.Communication
{
[MySessionComponentDescriptor(MyUpdateOrder.Simulation, int.MinValue)]
internal class ModularDefinitionSender : MySessionComponentBase
Expand All @@ -16,20 +15,20 @@ public override void LoadData()
$"{ModContext.ModName}.ModularDefinition: Init new ModularAssembliesDefinition");

// Init
StoredDef = ModularDefinition.GetBaseDefinitions();
StoredDef = Epstein_Fusion_DS.ModularDefinition.GetBaseDefinitions();

// Send definitions over as soon as the API loads, and create the API before anything else can init.
ModularDefinition.ModularApi.Init(ModContext, SendDefinitions);
Epstein_Fusion_DS.ModularDefinition.ModularApi.Init(ModContext, SendDefinitions);
}

protected override void UnloadData()
{
ModularDefinition.ModularApi.UnloadData();
Epstein_Fusion_DS.ModularDefinition.ModularApi.UnloadData();
}

private void SendDefinitions()
{
ModularDefinition.ModularApi.RegisterDefinitions(StoredDef);
Epstein_Fusion_DS.ModularDefinition.ModularApi.RegisterDefinitions(StoredDef);
}
}
}
Loading
Loading