Game Development Community

[Beta 4 Bug] Datablock Editor Doesn't Handle Lines with Formulas Properly

by Jason Parker · in Torque 3D Professional · 07/26/2009 (11:40 pm) · 2 replies

Open the boombot datablock in a text editor and note the formulas for jump and jet.
Open the datablock editor.
Open the boombot datablock in this editor.
Note the values, they appear to be the result of the formulas.
Now, save the boombot datablock.
Open it in a text editor and note the same lines. The * x remains the same, but the number before that is now the number that was the result of the original formula! Do this enough times, and you end up with a boombot that could jump to the moon!

8.3 * 10 becomes 83 * 10 for example.
Worse: 12.3 * 90 becomes 1107 * 90.
Now imagine repeating the steps... O_O