Initial version (4) should be complete. Verification needed.
imported>76561198054818918 (Completed up to DysonSphere) |
imported>76561198054818918 (Initial version (4) should be complete. Verification needed.) |
||
Line 1,276: | Line 1,276: | ||
int32 = 1212: File will be rejected if the value is not 1212 | int32 = 1212: File will be rejected if the value is not 1212 | ||
int32 layerCount | int32 layerCount | ||
int32 numDysonSphereLayer | |||
[numDysonSphereLayer] { | |||
int32 dysonSphereLayerIndex | |||
DysonSphereLayer (dysonSphereLayerIndex != 0) | |||
} | |||
int32 rocketCapacity | |||
int32 rocketCursor | |||
int32 rocketRecycleCursor | |||
DysonRocket rocketPool[rocketCursor - 1] | |||
int32 rocketRecycle[rocketRecycleCursor] | |||
int32 autoNodeCount | |||
int32 numAutoNodes | |||
[numAutoNodes] { | |||
int32 autoNodeIncludedFlag | |||
int32 layerId (autoNodeIncludedFlag > 0) | |||
int32 nodeId (autoNodeIncludedFlag > 0) | |||
} | |||
} | |||
(version >= 2) { | |||
int32 nrdCapacity | |||
int32 nrdCursor | |||
int32 nrdRecycleCursor | |||
DysonNodeRData nrdPool[nrdCursor] | |||
int32 nrdRecycle[nrdRecycleCursor] | |||
} | } | ||
} | } | ||
Line 1,281: | Line 1,305: | ||
DysonSwarm | DysonSwarm | ||
{ | { | ||
int32 version = 4 | |||
(version >= 1) { | |||
int32 randSeed | |||
int32 sailCapacity | |||
int32 sailCursor | |||
int32 sailRecycleCursor | |||
sailPoolForSave[sailCursor] { | |||
float st | |||
float px | |||
float py | |||
float pz | |||
float vx | |||
float vy | |||
float vz | |||
float gs | |||
} | |||
sailInfos[sailCursor] { | |||
uint32 orbit | |||
uint32 orbit (version >= 3) | |||
uint32 kill (version >= 3) | |||
float posr_x (version >= 4) | |||
float posr_y (version >= 4) | |||
float posr_z (version >= 4) | |||
} | |||
int32 sailRecycle[sailRecycleCursor] | |||
int32 orbitCapacity | |||
int32 orbitCursor | |||
SailOrbit orbits[orbitCursor] | |||
int32 numExpiryOrder: Must match sailCapacity or the game will crash. | |||
int32 expiryCursor | |||
int32 expiryEnding | |||
[numExpiryOrder] { | |||
int64 time | |||
int32 index | |||
} | |||
(version >= 2) { | |||
int32 numAbsorbOrder: Must match sailCapacity or the game will crash. | |||
int32 absorbCursor | |||
int32 absorbEnding | |||
[numAbsorbOrder] { | |||
int64 time | |||
int32 index | |||
int32 layer | |||
int32 node | |||
} | |||
} | |||
int32 bulletCapacity | |||
int32 bulletCursor | |||
int32 bulletRecycleCursor | |||
SailBullet bulletPool[bulletCursor - 1] | |||
int32 bulletRecycle[bulletRecycleCursor] | |||
} | |||
} | |||
SailOrbit | |||
{ | |||
int32 version = 0 | |||
int32 id | |||
float radius | |||
float rotation_x | |||
float rotation_y | |||
float rotation_z | |||
float rotation_w | |||
float up_x | |||
float up_y | |||
float up_z | |||
int32 count | |||
uint8 bool enabled | |||
} | |||
SailBullet | |||
{ | |||
int32 version = 0 | |||
int32 id | |||
float t | |||
float maxt | |||
int32 state | |||
float rBegin_x | |||
float rBegin_y | |||
float rBegin_z | |||
float rEnd_x | |||
float rEnd_y | |||
float rEnd_z | |||
float lBegin_x | |||
float lBegin_y | |||
float lBegin_z | |||
float uEndVel_x | |||
float uEndVel_y | |||
float uEndVel_z | |||
double uBegin_x | |||
double uBegin_y | |||
double uBegin_z | |||
double uEnd_x | |||
double uEnd_y | |||
double uEnd_z | |||
} | |||
DysonSphereLayer | |||
{ | |||
int32 version = 0 | |||
int32 id | |||
float orbitRadius | |||
float orbitRotation_x | |||
float orbitRotation_y | |||
float orbitRotation_z | |||
float orbitRotation_w | |||
float orbitAngularSpeed | |||
float currentAngle | |||
float currentRotation_x | |||
float currentRotation_y | |||
float currentRotation_z | |||
float currentRotation_w | |||
float nextRotation_x | |||
float nextRotation_y | |||
float nextRotation_z | |||
float nextRotation_w | |||
int32 gridMode | |||
int32 nodeCapacity | |||
int32 nodeCursor | |||
int32 nodeRecycleCursor | |||
[nodeCursor - 1] { | |||
int32 dysonNodeIndex | |||
DysonNode (dysonNodeIndex != 0) | |||
} | |||
int32 nodeRecycle[nodeRecycleCursor] | |||
int32 frameCapacity | |||
int32 frameCursor | |||
int32 frameRecycleCursor | |||
[frameCursor - 1] { | |||
int32 dysonFrameIndex | |||
DysonFrame (dysonFrameIndex != 0) | |||
} | |||
int32 frameRecycle[frameRecycleCursor] | |||
int32 shellCapacity | |||
int32 shellCursor | |||
int32 shellRecycleCursor | |||
[shellCursor - 1] { | |||
int32 dysonShellIndex | |||
DysonShell (dysonShellIndex != 0) | |||
} | |||
int32 shellRecycle[shellRecycleCursor] | |||
} | |||
DysonRocket | |||
{ | |||
int32 version = 0 | |||
int32 id | |||
int32 nodeLayerId | |||
int32 nodeId | |||
int32 planetId | |||
float t | |||
float uSpeed | |||
float uPos_x | |||
float uPos_y | |||
float uPos_z | |||
float uRot_x | |||
float uRot_y | |||
float uRot_z | |||
float uRot_w | |||
float uVel_x | |||
float uVel_y | |||
float uVel_z | |||
float launch_x | |||
float launch_y | |||
float launch_z | |||
} | |||
DysonNodeRData | |||
{ | |||
int32 version = 0 | |||
int32 id | |||
int32 layerId | |||
float pos_x | |||
float pos_y | |||
float pos_z | |||
float angularVel | |||
float layerRot_x | |||
float layerRot_y | |||
float layerRot_z | |||
float layerRot_w | |||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> |