Placement Block.
I see this class I got from a friend*I hear its public*
Here is the section im wondering about.
Code: Select all
public class Placement_Block : Chunk //84 Bytes * 640
{
public enum BlockType : short
{
Player_Spawn = 9,
Reserved = 41,
Added = 131,
Original = 137,
Edited = 139,
NULL = 0,
}
public int Block_Type; //0
#region Unused Data
[Size(8)]
public byte[] Unused_4; //4
#endregion
public int Tags_Index; //12
public float X; //16
public float Y; //20
public float Z; //24
public float Yaw; //28
public float Pitch; //32
public float Roll; //36
public float Unknown_Rot_1; //40
public float Unknown_Rot_2; //44
public float Unknown_Rot_3; //48
#region Unused Data
[Size(8)]
public byte[] Unused_52; //52
#endregion
public byte Unknown_60; //60
public byte Unknown_61; //61
[Options(new string[]
{
"Unknown",
"Place At Start",
"Asymmetrical",
"Symmetrical",
#region Unused Flags
"Unused",
"Unused",
"Unused",
"Unused",
#endregion
})]
public Bitmask8 Flags; //62
public byte Team; //63
public byte Spare_Clips/Teleporter_Channel; //64
public byte Respawn_Time; //65
public short Unknown66; //66
#region Unused Data
[Size(16)]
public byte[] Unused_68; //68
#endregion
}
I hope I am doing this right, I probably aren't, Ive gotten everything so far on these parts right, except the placements.
How can I be reading from a float from 0000 if its always going to be 0000.
I found the placement header. For most of it I'm getting(big endian):
00290000FFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFF000000000000000000000000000000000000000000000000
However, Does that mean that block is null? Or?
Because in other places I get:
00090000FFFFFFFFFFFFFFFFFFFFFFFF41AD458AC1AD4BBE3FCCD33E3F800000000000008000000000000000000000003F800000FFFFFFFFFFFFFFFF00200C00000000024100000000000000408000003F7FF100
So does that mean its just null in those places? Or am I completely off track?
What i'm wondering is these:
- Does the placements start in random positions?
Is there a pattern?
How would the ID to a object be linked to the spawn?
Is the ID in the placement chunk?
Thanks.