Add files via upload
This commit is contained in:
14
LWGlass/README.md
Normal file
14
LWGlass/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
Name: LW+
|
||||
Author: Astronand
|
||||
Version: 0.0.1 alpha
|
||||
|
||||
___________________________________
|
||||
|
||||
This is a core mod
|
||||
|
||||
Addons:
|
||||
|
||||
Deco:
|
||||
Microprocessors:
|
||||
Vanilla expansion:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Glass:
|
||||
Glass:
|
||||
column: "Miscellaneous"
|
||||
category: "Structural"
|
||||
prefab:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
ID: LWGlass
|
||||
Name: LWGlass
|
||||
Author: Astronand
|
||||
Version: 1.0.0
|
||||
Version: 0.0.1
|
||||
Priority: 0
|
||||
Dependencies:
|
||||
- AssemblyLoader
|
||||
@@ -69,7 +69,7 @@ namespace LWGlass.Client
|
||||
protected override ChildPlacementInfo GenerateChildPlacementInfo()
|
||||
{
|
||||
ChildPlacementInfo childPlacementInfo = new ChildPlacementInfo();
|
||||
childPlacementInfo.Points = new FixedPlacingPoint[SizeZ * SizeX];
|
||||
childPlacementInfo.Points = new FixedPlacingPoint[SizeZ * SizeX * 2];
|
||||
|
||||
int i = 0;
|
||||
for (int iX = 0; iX < SizeX; iX++)
|
||||
@@ -78,11 +78,42 @@ namespace LWGlass.Client
|
||||
{
|
||||
childPlacementInfo.Points[i++] = new FixedPlacingPoint()
|
||||
{
|
||||
Position = new Vector3(iX, .5f, iZ)
|
||||
Position = new Vector3(iX, .5f, iZ),
|
||||
UpDirection = new Vector3(0, 1, 0)
|
||||
};
|
||||
childPlacementInfo.Points[i++] = new FixedPlacingPoint()
|
||||
{
|
||||
Position = new Vector3(iX, 0, iZ),
|
||||
UpDirection = new Vector3(0, -1, 0)
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
//for (int SX1 = 0; SX1 < SizeX; SX1++)
|
||||
//{
|
||||
// childPlacementInfo.Points[i++] = new FixedPlacingPoint()
|
||||
// {
|
||||
// Position = new Vector3(SX1, 0, -.3f ),
|
||||
// UpDirection = new Vector3(0, 0, -1)
|
||||
// };
|
||||
// childPlacementInfo.Points[i++] = new FixedPlacingPoint()
|
||||
// {
|
||||
// Position = new Vector3(SX1, 0, SizeZ+.3f ),
|
||||
// UpDirection = new Vector3(0, 0, 1)
|
||||
// };
|
||||
//}
|
||||
//for (int SX1 = 0; SX1 < SizeZ; SX1++)
|
||||
//{
|
||||
// childPlacementInfo.Points[i++] = new FixedPlacingPoint()
|
||||
// {
|
||||
// Position = new Vector3(-.3f, 0, SX1 ),
|
||||
// UpDirection = new Vector3(-1, 0, 0)
|
||||
// };
|
||||
// childPlacementInfo.Points[i++] = new FixedPlacingPoint()
|
||||
// {
|
||||
// Position = new Vector3(SizeX+.3f, 0, SX1 ),
|
||||
// UpDirection = new Vector3(1, 0, 0)
|
||||
// };
|
||||
//}
|
||||
return childPlacementInfo;
|
||||
}
|
||||
protected override IDecoration[] GenerateDecorations(Transform parentToCreateDecorationsUnder)
|
||||
|
||||
Reference in New Issue
Block a user