Game Development Community

T3D 1.2 - Forest brushes corrupted after unrelated crashes

by Nils Eikelenboom · in Torque 3D Professional · 03/18/2013 (2:03 am) · 0 replies

Version: T3D 1.2
OS: Windows 7 - 64bit

During a T3D crash, while working in the editor, the brushes.cs file (Forest editor) gets corrupted; the values of ForestItemData are getting filled with rubbish or being deleted. For example:

new ForestBrushElement() {
         internalName = "Oak";
         canSave = "1";
         canSaveDynamicFields = "1";
         ForestItemData = "pqc4p{x18Ie%%x15x15VV`5YebtIt4x18%c1c1-c5UiB8Zc1U";
         probability = "1";
         rotationRange = "360";
         scaleMin = "1";
         scaleMax = "1.2";
         scaleExponent = "1";
         sinkMin = "0";
         sinkMax = "0";
         sinkRadius = "1";
         slopeMin = "0";
         slopeMax = "30";
         elevationMin = "-10000";
         elevationMax = "10000";
      };

*(corrupted code is converted to dos/CR-LF because of problems displaying it)

A crash does not have to be related to the Forest Editor, so for example it also happens when working in the Datablock Editor.