scenario_object*_block spawning
Posted: Thu Aug 21, 2014 1:01 pm
Alright so while staring at the layout of these tags after they are converted from h2v I noticed all the values align properly except for a single integer32 value that appears directly after the object_datum_struct field in the parent block. A cursory inspection seems to show that it is a counter or index for the block elements. It goes up by one for each subsequent element.
Just throwing this out that it might be part of the issue as to why the scenario placement chunk-cloning sometimes results in freezes.
The value in question appears here:
Just throwing this out that it might be part of the issue as to why the scenario placement chunk-cloning sometimes results in freezes.
The value in question appears here:
- public ShortBlockIndex1 type;
public ShortBlockIndex1 name;
public PlacementFlags placementFlags;
public Vector3 position;
public Vector3 rotation;
public float scale;
public TransformFlags transformFlags;
public BlockFlags16 manualBSPFlags;
public ScenarioObjectIdStruct objectID;
public BSPPolicy bSPPolicy;
private byte padding;
public ShortBlockIndex1 editorFolder;
public int COUNTER_VALUE